subcon.town/style.css
Fristi 3beb92b09d
Finalized version 1 of the site.
+ Added DuckHunt and BalooThambi2 fonts.
+ Added correct licenses.
+ Finished styling.
2021-10-16 21:07:21 +02:00

168 lines
2.8 KiB
CSS

/* @font-face kit by Fonts2u (https://fonts2u.com) */
@font-face {
font-family:"Duck Hunt";
src:url("assets/duck_hunt/duckhunt.eot?") format("eot"),
url("assets/duck_hunt/duckhunt.woff") format("woff"),
url("assets/duck_hunt/duckhunt.ttf") format("truetype"),
url("assets/duck_hunt/duckhunt.svg#DuckHunt") format("svg");
font-weight:normal;
font-style:normal;
}
@font-face {
font-family:"Baloo Thambi 2";
src:url("assets/baloo_thambi_2/BalooThambi2-Medium.ttf") format("truetype");
font-weight:normal;
font-style:normal;
}
@font-face {
font-family:"Baloo Thambi 2";
src:url("assets/baloo_thambi_2/BalooThambi2-Bold.ttf") format("truetype");
font-weight:bold;
font-style:normal;
}
/* Common Elements */
html, body {
margin:0;
padding:0;
}
body {
background-image: url("assets/background1.jpg");
background-position: center center;
background-size: cover;
background-attachment: fixed;
overflow: hidden;
font-size: 16px;
line-height: 24px;
font-family: 'Baloo Thambi 2', cursive;
color: rgba(255, 255, 255, 1);
}
hr {
color: rgba(255, 255, 255, 0.3);
margin: 2.5em 5em;
}
h1 {
font-family: "Duck Hunt", sans-serif;
font-size: 1.5rem;
font-weight: normal;
}
h2 {
font-size: 1.15rem;
}
a {
color: #fff;
font-weight: bold;
}
a:hover {
color: rgba(255, 255, 255, 0.8);
}
table tbody tr td:first-child {
padding: 0 3em 0 0;
}
/* Containers */
.container {
position: absolute;
box-sizing: border-box;
left:0;
right:0;
height: 100%;
max-width: 550px;
padding: 0 20px;
margin:auto;
background-color: rgba(0, 0, 0, 0.4);
display:flex;
flex-direction: column;
flex-wrap: nowrap;
overflow: hidden;
}
header {
margin: 40px 0 20px 0;
text-align: center;
flex: 0 0 auto;
}
main {
flex: 1 1 auto;
overflow-x: auto;
margin-right: -14px;
padding-right: 14px;
scrollbar-color: #fff transparent;
scrollbar-width: thin;
}
main::-webkit-scrollbar {
width: 3px;
}
main::-webkit-scrollbar-track {
background: transparent;
}
main::-webkit-scrollbar-thumb {
background: #fff;
}
footer {
margin: 20px 0 0 0;
height: 30px;
flex: 0 0 auto;
}
/* Custom styling */
header ul {
position: relative;
background: rgba(255, 255, 255, 0.3);
font-family: "Duck Hunt", sans-serif;
list-style: none;
margin: 10px 0 0 0;
padding: 0;
font-size: 0;
}
header ul li {
position: relative;
display: inline-block;
text-align: center;
width: 25%;
}
header ul li a {
display: block;
color: #fff;
text-decoration: none;
font-size: 24px;
line-height: 24px;
padding:10px 0 8px 0;
}
header ul li a:hover {
background-color: rgba(255, 255, 255, 0.3);
}
.muted {
font-style: italic;
color: #999;
}