kettek2/wiki/style.css

427 lines
9.3 KiB
CSS

@font-face {
font-family: silkscreen;
src: url(slkscr.ttf);
}
html,body {
margin: 0; padding: 0;
width: 100%; height: 100%;
font-size: normal;
font-weight: 400;
font-family: 'Source Sans Pro', sans-serif;
color: #FFF;
background-color: #111;
}
h1,h2,h3,h4,h5 {
margin: 0;
font-family: "Montserrat", sans-serif;
text-shadow: 0px 0px 2px #000;
}
h1 { font-size: 150%; }
h2 { font-size: 125%; }
h3 { font-size: 115%; }
h4 { font-size: 105%; }
h5 { font-size: 100%; }
a {
color: #d1901a;
}
#content {
width: 1000px;
margin: auto;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
box-shadow: 0px 0px 3px #111;
margin-bottom: 1em;
position: relative;
overflow: hidden;
box-sizing: border-box;
min-height: 75%;
}
/* top and bot styling */
#top .left {
font-size: 100%;
}
#top .left:after {
border: 0;
position: absolute;
z-index: 100;
}
#top {
background-image: url('pix/Lolita1_2.png');
background-repeat: no-repeat;
background-position: center;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px 8px 0 0;
box-shadow: 0px 0px 3px #111;
min-height: 180px;
}
#top:before {
content: '';
position: absolute;
z-index: 100;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(10, 10, 10, 0.4);
background-image: -webkit-repeating-linear-gradient(135deg, rgba(0,0,0,.1), rgba(0,0,0,.1) 1px, transparent 2px, transparent 2px, rgba(0,0,0,.1) 3px);
background-image: -moz-repeating-linear-gradient(135deg, rgba(0,0,0,.1), rgba(0,0,0,.1) 1px, transparent 2px, transparent 2px, rgba(0,0,0,.1) 3px);
background-image: -o-repeating-linear-gradient(135deg, rgba(0,0,0,.1), rgba(0,0,0,.1) 1px, transparent 2px, transparent 2px, rgba(0,0,0,.1) 3px);
background-image: repeating-linear-gradient(135deg, rgba(0,0,0,.1), rgba(0,0,0,.1) 1px, transparent 2px, transparent 2px, rgba(0,0,0,.1) 3px);
-webkit-background-size: 8px 8px;
-moz-background-size: 8px 8px;
background-size: 8px 8px;
}
/* default row and column settings */
.row {
position: relative;
margin: auto;
margin-top: 2em;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row wrap;
justify-content: flex-start;
align-items: stretch;
width: 100%;
z-index: 1000;
}
.content_row {
position: relative;
margin: auto;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row wrap;
justify-content: flex-start;
align-items: stretch;
width: 100%;
padding: 2em 2em 0 2em;
box-sizing: border-box;
background-color: #222;
background-image: -webkit-repeating-linear-gradient(135deg, rgba(0,0,0,.3), rgba(0,0,0,.3) 1px, transparent 2px, transparent 2px, rgba(0,0,0,.3) 3px);
background-image: -moz-repeating-linear-gradient(135deg, rgba(0,0,0,.3), rgba(0,0,0,.3) 1px, transparent 2px, transparent 2px, rgba(0,0,0,.3) 3px);
background-image: -o-repeating-linear-gradient(135deg, rgba(0,0,0,.3), rgba(0,0,0,.3) 1px, transparent 2px, transparent 2px, rgba(0,0,0,.3) 3px);
background-image: repeating-linear-gradient(135deg, rgba(0,0,0,.3), rgba(0,0,0,.3) 1px, transparent 2px, transparent 2px, rgba(0,0,0,.3) 3px);
-webkit-background-size: 8px 8px;
-moz-background-size: 8px 8px;
background-size: 8px 8px;
}
.content_row img {
max-width: 50%;
text-align: center;
display: block;
margin: 1em auto;
box-shadow: 0px 0px 3px #111;
border-radius: 8px;
padding: 1em;
background-color: #111;
}
.left {
color: #999;
color: #D6A;
position: relative;
min-height: 1em;
flex: 1;
padding: 0px 48px 16px 16px;
text-align: right;
font-size: xx-small;
z-index: 1000;
}
.left:after {
content: "";
position: absolute;
width: 1em;
height: 20%;
top: 0px;
right: 0%;
border-right: 1px dotted #666;
border-right: 1px dotted #D6A;
border-right: 2px dotted #d1901a;
}
.right {
min-height: 1em;
flex: 7;
padding: 0px 2em 0em 2em;
z-index: 1000;
}
/* row animation */
@keyframes open {
0% { right: 100%; opacity: 0; }
50% { right: -8%; opacity: 1; }
60% { right: 4%; }
70% { right: -2%; }
80% { right: 0%; }
100% { right: 0%; }
}
.content_row {
animation: open 1s;
}
/* play box*/
#box {
position: relative;
display: block;
right: 0;
top: 0;
margin-left: 8px;
margin-top: 24px;
margin-bottom: 6px;
width: 570px;
height: 94px;
background-color: #111;
box-shadow: 0px 0px 8px #111;
opacity: 0.8;
}
box {
position: absolute;
display: block;
border: 1px solid #D6A;
width: 1px; height: 2px;
}
.ktkWalker {
font-weight: 800;
font-family: monospace;
text-align: center;
}
/* menu */
#menu_container {
position: absolute;
left: 0;
bottom: 0;
width: 586px;
margin-left: 16px;
margin-right: 20px;
z-index: 1000;
}
.menu {
margin: 0;
padding: 0;
display: flex;
flex-flow: row wrap;
justify-content: center;
align-items: left;
}
.menu a {
flex-grow: 1;
text-align: center;
/*box-shadow: inset 0px 0px 3px #d1901a;*/
font-family: "Montserrat", sans-serif;
color: #d1901a;
background-color: rgba(34, 34, 34, 0.8);
border-radius: 8px 8px 0 0;
text-decoration: none;
display: block;
padding: 0.5em;
transition: all .10s;
text-shadow: 0px 0px 2px #000;
box-shadow: inset 0px 0px 4px #181818;
margin-right: 0.5em;
margin-left: 0.5em;
}
.menu a:hover {
background-color: rgba(10, 10, 10, 0.5);
-webkit-transition: background-color .10s linear;
-moz-transition: background-color .10s linear;
-o-transition: background-color .10s linear;
-ms-transition: background-color .10s linear;
transition: background-color .10s linear;
}
p {
text-align: justify;
}
/* breadcrumbs */
#crumbs {
position: absolute;
left: 3em;
z-index: 1000;
}
#crumbs li {
list-style-type: none;
float: left;
padding: 0; margin: 0;
}
#crumbs a {
text-decoration: none;
margin-right: 1em;
padding: 0 0.5em 0.5em 0.5em;
transition: all .10s;
background-color: rgba(10, 10, 10, 0.1);
text-shadow: 0px 0px 2px #333;
box-shadow: inset 0px 0px 6px #111;
}
#crumbs a:hover {
background-color: rgba(10, 10, 10, 0.5);
-webkit-transition: background-color .10s linear;
-moz-transition: background-color .10s linear;
-o-transition: background-color .10s linear;
-ms-transition: background-color .10s linear;
transition: background-color .10s linear;
}
/* qat */
#qatbox {
width: 382px;
background-image:url('favicon.png');
background-repeat: no-repeat;
background-position: 362px;
z-index: 1001;
position: absolute;
bottom: 0;
right: 0;
}
#qatbox p {
font-family: 'silkscreen', console, system;
font-smooth: never;
-webkit-font-smoothing : none;
text-align: justify;
vertical-align: middle;
font-size: 8px;
border: 1px solid #ccc;
padding: 2px;
background-color: #111;
position: relative;
margin-right: 32px;
max-height: 48px;
}
#qatbox p:after {
content: '';
position: absolute;
right: -8px;
bottom: 2px;
width: 0;
height: 0;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
border-left: 8px solid #111;
}
#qatbox p:before {
content: '';
position: absolute;
right: -9px;
bottom: 2px;
width: 0;
height: 0;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
border-left: 8px solid #ccc;
}
/* title */
#title {
position: absolute;
z-index: 1001;
left: 45px;
top: 0;
margin-top: -16px;
z-index: 100;
color: #AAA;
color: #1A6EB1;
font-size: 300%;
font-family: "Montserrat", sans-serif;
text-shadow: 0px 0px 2px #000;
}
#title span {
color: #D6A;
}
/* footer */
#footer {
color: #666;
font-size: small;
text-align: center;
padding-bottom: 1em;
}
/* lang */
#lang {
position: absolute;
right: 4px;
top: 8px;
z-index: 1000;
}
#lang input {
border: 0;
font-size: 0;
cursor: pointer;
}
/* content stuff */
p {
padding-left: 2em;
}
ul {
padding-left: 2em;
list-style-image: url('/bullet.png');
}
hr {
width: 95%;
border: 0;
border-top: 1px solid #ccc;
box-shadow: 0 0 3px #111;
}
table {
width: 75%;
margin-left: 4em;
background-color: rgba(200, 200, 200, 0.2);
box-shadow: 0 0 3px #111;
}
th {
font-family: "Montserrat", sans-serif;
text-shadow: 0px 0px 2px #000;
box-shadow: 0 0 3px #111;
padding: 0.25em;
}
td {
font-family: "Inconsolata", sans-serif;
text-shadow: 0px 0px 2px #111;
background-color: rgba(200, 200, 200, 0.2);
box-shadow: 0 0 3px #111;
padding: 0.5em;
}
code {
font-family: "Inconsolata", sans-serif;
font-smooth: never;
-webkit-font-smoothing : none;
font-smoothing : none;
vertical-align: middle;
font-size: 14px;
background-color: #101010;
color: #3A8EF1;
text-shadow: 0px 0px 2px #3a8eF1;
}
pre {
width: 90%;
margin-left: 2em;
padding: 1em;
white-space: pre-wrap;
white-space: -moz-pre-wrap !important;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;
background-color: #101010;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
box-shadow: 0px 0px 3px #111;
position: relative;
}
section {
padding-left: 1em;
padding-bottom: 0.75em;
padding-top: 0.25em;
}
section p {
line-height: 1.5em;
}
section h1 { font-size: 150%; color: #D6A; }
section h2 { font-size: 125%; color: #1A6EB1; }
section h3 { font-size: 115%; }
section h4 { font-size: 105%; }
section h5 { font-size: 100%; }