web-bvebarcelona/themes/crab/static/css/crab.css

378 lines
5.1 KiB
CSS

@import url('https://fonts.googleapis.com/css?family=Lora:400,400i,700,700i|Open+Sans:400,400i,600,600i,700,700i');
html,
body {
background: #222222;
color: #BBBBBB;
font-family: 'Open Sans', sans-serif;
}
#container {
background: #292929;
margin: auto;
border-style: solid;
border-radius: 10px;
border-color: #252525;
}
#header-left {
padding-top: 15px;
float: left;
width: 60%;
}
#header-right {
padding-top: 15px;
float: right;
width: 40%;
}
#site-logo {
float: left;
height: 100px;
width: 100px;
padding: 0 20px 0 20px;
}
#site-title,
a:link,
a:active,
a:visited {
color: #BBBBBB;
}
a:hover {
color: #208DCC;
}
#site-title {
padding: 10px 20px 0 0;
font-weight: 600;
font-size: 36px;
}
a:link,
a:active,
a:visited,
a:hover {
text-decoration: none;
}
#footer {
background: #3E3E3E;
color: #BBBBBB;
padding: 10px 20px 10px 20px;
clear: both;
font-size: 12px;
}
nav {
clear: both;
text-align: right;
}
nav ul {
list-style-type: none;
padding: 0;
}
nav ul.first > li {
display: block;
margin: .5em 0;
text-align: left;
}
nav ul.second,
nav ul.third {
display: none;
}
nav a:link,
nav a:active,
nav a:visited,
nav a:hover {
text-decoration: none;
}
nav a:link,
nav a:active,
nav a:visited {
color: #BBBBBB;
}
nav a:hover {
color: #208DCC;
}
nav a.selected {
color: #208DCC;
}
#content,
#page-title {
padding: 10px 20px 10px 20px;
}
#content {
margin-bottom: 20px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'Open Sans', serif;
font-weight: 400;
}
#article p, #article ol li, #article ul li {
text-align: justify;
}
#article blockquote {
font-family: 'Lora', serif;
font-style: italic;
font-size: 1.05em;
line-height: 1.5em;
}
#article dl dt {
font-weight: bold;
}
#article dl dt em {
font-weight: normal;
}
#article .timestamp,
#article .tags,
#article .tags a:link,
#article .tags a:active,
#article .tags a:visited,
#article .tags a:hover {
color: #777;
}
hr {
border-bottom: 0;
border-left: 0;
border-right: 0;
margin: 2.5em 0;
}
span.upper {
text-transform: uppercase;
}
img.right {
float: right;
margin: 0 0 1em 1em;
}
img.left {
float: left;
margin: 0 1em 1em 0;
}
img {
margin: auto;
max-width:100%;
max-height:100%;
display: block;
}
#featured-image img {
max-width:100%;
max-height:100%;
display: block;
}
ul.pagination {
padding: 0;
list-style-type: none;
text-align: center;
}
.pagination li {
display: inline;
margin: 10px;
}
.pagination .active a:link,
.pagination .active a:active,
.pagination .active a:visited,
.pagination .active a:hover,
.pagination .disabled a:link,
.pagination .disabled a:active,
.pagination .disabled a:visited,
.pagination .disabled a:hover,
.pagination .previous-disabled,
.pagination .next-disabled {
color: #555;
text-decoration: none;
}
table,
th,
td {
border: 1px solid grey;
border-collapse: collapse;
margin-left:auto;
margin-right:auto;
text-align:center;
}
th {
display:none;
}
table img {
vertical-align:middle;
padding: 2px 2px 2px 2px;
}
#page-title-container {
background: #3E3E3E;
border-top: 1px solid #444444;
border-bottom: 1px solid #444444;
display: block;
font-weight: 200;
font-size: 26px;
}
#paginator-page {
margin-bottom: 30px;
text-align: justify;
}
#paginator-page-footer {
margin-top: 10px;
display: block;
height: 45px;
/*border-bottom: 1px solid #444444;*/
}
#paginator-page-footer .timestamp {
display: inline;
line-height: 35px;
}
#paginator-page-button {
float: right;
padding: 5px 10px;
background: #208DCC;
margin: 1px 1px 1px 1px;
}
#paginator-page-button:hover {
background: #006DAC;
border: 1px solid #004D8C;
margin: 0px 0px 0px 0px;
}
#paginator-page-button a:link,
#paginator-page-button a:active,
#paginator-page-button a:visited {
color: #FFF;
}
#paginator-page-button a:hover {
color: #DDD;
}
.language-selector {
display: inline;
list-style-type: none;
float: right;
margin-right: 30px;
}
.language-selector li {
display: inline;
margin: .5em;
}
.language-selector .selected,
.first .selected {
color: #208DCC;
}
@media screen and (max-width: 699px) {
#site-logo {
display: block;
}
}
@media (min-width: 700px) {
#container {
max-width: 1200px;
}
nav ul li a {
display: block;
font-size: 90%;
}
.language-selector a {
font-size: 90%;
}
nav ul.first > li {
display: inline-block;
position: relative;
padding-right: 1.25em;
}
nav ul.second,
nav ul.third {
position: absolute;
background: #000000;
width: 160px;
box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.25);
}
nav ul.second {
z-index: 2;
}
nav ul.third {
z-index: 3;
}
nav ul.second li {
position: relative;
}
nav ul.third {
left: 212px;
top: -1px;
}
nav ul.first li:hover ul.second,
nav ul.second li:hover ul.third {
display: block;
}
nav ul.second li a,
nav ul.third li a {
padding: 0.75em 1em;
}
#article {
position: relative;
}
#summary {
display: block;
position: absolute;
top: 0px;
left: 608px;
width: 342px;
}
}