kozmo-dark/static/css/kozmo-dark.css

507 lines
5.8 KiB
CSS
Raw Normal View History

2018-03-13 21:38:44 +01:00
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,500,500i,600,600i,700,700i');
2018-03-25 17:47:19 +02:00
/* Basic theme elements */
2018-03-13 21:38:44 +01:00
html {
background: #222222;
}
html,
body,
h1,
h2,
h3,
h4,
h5,
h6 {
color: #BBBBBB;
font-family: 'Open Sans', sans-serif;
}
2018-03-25 17:47:19 +02:00
h1 {
font-size: 150%;
font-weight: 600;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
h2 {
font-size: 140%;
font-weight: 600;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
h3 {
font-size: 130%;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
h4 {
font-size: 120%;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
h5 {
font-size: 110%;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
h6 {
font-size: 100%;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
/* Hyperlinks */
a {
text-decoration: none;
2018-03-13 21:38:44 +01:00
}
a:link,
a:active,
2018-03-25 17:47:19 +02:00
a:visited {
color: #BBBBBB;
}
a:hover,
a.selected {
color: #208DCC;
2018-03-13 21:38:44 +01:00
}
p a:link,
p a:active,
p a:visited,
p a:hover {
color: #208DCC;
}
2018-03-25 17:47:19 +02:00
/* Images */
img {
margin: auto;
max-width:100%;
max-height:100%;
display: block;
}
img.right {
float: right;
margin: 0 0 1em 1em;
}
img.left {
float: left;
margin: 0 1em 1em 0;
}
/* Thematic breaks */
hr {
border-bottom: 0;
border-left: 0;
border-right: 0;
margin: 2.5em 0;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
/* Tables */
table,
th,
td {
border: 1px solid grey;
border-collapse: collapse;
margin: auto;
text-align: center;
padding: 2px 2px 2px 2px;
}
th:empty {
display:none;
}
table img {
display: inline;
vertical-align: middle;
box-sizing: border-box;
}
/* Forms */
form label {
display: block;
}
form textarea,
form input {
margin-top: 10px;
margin-bottom: 20px;
width: 100%;
display: block;
box-sizing: border-box;
}
form textarea {
min-height: 160px;
width: 100%;
resize: vertical;
}
/* Main menu */
2018-03-13 21:38:44 +01:00
nav {
clear: both;
text-align: right;
}
nav ul {
list-style-type: none;
padding: 0;
}
nav ul.first > li {
display: block;
text-align: left;
}
nav ul li a {
display: block;
font-size: 90%;
}
nav a:link,
nav a:active,
nav a:visited {
color: #BBBBBB;
}
2018-03-25 17:47:19 +02:00
nav a:hover,
nav a.selected {
2018-03-13 21:38:44 +01:00
color: #208DCC;
}
2018-03-25 17:47:19 +02:00
/* Language selector */
.language-selector {
list-style-type: none;
font-size: 90%;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
.language-selector li {
display: inline;
margin: .5em;
text-align: center;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
/* Main container */
#container {
background: #292929;
margin: auto;
border-style: solid;
border-radius: 10px;
border-color: #252525;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
/* Header */
#header-left,
#header-right {
padding-top: 15px;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
#site-logo {
height: 100px;
width: 100px;
padding: 0 20px 0 20px;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
#site-title {
padding: 10px 20px 0 0;
2018-03-13 21:38:44 +01:00
font-weight: 600;
2018-03-25 17:47:19 +02:00
font-size: 220%;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
/* Footer */
2018-03-13 21:38:44 +01:00
2018-03-25 17:47:19 +02:00
#footer {
background: #3E3E3E;
color: #BBBBBB;
padding: 10px 20px 10px 20px;
clear: both;
font-size: 12px;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
/* Page title */
2018-03-13 21:38:44 +01:00
2018-03-25 17:47:19 +02:00
#page-title {
padding: 10px 20px 10px 20px;
background: #3E3E3E;
border-top: 1px solid #444444;
border-bottom: 1px solid #444444;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
#page-title h1 {
margin: 0;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
/* Page content */
#content {
padding: 10px 20px 10px 20px;
margin-bottom: 20px;
text-align: justify;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
#content .timestamp,
#content .tags {
2018-03-13 21:38:44 +01:00
color: #777;
}
2018-03-25 17:47:19 +02:00
#content .timestamp {
2018-03-13 21:38:44 +01:00
padding-bottom: 1em;
}
2018-03-25 17:47:19 +02:00
/* Paginator page: entries */
#paginator-page {
margin-bottom: 30px;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
#paginator-page-footer {
margin-top: 10px;
height: 45px;
/*border-bottom: 1px solid #444444;*/
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
#paginator-page-footer .timestamp {
display: inline;
line-height: 35px;
}
#paginator-page-button {
2018-03-13 21:38:44 +01:00
float: right;
2018-03-25 17:47:19 +02:00
padding: 5px 10px;
background: #208DCC;
margin: 1px 1px 1px 1px;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
#paginator-page-button:hover {
background: #006DAC;
border: 1px solid #004D8C;
margin: 0px 0px 0px 0px;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
#paginator-page-button a {
color: #FFF;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
#paginator-page-button a:hover {
color: #DDD;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
/* Paginator page: bottom buttons */
2018-03-13 21:38:44 +01:00
2018-03-25 17:47:19 +02:00
.pagination {
2018-03-13 21:38:44 +01:00
padding: 0;
list-style-type: none;
text-align: center;
}
.pagination li {
display: inline;
margin: 10px;
}
.pagination .previous-disabled,
.pagination .next-disabled {
color: #555;
text-decoration: none;
}
2018-03-25 17:47:19 +02:00
@media (min-width: 780px) {
/* Main menu */
.burger-button {
display: none;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
nav ul.first > li {
display: inline-block;
position: relative;
padding-right: 1.25em;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
nav ul.second,
nav ul.third {
display: none;
position: absolute;
background: #000000;
width: 160px;
box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.25);
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
nav ul.first li:hover ul.second,
nav ul.second li:hover ul.third {
2018-03-13 21:38:44 +01:00
display: block;
}
2018-03-25 17:47:19 +02:00
nav ul.second li a,
nav ul.third li a {
padding: 0.75em 1em;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
nav ul.second {
z-index: 2;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
nav ul.third {
z-index: 3;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
nav ul.second li {
position: relative;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
nav ul.third {
left: 212px;
top: -1px;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
/* Language selector */
2018-03-13 21:38:44 +01:00
.language-selector {
float: right;
margin-right: 30px;
}
2018-03-25 17:47:19 +02:00
/* Main container */
2018-03-13 21:38:44 +01:00
2018-03-25 17:47:19 +02:00
#container {
max-width: 1200px;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
/* Header */
2018-03-13 21:38:44 +01:00
#header-left {
2018-03-25 17:47:19 +02:00
float: left;
width: 60%;
2018-03-13 21:38:44 +01:00
}
#header-right {
2018-03-25 17:47:19 +02:00
float: right;
width: 40%;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
#site-logo {
float: left;
2018-03-13 21:38:44 +01:00
}
}
2018-03-25 17:47:19 +02:00
@media screen and (max-width: 779px) {
/* Main menu */
2018-03-13 21:38:44 +01:00
.burger-button {
display: block;
background: #3E3E3E;
font-size: 100%;
padding: 5px 20px 5px 20px;
margin-top: 20px;
cursor: pointer;
}
2018-03-25 17:47:19 +02:00
.burger-button:hover {
color: #DDDDDD;
background: #208DCC;
}
2018-03-13 21:38:44 +01:00
#menu-entries {
display: none;
}
.burger-toggle:checked ~ #menu-entries {
display: block;
}
.burger-toggle:checked ~ .burger-button {
color: #DDDDDD;
background: #208DCC;
}
2018-03-25 17:47:19 +02:00
nav {
text-align: center;
margin-bottom: 20px;
}
2018-03-13 21:38:44 +01:00
nav ul.first > li a,
nav ul.second > li a {
display: block;
padding: 5px 20px 5px 20px;
background: #3E3E3E;
}
nav ul.first > li a:hover,
2018-03-25 17:47:19 +02:00
nav ul.second > li a:hover {
2018-03-13 21:38:44 +01:00
color: #DDDDDD;
background: #208DCC;
}
nav ul.first {
margin-top: 0px;
}
nav ul.second > li a {
padding-left: 40px;
}
2018-03-25 17:47:19 +02:00
/* Language selector */
.language-selector {
text-align: center;
float: none;
margin: auto;
padding: 0;
}
/* Header */
#header-left,
#header-right {
display: block;
float: none;
width: 100%;
text-align: center;
}
#site-logo,
#site-title {
display: block;
float: none;
margin: auto;
}
#site-title,
#site-slogan {
padding: 0px 5px;
2018-03-13 21:38:44 +01:00
}
}