@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,600,600i,700,700i'); /* Basic theme elements */ html { background: #7C454F; } html, body, h1, h2, h3, h4, h5, h6 { color: #EEEEEE; font-family: 'Open Sans', sans-serif; } h1 { font-size: 175%; font-weight: 600; border-bottom: 1px solid #BBBBBB; } h2 { font-size: 150%; font-weight: 600; border-bottom: 1px solid #BBBBBB; } h3 { font-size: 132%; margin-bottom: .3em; } h4 { font-size: 116%; font-weight: 600; margin-bottom: .3em; } h5 { font-size: 100%; font-weight: 600; margin-bottom: .3em; } h6 { font-size: 85%; font-weight: 600; margin-bottom: .3em; } p { margin: .5em 0 .5em 0; } /* Hyperlinks */ a { text-decoration: none; font-weight: 600; } a:link, a:active, a:visited { color: #EEEEEE; } a:hover, a.selected { color: #4C454F; } /* Images */ img { margin: auto; max-width:100%; max-height:100%; display: inline; } 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; } /* Main menu */ nav { clear: both; text-align: right; } nav ul { list-style-type: none; padding: 0; margin-bottom: 0px; left: 0; } nav ul.first > li { display: block; text-align: center; } nav ul li a { display: block; font-size: 90%; } nav ul.first > li a, nav ul.second > li a { padding: 10px 10px 10px 10px; background: #7C454F; } nav ul.first > li a:hover, nav ul.second > li a:hover { color: #DDDDDD; background: #8C454F; } /* Language selector */ .language-selector { list-style-type: none; font-size: 90%; text-align: center; } .language-selector li { display: inline; margin: .5em; text-align: center; } /* Main container */ #container { background: #C05165; margin: auto; border-style: solid; border-radius: 10px; border-color: #9E4B5A; } /* Header */ #header-left, #header-right { padding-top: 15px; } #site-logo { height: 100px; width: 100px; padding: 0 20px 15px 20px; } #site-title { padding: 10px 20px 0 20px; font-weight: 600; font-size: 220%; } #site-slogan { padding: 0 20px 10px 20px; } /* Footer */ footer { text-align: center; padding: 10px 20px 10px 20px; clear: both; font-size: 12px; } /* Page title */ #page-title { padding: 10px 20px 10px 20px; background: #9E4B5A; } #page-title h1 { margin: 0; border-bottom: none; } /* Page content */ main { padding: 10px 20px 10px 20px; margin-bottom: 20px; margin-top: 20px; text-align: justify; } .timestamp, .tags { color: #777; } main .timestamp { padding-bottom: 1em; } main a:link, main a:active, main a:visited { color: #EEEEEE; } main a:hover, main a.selected { color: #CCCCCC; } @media (min-width: 780px) { /* Main menu */ .burger-button { display: none; } nav { padding-right: 1.25em; } nav ul li a { width: 140px; } nav ul.first > li { display: inline-block; position: relative; } nav ul.second, nav ul.third { top: 40px; display: none; position: absolute; background: #5C353F; } nav ul.first li:hover ul.second, nav ul.second li:hover ul.third { display: block; } 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; } /* Language selector */ .language-selector { float: right; margin-right: 30px; } /* Main container */ #container { max-width: 1200px; } /* Header */ #header-left { float: left; width: 65%; } #header-right { float: right; width: 35%; } #site-logo { float: left; } } @media screen and (max-width: 779px) { /* Main menu */ .burger-button { display: block; background: #7C454F; font-size: 100%; padding: 5px 20px 5px 20px; margin-top: 20px; cursor: pointer; } .burger-button:hover { color: #DDDDDD; background: #9E4B5A; } #menu-entries { display: none; } .burger-toggle:checked ~ #menu-entries { display: block; } .burger-toggle:checked ~ .burger-button { color: #DDDDDD; background: #9E4B5A; } nav { text-align: center; margin-bottom: 20px; } nav ul.first { margin-top: 0px; } nav ul.second > li a { padding-left: 40px; } nav ul a { text-align: left; } /* 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; } }