subcon.town/style.css

180 lines
3.2 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-webfont.woff2') format('woff2'),
url('assets/baloo_thambi_2/baloothambi2-medium-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Baloo Thambi 2';
src: url('assets/baloo_thambi_2/baloothambi2-bold-webfont.woff2') format('woff2'),
url('assets/baloo_thambi_2/baloothambi2-bold-webfont.woff') format('woff');
font-weight: bold;
font-style: normal;
}
/* Common Elements */
html, body {
margin:0;
padding:0;
}
body {
background-image: url("assets/background.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;*/
text-align: center;
}
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: 640px;
padding: 0 20px;
margin:auto;
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: hidden;
padding: 20px 17px 20px 20px;
background-color: rgba(255, 255, 255, 0.12);
border-radius: .4rem;
}
main .inner-main {
max-height: 100%;
overflow-y: auto;
scrollbar-color: #fff transparent;
scrollbar-width: thin;
padding-right: 20px;
text-align: justify;
}
main .inner-main::-webkit-scrollbar {
width: 3px;
}
main .inner-main::-webkit-scrollbar-track {
background: transparent;
}
main .inner-main::-webkit-scrollbar-thumb {
background: #fff;
}
footer {
margin: 40px 0 0 0;
height: 40px;
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;
}
header ul li a {
display: block;
color: #fff;
text-decoration: none;
font-size: 24px;
line-height: 24px;
padding:10px 20px 8px 20px;
}
header ul li a:hover {
color: #fff;
text-decoration: underline;
}
.muted {
font-style: italic;
color: #999;
}