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

611 lines
9.0 KiB
CSS
Raw Permalink Normal View History

2022-01-30 18:34:07 +01:00
/* open-sans-regular - latin */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
src: local(''),
url('../fonts/open-sans-v27-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/open-sans-v27-latin-regular.woff') format('woff'), /* Modern Browsers */
url('../fonts/open-sans-v27-latin-regular.ttf') format('truetype'); /* Safari, Android, iOS */
}
/* open-sans-600 - latin */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
src: local(''),
url('../fonts/open-sans-v27-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/open-sans-v27-latin-600.woff') format('woff'), /* Modern Browsers */
url('../fonts/open-sans-v27-latin-600.ttf') format('truetype'); /* Safari, Android, iOS */
}
/* open-sans-700 - latin */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
src: local(''),
url('../fonts/open-sans-v27-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/open-sans-v27-latin-700.woff') format('woff'), /* Modern Browsers */
url('../fonts/open-sans-v27-latin-700.ttf') format('truetype'); /* Safari, Android, iOS */
}
/* open-sans-italic - latin */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 400;
src: local(''),
url('../fonts/open-sans-v27-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/open-sans-v27-latin-italic.woff') format('woff'), /* Modern Browsers */
url('../fonts/open-sans-v27-latin-italic.ttf') format('truetype'); /* Safari, Android, iOS */
}
/* open-sans-600italic - latin */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 600;
src: local(''),
url('../fonts/open-sans-v27-latin-600italic.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/open-sans-v27-latin-600italic.woff') format('woff'), /* Modern Browsers */
url('../fonts/open-sans-v27-latin-600italic.ttf') format('truetype'); /* Safari, Android, iOS */
}
/* open-sans-700italic - latin */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 700;
src: local(''),
url('../fonts/open-sans-v27-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/open-sans-v27-latin-700italic.woff') format('woff'), /* Modern Browsers */
url('../fonts/open-sans-v27-latin-700italic.ttf') format('truetype'); /* Safari, Android, iOS */
}
2018-03-13 21:38:44 +01:00
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 {
2018-04-14 21:41:00 +02:00
font-size: 175%;
2018-03-25 17:47:19 +02:00
font-weight: 600;
2018-04-14 21:41:00 +02:00
border-bottom: 1px solid #BBBBBB;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
h2 {
2018-04-14 21:41:00 +02:00
font-size: 150%;
2018-03-25 17:47:19 +02:00
font-weight: 600;
2018-04-14 21:41:00 +02:00
border-bottom: 1px solid #BBBBBB;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
h3 {
2018-04-14 21:41:00 +02:00
font-size: 132%;
2018-04-14 23:36:43 +02:00
margin-bottom: .3em;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
h4 {
2018-04-14 21:41:00 +02:00
font-size: 116%;
2018-04-14 23:36:43 +02:00
font-weight: 600;
margin-bottom: .3em;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
h5 {
2018-04-14 21:41:00 +02:00
font-size: 100%;
2018-04-14 23:36:43 +02:00
font-weight: 600;
margin-bottom: .3em;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
h6 {
2018-04-14 21:41:00 +02:00
font-size: 85%;
2018-04-14 23:36:43 +02:00
font-weight: 600;
margin-bottom: .3em;
2018-03-13 21:38:44 +01:00
}
2018-04-14 23:36:43 +02:00
p {
margin: .5em 0 .5em 0;
}
2018-03-25 17:47:19 +02:00
/* Hyperlinks */
a {
text-decoration: none;
font-weight: 600;
2018-03-13 21:38:44 +01:00
}
a:link,
a:active,
2018-03-25 17:47:19 +02:00
a:visited {
color: #CCCCCC;
2018-03-25 17:47:19 +02:00
}
a:hover,
a.selected {
color: #208DCC;
2018-03-13 21:38:44 +01:00
}
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%;
}
2018-03-25 17:47:19 +02:00
2018-04-08 20:40:10 +02:00
2018-03-25 17:47:19 +02:00
/* Language selector */
.language-selector {
list-style-type: none;
font-size: 90%;
2018-04-01 23:44:43 +02:00
text-align: center;
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;
2018-04-01 23:44:43 +02:00
padding: 0 20px 15px 20px;
2018-03-13 21:38:44 +01:00
}
2018-03-25 17:47:19 +02:00
#site-title {
2018-04-01 23:44:43 +02:00
padding: 10px 20px 0 20px;
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-04-01 23:44:43 +02:00
#site-slogan {
padding: 0 20px 10px 20px;
}
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-04-14 21:41:00 +02:00
border-bottom: none;
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;
2020-06-30 23:09:07 +02:00
overflow-wrap: break-word;
word-wrap: break-word;
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
2018-03-13 21:38:44 +01:00
}
.timestamp,
.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-04-08 20:40:10 +02:00
#content a:link,
#content a:active,
#content a:visited {
color: #208DCC;
}
#content a:hover,
#content a.selected {
color: #CCCCCC;
}
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-04-08 20:40:10 +02:00
#paginator-page-button a:link,
#paginator-page-button a:active,
#paginator-page-button a:visited {
2018-03-25 17:47:19 +02:00
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;
}
/* Home page: latest updates */
#recent-updates {
padding: 0px 20px 10px 20px;
text-align: justify;
}
2018-04-08 20:40:10 +02:00
#recent-updates a:link,
#recent-updates a:active,
#recent-updates a:visited {
color: #208DCC;
}
#recent-updates a:hover,
#recent-updates a.selected {
color: #CCCCCC;
}
2018-03-13 21:38:44 +01:00
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;
2018-04-01 23:44:43 +02:00
width: 65%;
2018-03-13 21:38:44 +01:00
}
#header-right {
2018-03-25 17:47:19 +02:00
float: right;
2018-04-01 23:44:43 +02:00
width: 35%;
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 {
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
}
}