mirror of
https://github.com/arcan1s/arcanis.me.git
synced 2025-04-24 23:37:19 +00:00
504 lines
9.2 KiB
CSS
504 lines
9.2 KiB
CSS
/* spoiler */
|
|
.spoiler > input + .box > blockquote {
|
|
display: none;
|
|
}
|
|
.spoiler > input:checked + .box > blockquote {
|
|
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 blockquote,
|
|
.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 blockquote {
|
|
min-height: 23px;
|
|
margin: 0;
|
|
padding: 4px 4px 4px 10px;
|
|
border-style: none;
|
|
font-style: normal;
|
|
}
|
|
|
|
/* Liberation font ^^ */
|
|
@font-face {
|
|
font-family: "Liberation Serif";
|
|
font-style: normal;
|
|
font-weight: 300;
|
|
src: local("Liberation Serif"),
|
|
local("Liberation Serif Regular"),
|
|
local("LiberationSerif-Regular"),
|
|
url(LiberationSerif-Regular.ttf);
|
|
}
|
|
@font-face {
|
|
font-family: "Liberation Serif";
|
|
font-style: italic;
|
|
font-weight: 300;
|
|
src: local("Liberation Serif Italic"),
|
|
local("LiberationSerif-Italic"),
|
|
url(LiberationSerif-Italic.ttf);
|
|
}
|
|
@font-face {
|
|
font-family: "Liberation Serif";
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
src: local("Liberation Serif Bold"),
|
|
local("LiberationSerif-Bold"),
|
|
url(LiberationSerif-Bold.ttf);
|
|
}
|
|
@font-face {
|
|
font-family: "Liberation Serif";
|
|
font-style: italic;
|
|
font-weight: 600;
|
|
src: local("Liberation Serif Bold Italic"),
|
|
local("Liberation Serif BoldItalic"),
|
|
local("LiberationSerif-BoldItalic"),
|
|
url(LiberationSerif-BoldItalic.ttf);
|
|
}
|
|
@font-face {
|
|
font-family: "Liberation Mono";
|
|
font-style: normal;
|
|
font-weight: 300;
|
|
src: local("Liberation Mono"),
|
|
local("LiberationMono-Regular"),
|
|
url(LiberationMono-Regular.ttf);
|
|
}
|
|
|
|
|
|
body {
|
|
padding: 50px;
|
|
font: 14px/1.5 "Liberation Serif", Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
color: #555555;
|
|
font-weight: 300;
|
|
background: #dcdcdc
|
|
}
|
|
|
|
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;
|
|
font-weight: 350;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a small {
|
|
font-size: 11px;
|
|
color: #777777;
|
|
margin-top: -0.6em;
|
|
display: block;
|
|
}
|
|
|
|
.wrapper {
|
|
width: 80%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
blockquote {
|
|
border-left: 1px solid #e5e5e5;
|
|
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: #333333;
|
|
font-size: 12px;
|
|
}
|
|
|
|
pre {
|
|
padding: 8px 15px;
|
|
background: #f8f8f8;
|
|
border-radius: 5px;
|
|
border: 1px solid #e5e5e5;
|
|
overflow-x: 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 {
|
|
text-align: left;
|
|
padding: 5px 10px;
|
|
border-bottom: 1px solid #ffffff;
|
|
}
|
|
|
|
dt {
|
|
color: #444444;
|
|
font-weight: 700;
|
|
}
|
|
|
|
th {
|
|
color: #444444;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
header {
|
|
width: 24%;
|
|
float: left;
|
|
position: fixed;
|
|
}
|
|
|
|
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: 24%;
|
|
}
|
|
|
|
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: 60%;
|
|
float: right;
|
|
padding-bottom: 50px;
|
|
}
|
|
|
|
small {
|
|
font-size: 11px;
|
|
}
|
|
|
|
hr {
|
|
border: 0;
|
|
background: #ffffff;
|
|
height: 1px;
|
|
margin: 0 0 20px;
|
|
}
|
|
|
|
footer {
|
|
width: 24%;
|
|
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;
|
|
}
|
|
}
|
|
|
|
/* COMMENTS */
|
|
.comment {
|
|
background-color: transparent;
|
|
border-color: #cacaca;
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
color: black;
|
|
display: block;
|
|
margin-bottom: 10px;
|
|
margin-top: 10px;
|
|
padding: 0px;
|
|
width: 100%;
|
|
}
|
|
.comment .commentheader {
|
|
border-bottom-color: #cacaca;
|
|
border-bottom-style: solid;
|
|
border-bottom-width: 1px;
|
|
color: black;
|
|
background-image: -webkit-linear-gradient(#f8f8f8,#e1e1e1);
|
|
background-image: -moz-linear-gradient(#f8f8f8,#e1e1e1);
|
|
color: black;
|
|
display: block;
|
|
float: left;
|
|
font-family: "Liberation Sarif", helvetica, arial, freesans, clean, sans-serif;
|
|
font-size: 12px;
|
|
font-style: normal;
|
|
font-variant: normal;
|
|
font-weight: normal;
|
|
height: 33px;
|
|
line-height: 33px;
|
|
margin: 0px;
|
|
overflow-x: hidden;
|
|
overflow-y: hidden;
|
|
padding: 0px;
|
|
text-overflow: ellipsis;
|
|
text-shadow: rgba(255, 255, 255, 0.699219) 1px 1px 0px;
|
|
white-space: nowrap;
|
|
width: 100%;
|
|
}
|
|
.comment .commentheader .commentgravatar {
|
|
background-attachment: scroll;
|
|
background-clip: border-box;
|
|
background-color: white;
|
|
background-image: none;
|
|
background-origin: padding-box;
|
|
border-color: #c8c8c8;
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
color: black;
|
|
display: inline-block;
|
|
float: none;
|
|
font-family: "Liberation Sarif", helvetica, arial, freesans, clean, sans-serif;
|
|
font-size: 1px;
|
|
font-style: normal;
|
|
font-variant: normal;
|
|
font-weight: normal;
|
|
height: 20px;
|
|
line-height: 1px;
|
|
margin-left: 5px;
|
|
margin-right: 3px;
|
|
margin-top: -2px;
|
|
overflow-x: visible;
|
|
overflow-y: visible;
|
|
padding: 1px;
|
|
text-overflow: clip;
|
|
text-shadow: rgba(255, 255, 255, 0.699219) 1px 1px 0px;
|
|
vertical-align: middle;
|
|
white-space: nowrap;
|
|
width: 20px;
|
|
}
|
|
.comment .commentheader a:link {
|
|
text-decoration: none;
|
|
}
|
|
.comment .commentheader a:hover {
|
|
border-bottom: 1px solid;
|
|
}
|
|
.comment .commentheader .commentuser {
|
|
background-color: transparent;
|
|
color: black;
|
|
display: inline;
|
|
float: none;
|
|
font-family: "Liberation Sarif", helvetica, arial, freesans, clean, sans-serif;
|
|
font-size: 12px;
|
|
font-style: normal;
|
|
font-variant: normal;
|
|
font-weight: bold;
|
|
height: 0px;
|
|
line-height: 16px;
|
|
margin-left: 5px;
|
|
margin-right: 10px;
|
|
overflow-x: visible;
|
|
overflow-y: visible;
|
|
padding: 0px;
|
|
text-overflow: clip;
|
|
text-shadow: rgba(255, 255, 255, 0.699219) 1px 1px 0px;
|
|
white-space: nowrap;
|
|
width: 0px;
|
|
}
|
|
.comment .commentheader .commentdate {
|
|
background-color: transparent;
|
|
color: #777777;
|
|
display: inline;
|
|
float: none;
|
|
font-family: "Liberation Sarif", helvetica, arial, freesans, clean, sans-serif;
|
|
font-size: 11px;
|
|
font-style: normal;
|
|
font-variant: normal;
|
|
font-weight: normal;
|
|
height: 0px;
|
|
line-height: 33px;
|
|
margin: 0px;
|
|
overflow-x: visible;
|
|
overflow-y: visible;
|
|
padding: 0px;
|
|
text-overflow: clip;
|
|
text-shadow: rgba(255, 255, 255, 0.699219) 1px 1px 0px;
|
|
white-space: nowrap;
|
|
width: 20em;
|
|
}
|
|
.comment .commentbody {
|
|
background-attachment: scroll;
|
|
background-clip: border-box;
|
|
background-color: transparent;
|
|
background-image: none;
|
|
background-origin: padding-box;
|
|
color: #333333;
|
|
display: block;
|
|
margin-bottom: 1em;
|
|
margin-left: 1em;
|
|
margin-right: 1em;
|
|
margin-top: 40px;
|
|
overflow-x: visible;
|
|
overflow-y: visible;
|
|
padding: 0em;
|
|
position: static;
|
|
width: 96%;
|
|
word-wrap: break-word;
|
|
}
|
|
.comment .commentbody p {
|
|
margin-bottom: 0.5em;
|
|
margin-top: 0.5em;
|
|
margin-left: 0em;
|
|
margin-right: 0em;
|
|
}
|
|
.comment .commentbody pre {
|
|
border: 0px solid #dddddd;
|
|
background-color: #eeeeff;
|
|
padding: 0 .4em;
|
|
}
|
|
.comment .commentbody pre code {
|
|
border: 0px solid #dddddd;
|
|
}
|
|
.comment .commentbody code {
|
|
border: 1px solid #dddddd;
|
|
background-color: #eeeeff;
|
|
font-size: 85%;
|
|
padding: 0 .2em;
|
|
}
|