282 lines
4.4 KiB
CSS
282 lines
4.4 KiB
CSS
@font-face {
|
|
font-family: "EMcomic";
|
|
src: url("../fonts/emcomic.ttf"), format("truetype");
|
|
}
|
|
|
|
:root {
|
|
--fg-primary: #e621bb;
|
|
--bg-primary: #e621bb20;
|
|
--bg-secondary: #e621bb40;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
word-break: break-word;
|
|
}
|
|
|
|
body {
|
|
font-family: "EMcomic", cursive;
|
|
background-color: black;
|
|
background-image: url("../img/stars.gif");
|
|
color: white;
|
|
min-height: 100vh;
|
|
image-rendering: pixelated;
|
|
}
|
|
|
|
@media (prefers-reduced-motion) {
|
|
body {
|
|
background-image: unset;
|
|
}
|
|
}
|
|
|
|
hr {
|
|
border: none;
|
|
border-bottom: 1px solid var(--bg-secondary);
|
|
}
|
|
|
|
.container {
|
|
width: 35rem;
|
|
max-width: 100%;
|
|
padding-top: 1rem;
|
|
margin: auto;
|
|
}
|
|
|
|
.section {
|
|
width: calc(100% - 4rem);
|
|
max-width: calc(100% - 4rem);
|
|
padding: 0.75rem 1rem;
|
|
margin-bottom: 1rem;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
border: 1px solid var(--fg-primary);
|
|
border-radius: 5px;
|
|
background: var(--bg-primary);
|
|
}
|
|
|
|
.header {
|
|
text-align: center;
|
|
|
|
margin-bottom: 0;
|
|
border-bottom: none;
|
|
border-bottom-left-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
}
|
|
|
|
.navbar {
|
|
text-align: center;
|
|
|
|
padding: 0.33rem 1rem;
|
|
border-top: 1px solid var(--fg-primary);
|
|
border-top-left-radius: 0;
|
|
border-top-right-radius: 0;
|
|
|
|
margin-top: 0;
|
|
background: var(--bg-secondary);
|
|
}
|
|
|
|
.navbar ul {
|
|
padding: 0;
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-evenly;
|
|
|
|
list-style: none;
|
|
}
|
|
|
|
.navbar ul li {
|
|
float: left;
|
|
}
|
|
|
|
.navbar ul li a {
|
|
display: block;
|
|
}
|
|
|
|
a {
|
|
font-weight: 700;
|
|
color: var(--fg-primary);
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.section:not(.header) > h2 {
|
|
color: var(--fg-primary);
|
|
border-bottom: 1px solid var(--fg-primary);
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.center {
|
|
text-align: center;
|
|
}
|
|
|
|
.footer {
|
|
text-align: center;
|
|
}
|
|
|
|
.copyleft {
|
|
display: inline-block;
|
|
position: relative;
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
/* Stolen from the European Union */
|
|
#globan {
|
|
background-color: #eee;
|
|
padding: 0 0 0 16px;
|
|
position: relative;
|
|
line-height: inherit;
|
|
}
|
|
|
|
#globan,
|
|
#globan *,
|
|
#globan *:after,
|
|
#globan *:before {
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
#globan:after {
|
|
content: "" !important;
|
|
display: block;
|
|
clear: both;
|
|
}
|
|
|
|
#globan * {
|
|
font-size: 14px;
|
|
font-family: Arial, Verdana;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
#globan [hidden] {
|
|
display: none;
|
|
}
|
|
|
|
#globan .globan-center {
|
|
display: inline-block;
|
|
position: relative;
|
|
}
|
|
|
|
#globan .globan-content {
|
|
height: 28px;
|
|
line-height: 28px;
|
|
}
|
|
|
|
#globan.dark {
|
|
background-color: #404040;
|
|
}
|
|
|
|
#globan.dark .globan-content {
|
|
color: #fff;
|
|
}
|
|
|
|
#globan.logo-flag .globan-content:before {
|
|
content: " " !important;
|
|
display: inline-block;
|
|
width: 24px;
|
|
height: 16px;
|
|
background: center center / 110% auto no-repeat #004494 url(../img/flag.svg);
|
|
float: left;
|
|
margin: 5.5px 8px 0 0;
|
|
border: 1px solid #004494;
|
|
}
|
|
|
|
#globan.dark.logo-flag .globan-content:before {
|
|
border-color: #7f99cc;
|
|
}
|
|
|
|
#globan span {
|
|
display: none;
|
|
}
|
|
|
|
#globan span:first-child {
|
|
display: inline-block;
|
|
}
|
|
|
|
#globan .globan-dropdown {
|
|
background-color: #fff;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 23px;
|
|
padding: 12px 16px;
|
|
margin: 5px 0 0 0;
|
|
max-width: 500px;
|
|
border: 1px solid #ccc;
|
|
box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.4);
|
|
-webkit-box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.4);
|
|
-moz-box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.4);
|
|
color: #444;
|
|
}
|
|
|
|
#globan .globan-dropdown p {
|
|
padding: 0;
|
|
margin: 0;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
#globan .globan-dropdown p:nth-child(2) {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
#globan .globan-dropdown a {
|
|
color: #004494;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#globan .globan-dropdown a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
#globan.reverse .globan-center {
|
|
float: right;
|
|
padding-right: 10px;
|
|
}
|
|
|
|
#globan.reverse.logo-flag .globan-content:before {
|
|
float: right;
|
|
margin: 2px 0 0 10px;
|
|
}
|
|
|
|
#globan.reverse .globan-content {
|
|
text-align: right;
|
|
}
|
|
|
|
#globan.reverse .globan-content a,
|
|
#globan.reverse .globan-content a:hover,
|
|
#globan.reverse .globan-content a:focus,
|
|
#globan.reverse .globan-content a:active {
|
|
float: left;
|
|
margin: 0 20px 0 0;
|
|
}
|
|
|
|
#globan.reverse .globan-content a:after {
|
|
float: left;
|
|
margin: 0 10px 0 0;
|
|
}
|
|
|
|
#globan.reverse .globan-dropdown {
|
|
left: 0;
|
|
right: auto;
|
|
direction: rtl;
|
|
}
|
|
|
|
#globan.fixed {
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
right: 0;
|
|
}
|
|
|
|
.globan-invalid-domain {
|
|
background-color: #ffd617;
|
|
color: #444;
|
|
text-align: center;
|
|
padding: 5px 16px;
|
|
display: block;
|
|
margin-left: -16px;
|
|
}
|