зеркало из https://github.com/mislav/hub.git
208 строки
2.8 KiB
CSS
208 строки
2.8 KiB
CSS
body {
|
|
font: 100% -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
|
|
margin: 0;
|
|
}
|
|
|
|
a:link,
|
|
a:visited,
|
|
a:active {
|
|
color: rgb(65, 131, 196);
|
|
-webkit-transition: color .2s ease-out;
|
|
}
|
|
|
|
a:hover {
|
|
color: rgb(35, 101, 166);
|
|
}
|
|
|
|
header {
|
|
background: #ced0d8;
|
|
float: left;
|
|
width: 100%;
|
|
text-align: center;
|
|
padding: 2em 0;
|
|
}
|
|
|
|
h1 {
|
|
font: 400 1.3em Futura, Lucida Grande, -apple-system, Helvetica, Arial, sans-serif;
|
|
text-transform: uppercase;
|
|
color: white;
|
|
text-shadow: rgba(0,0,0,.7) 1px 1px 2px;
|
|
margin: .2em 0;
|
|
line-height: 1.2;
|
|
float: left;
|
|
width: 90%;
|
|
}
|
|
|
|
h1 a {
|
|
text-decoration: none;
|
|
font-size: 4.5em;
|
|
letter-spacing: -.1em;
|
|
margin-right: .1em;
|
|
position: relative;
|
|
top: .1em;
|
|
text-transform: none;
|
|
-webkit-text-stroke: white 1px;
|
|
text-shadow:
|
|
#eee -1px -1px 0,
|
|
#eee -2px -2px 0,
|
|
#eee -3px -3px 0,
|
|
#eee -4px -4px 0,
|
|
rgba(65, 131, 196, .3) -5px -5px 0;
|
|
}
|
|
|
|
h1 a:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
footer {
|
|
text-shadow: rgba(255,255,255,.8) 0 1px 0;
|
|
}
|
|
|
|
h2 {
|
|
margin: 0;
|
|
color: #444;
|
|
}
|
|
h3 {
|
|
margin: 1.5em 0 0 0;
|
|
}
|
|
|
|
p code,
|
|
footer,
|
|
pre {
|
|
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
|
|
}
|
|
|
|
section {
|
|
max-width: 100ex;
|
|
clear: both;
|
|
color: #444;
|
|
padding: 1em;
|
|
margin: 12px auto 0;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
section p {
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
section p em {
|
|
font-style: normal;
|
|
background: #fcf4c1;
|
|
padding: 1px 4px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
|
|
pre {
|
|
margin: .5em 0 0 0;
|
|
line-height: 1.5;
|
|
background: #222;
|
|
border-radius: 5px;
|
|
padding: 1em 1.5em;
|
|
color: white;
|
|
}
|
|
pre .p:before {
|
|
content: "$ ";
|
|
}
|
|
|
|
pre .comment {
|
|
color: #969896;
|
|
line-height: 1.4;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
pre .comment .hidden {
|
|
color: #222;
|
|
}
|
|
|
|
pre .result {
|
|
color: #777;
|
|
margin-left: 1em;
|
|
}
|
|
|
|
pre strong {
|
|
color: #dada82;
|
|
font-weight: 400;
|
|
}
|
|
pre .value {
|
|
color:rgb(187, 169, 253);
|
|
}
|
|
|
|
footer {
|
|
text-align: center;
|
|
margin-top: 15px;
|
|
color: gray;
|
|
}
|
|
|
|
@media only screen and (max-width: 768px) {
|
|
body {
|
|
width: auto;
|
|
margin: 0;
|
|
padding: 16px;
|
|
padding-top: 0;
|
|
}
|
|
|
|
section {
|
|
margin-top: 16px;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 480px) {
|
|
body {
|
|
padding: 6px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
h1 {
|
|
margin-top: 0;
|
|
}
|
|
|
|
h1 {
|
|
width: auto;
|
|
text-align: center;
|
|
float: none;
|
|
}
|
|
|
|
h1 a {
|
|
display: block;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
section {
|
|
margin-top: 6px;
|
|
padding: .5em 8px;
|
|
line-height: 1.3;
|
|
overflow: hidden;
|
|
}
|
|
|
|
section h2 {
|
|
font-size: 16px;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
section p {
|
|
font-size: 1em;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
section p em {
|
|
padding: 0;
|
|
border-radius: 0;
|
|
}
|
|
|
|
pre {
|
|
font-size: 13px;
|
|
line-height: 1.2;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
pre .comment {
|
|
font-size: 1em;
|
|
}
|
|
|
|
pre .result {
|
|
font-size: .9em;
|
|
margin-left: 0;
|
|
}
|
|
}
|