arcanis.me/resources/css/styles.css
2021-01-08 17:28:37 +03:00

413 lines
6.5 KiB
CSS

/* search */
#search-block-form{
width: 200px;
height: 20px;
border-radius: 15px;
border: #c9c9c9 solid 1px;
}
.focus-active{
border-color: #aaaaaa !important;
background: #ffffff !important;
}
#search-block-form input{
padding: 0;
margin: 0;
display: block;
border: none;
outline: none;
background: none;
width: 100%;
height: 100%;
}
#search-block-form .form-actions{
width: 20px;
height: 20px;
float: left;
background: url(/resources/searchIconDark.png) 5px 3px no-repeat;
}
#search-block-form .form-actions input:hover{
cursor: pointer;
}
#search-block-form .form-actions input{
overflow: hidden;
text-indent: -9999px;
}
#search-block-form .form-item{
width: 170px;
height: 20px;
padding: 0;
float: right;
}
#search-block-form .form-item input{
height: auto !important;
padding: 0;
color: #222222;
font: 13px/1.5 "Liberation Sans", Helvetica, Arial, sans-serif;
}
/* in-text images */
figure.img {
float: right;
border: 0px solid #333;
padding: 0px;
margin: 5px 0px 5px 10px;
}
figure.img img {
max-width: 100%;
height: auto;
}
figure.img figcaption {
margin: 0px;
font-size: 90%;
font-style: italic;
text-align: center;
}
/* screenshots */
.thumbnails {
margin: -3em 0 0 -2em;
font-size: 90%;
font-style:italic;
text-align: center;
}
.thumbnail {
display: -moz-inline-box;
display: inline-block;
vertical-align: top;
margin: 3em 0 0 2em;
}
.thumbnail .r {
width: 14em;
float: left;
}
/* spoiler */
.spoiler > input + .box > span.spoilerbody {
display: none;
}
.spoiler > input:checked + .box > span.spoilerbody {
display: block;
}
.spoiler > input[type="checkbox"] {
display: none;
}
.spoiler > input[type="checkbox"]:focus {
outline: none;
}
.spoiler span.close,
.spoiler span.open {
text-align: right;
font-style: italic;
}
.spoiler > input + .box > span.close {
display: none;
}
.spoiler > input:checked + .box > span.close {
display: inline;
}
.spoiler > input:checked + .box > span.open {
display: none;
}
.spoiler > input + .box > span.open {
display: inline;
}
.spoiler span.spoilerbody,
.spoiler {
border-radius: 5px;
-webkit-border-radius: 5px;
-khtml-border-radius: 5px;
-moz-border-radius: 5px;
-o-border-radius: 5px;
-ms-border-radius: 5px;
}
.spoiler {
overflow-x: hidden;
}
.spoiler span.spoilerbody {
min-height: 23px;
margin: 0;
padding: 4px 4px 4px 10px;
border-style: none;
font-style: normal;
}
h1 .octicon-link, h2 .octicon-link, h3 .octicon-link, h4 .octicon-link, h5 .octicon-link, h6 .octicon-link {
display: none;
color: #222222;
vertical-align: middle;
}
h1:hover .anchor, h2:hover .anchor, h3:hover .anchor, h4:hover .anchor, h5:hover .anchor, h6:hover .anchor{
padding-left: 8px;
margin-left: -24px;
text-decoration: none;
}
h1:hover .anchor .octicon-link, h2:hover .anchor .octicon-link, h3:hover .anchor .octicon-link, h4:hover .anchor .octicon-link, h5:hover .anchor .octicon-link, h6:hover .anchor .octicon-link {
display: inline-block;
}
body {
padding: 50px;
font: 14px/1.5 "Liberation Sans", Helvetica, Arial, sans-serif;
color: #555555;
background: #eaeaea
}
h1, h2, h3, h4, h5, h6 {
color: #222222;
margin: 0 0 20px;
}
p, ul, ol, table, pre, dl {
margin: 0 0 20px;
}
h1, h2, h3 {
line-height: 1.1;
}
h1 {
font-size: 28px;
}
h2 {
color: #393939;
}
h3, h4, h5, h6 {
color: #494949;
}
a {
color: #3399cc;
text-decoration: none;
}
a:visited {
color: #740076;
}
a:hover {
text-decoration: underline;
}
a small {
font-size: 11px;
margin-top: -0.6em;
display: block;
}
.wrapper {
width: 80%;
margin: 0 auto;
}
blockquote {
border-left: 1px solid #ffffff;
margin: 0;
padding: 0 0 0 20px;
font-style: italic;
}
code, pre {
font-family: "Liberation Mono", Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;
color: #222222;
font-size: 12px;
}
pre {
padding: 8px 15px;
border-radius: 5px;
border: 1px solid #e5e5e5;
overflow-x: auto;
overflow-y: auto;
}
@external .codeblock;
div.codeblock {
padding: 8px 15px;
height: 200px;
border: 1px solid #e5e5e5;
font-family: "Liberation Mono", Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;
color: #333333;
font-size: 12px;
background: #f8f8f8;
overflow: auto;
display: block;
white-space: pre;
}
table {
width: 100%;
border-collapse: collapse;
}
th, td {
padding: 5px 10px;
border-bottom: 1px solid #ffffff;
}
dt {
color: #444444;
font-weight: 700;
}
th {
text-align: left;
color: #444444;
}
img {
max-width: 100%;
}
header {
width: 20%;
float: left;
position: fixed;
}
/* rainbow background =) */
header.rainbow {
background-image: url('/resources/rainbow.png');
background-position: left center;
background-repeat: no-repeat;
background-size: contain;
height: 70%;
}
header ul {
list-style: none;
height: 40px;
padding: 0;
background: #eeeeee;
border-radius: 5px;
border: 1px solid #d2d2d2;
box-shadow: inset #fff 0 1px 0, inset rgba(0,0,0,0.03) 0 -1px 0;
width: 15%;
}
header li {
width: 8%;
float: left;
border-right: 1px solid #d2d2d2;
height: 40px;
}
header ul a {
line-height: 1;
font-size: 11px;
color: #999999;
display: block;
text-align: center;
padding-top: 6px;
height: 40px;
}
strong {
color: #222222;
font-weight: 700;
}
header ul li + li {
width: 8%;
border-left: 1px solid #ffffff;
}
header ul li + li + li {
width: 8%;
border-right: none;
}
header ul a strong {
font-size: 14px;
display: block;
color: #222222;
}
section {
width: 70%;
float: right;
padding-bottom: 50px;
}
small {
font-size: 11px;
}
hr {
border: 0;
background: #ffffff;
height: 1px;
margin: 0 0 20px;
}
footer {
width: 20%;
float: left;
position: fixed;
bottom: 50px;
}
@media print, screen and (max-width: 960px) {
div.wrapper {
width: auto;
margin: 0;
}
header, section, footer {
float: none;
position: static;
width: auto;
}
header {
padding-right: 320px;
}
section {
border: 1px solid #e5e5e5;
border-width: 1px 0;
padding: 20px 0;
margin: 0 0 20px;
}
header a small {
display: inline;
}
header ul {
position: absolute;
right: 50px;
top: 52px;
}
}
@media print, screen and (max-width: 720px) {
body {
word-wrap: break-word;
}
header {
padding: 0;
}
header ul, header p.view {
position: static;
}
pre, code {
word-wrap: normal;
}
}
@media print, screen and (max-width: 480px) {
body {
padding: 15px;
}
header ul {
display: none;
}
}
@media print {
body {
padding: 0.4in;
font-size: 12pt;
color: #444444;
}
}