Skip to content

Instantly share code, notes, and snippets.

@nunomorgadinho
Created March 6, 2019 09:50
Show Gist options
  • Save nunomorgadinho/a7e04d84983f2cb3223c0a2de8399ccb to your computer and use it in GitHub Desktop.
Save nunomorgadinho/a7e04d84983f2cb3223c0a2de8399ccb to your computer and use it in GitHub Desktop.
/*
Welcome to Custom CSS!
CSS (Cascading Style Sheets) is a kind of code that tells the browser how
to render a web page. You may delete these comments and get started with
your customizations.
By default, your stylesheet will be loaded after the theme stylesheets,
which means that your rules can take precedence and override the theme CSS
rules. Just write here what you want to change, you don't need to copy all
your theme's stylesheet content.
*/
body {
min-width: 320px;
position: relative;
}
a,
button {
outline: none !important;
}
a,
a:visited,
.entry-title a:hover,
.entry-title a:visited,
.entry-meta a,
.entry-content .more-link,
.nav-links a {
color: #479BB5;
}
.entry-content a {
color: #479BB5 !important;
}
a:hover,
.entry-meta a:hover,
.entry-content .more-link:hover,
.nav-links a:hover {
color: black;
}
#page {
background: #aee4ff url(https://2015.lisboa.wordcamp.org/files/2015/03/bg-pattern.png) repeat-x;
max-width: none;
padding-top: 1px;
}
.site-header {
position: static;
}
.site-header .home-link {
max-width: none;
padding: 0;
}
.site-title {
background: url(https://2015.lisboa.wordcamp.org/files/2015/03/wclx2015-logo.png) no-repeat center;
background-size: contain;
height: 174px;
margin: 100px auto 10px;
max-width: 80%;
overflow: hidden;
text-indent: 100%;
white-space: nowrap;
width: 393px;
}
.site-description {
background: #479bb5;
clip: auto !important;
color: white;
font-size: 22px;
font-style: normal;
font-weight: bold;
padding: 6px 20px;
position: absolute;
top: 0;
text-align: right;
width: 100%;
}
.menu-toggle,
.menu-toggle:hover,
.menu-toggle:focus,
.menu-toggle:active {
color: white;
}
.navbar,
.site-main,
.site-footer {
margin: 0 auto;
max-width: 100%;
width: 1000px;
}
.navbar {
background: #479BB5;
}
.nav-menu .current_page_item > a,
.nav-menu .current_page_ancestor > a,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a {
color: white;
font-style: normal;
font-weight: bold;
}
.nav-menu li a {
color: white;
font-size: 24px;
text-transform: uppercase;
}
.site-main {
background: white;
}
.site-footer {
background-color: #fff;
}
.site-footer .sidebar-container {
background: #479BB5;
}
.site-footer .widget-title, .site-footer .widget-title a, .site-footer .wp-caption-text {
font-style: normal;
font-weight: bold;
}
.site-footer .widget a {
color: rgba(255,255,255,.75);
font-weight: bold;
text-decoration: underline;
}
.site-footer .widget a:hover {
text-decoration: none;
}
.site-footer button,
.site-footer input[type="submit"],
.site-footer input[type="button"],
.site-footer input[type="reset"] {
background: #fff;
border-color: #eee;
color: #479BB5;
font-weight: bold;
text-transform: uppercase;
}
.screen-reader-text {
overflow: hidden;
width: 0;
}
.sidebar .post-navigation .nav-links {
margin: 0 auto;
max-width: 100%;
}
.nav-links a {
display: inline-block;
width: 48%;
}
.sidebar .site-footer .widget-area {
left: auto;
max-width: 920px;
}
.site-info {
padding: 30px 60px;
}
/* Padding dos logos dos sponsors */
.wcb_widget_sponsors .sponsor-logo img {
height: auto;
max-width: 100%;
padding: 0 0 20px;
}
@media screen and (max-width: 900px) {
.sidebar .site-footer .widget-area {
max-width: 604px;
}
}
@media screen and (max-width: 900px) {
#page {
background-size: 15%;
}
.site-title {
margin: 50px auto 20px;
}
}
@media screen and (max-width: 643px) {
#page {
background-size: 20%;
}
.site-title {
height: 120px;
margin: 50px auto 20px;
}
.site-description {
font-size: 13px;
}
.toggled-on .nav-menu > li a:hover, .toggled-on .nav-menu > ul a:hover {
background-color: black;
}
.nav-links a, .post-navigation a[rel="next"] {
line-height: 1.2;
margin-bottom: 12px;
text-align: center;
width: 100%;
}
}
.tix-column-remaining, .tix-column-remaining {
display: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment