mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-04 23:09:44 +01:00
- got rid of '!important' instruction across the entire stylesheet file, per the suggestion of codeclient-based code review
436 lines
6.6 KiB
CSS
436 lines
6.6 KiB
CSS
body, html {
|
|
margin: 15px;
|
|
padding: 5px;
|
|
font-family: "Lora", Helvetica, Arial, "Lucida Grande", sans-serif;
|
|
font-weight: 300;
|
|
font-size: 18px;
|
|
}
|
|
|
|
body {
|
|
line-height: 2;
|
|
color: #444;
|
|
background: #fff;
|
|
}
|
|
|
|
img, iframe {
|
|
max-width: 100%;
|
|
}
|
|
|
|
iframe {
|
|
max-height: 100%;
|
|
}
|
|
|
|
img {
|
|
height:auto;
|
|
}
|
|
|
|
iframe {
|
|
border: 0;
|
|
}
|
|
|
|
|
|
header {
|
|
width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.container {
|
|
width: 95%;
|
|
max-width: 650px;
|
|
margin: 0 auto;
|
|
position: relative;
|
|
}
|
|
|
|
strong {
|
|
font-weight: 700;
|
|
}
|
|
|
|
h1 {
|
|
font-family: "Lora", Helvetica, Arial, "Lucida Grande", sans-serif;
|
|
font-weight: 300;
|
|
margin: 10px 0;
|
|
line-height: 40px;
|
|
color: inherit;
|
|
text-rendering: optimizelegibility;
|
|
font-size: 50px;
|
|
}
|
|
|
|
h2 {
|
|
font-family: "Lora", Helvetica, Arial, "Lucida Grande", sans-serif;
|
|
font-weight: 300;
|
|
margin: 10px 0;
|
|
line-height: 40px;
|
|
color: inherit;
|
|
text-rendering: optimizelegibility;
|
|
font-size: 36px;
|
|
}
|
|
|
|
h3 {
|
|
font-family: "Lora", Helvetica, Arial, "Lucida Grande", sans-serif;
|
|
font-weight: 300;
|
|
margin: 10px 0;
|
|
line-height: 40px;
|
|
color: inherit;
|
|
text-rendering: optimizelegibility;
|
|
font-size: 24.5px;
|
|
}
|
|
|
|
h4 {
|
|
font-family: "Lora", Helvetica, Arial, "Lucida Grande", sans-serif;
|
|
font-weight: 300;
|
|
margin: 10px 0;
|
|
line-height: 20px;
|
|
color: inherit;
|
|
text-rendering: optimizelegibility;
|
|
font-size: 17.5px;
|
|
}
|
|
|
|
h5 {
|
|
font-family: "Lora", Helvetica, Arial, "Lucida Grande", sans-serif;
|
|
font-weight: 300;
|
|
margin: 10px 0;
|
|
line-height: 20px;
|
|
color: inherit;
|
|
text-rendering: optimizelegibility;
|
|
font-size: 14px;
|
|
}
|
|
|
|
h6 {
|
|
font-family: "Lora", Helvetica, Arial, "Lucida Grande", sans-serif;
|
|
font-weight: 300;
|
|
margin: 10px 0;
|
|
line-height: 20px;
|
|
color: inherit;
|
|
text-rendering: optimizelegibility;
|
|
font-size: 11.9px;
|
|
}
|
|
|
|
hr {
|
|
background: #EEE;
|
|
border: 0;
|
|
height: 1px;
|
|
margin: 40px 0 40px;
|
|
}
|
|
|
|
blockquote {
|
|
margin: 1em 0;
|
|
border-left: 3px solid #ccc;
|
|
padding-left: 20px;
|
|
text-align: left;
|
|
}
|
|
|
|
dt {
|
|
font-weight: 700;
|
|
}
|
|
|
|
dd {
|
|
padding: 0;
|
|
margin: 0 0 25px 0;
|
|
}
|
|
|
|
a {
|
|
-webkit-transition: all ease 150ms;
|
|
-moz-transition: all ease 150ms;
|
|
-o-transition: all ease 150ms;
|
|
transition: all ease 150ms;
|
|
text-decoration: none;
|
|
color: #26abe2;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
a:active {
|
|
color: #47b5e2;
|
|
}
|
|
|
|
pre {
|
|
display: block;
|
|
padding: 9.5px;
|
|
margin: 0 0 10px;
|
|
font-size: 13px;
|
|
line-height: 1.42857143;
|
|
color: #333;
|
|
word-break: break-all;
|
|
word-wrap: break-word;
|
|
background-color: #f5f5f5;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
code {
|
|
display: block;
|
|
padding: 9.5px;
|
|
margin: 0 0 10px;
|
|
font-size: 13px;
|
|
line-height: 1.42857143;
|
|
color: #333;
|
|
word-break: break-all;
|
|
word-wrap: break-word;
|
|
background-color: #f5f5f5;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* Header and Footer Styles */
|
|
header {
|
|
padding: 2em 0 2em 0;
|
|
text-align: center;
|
|
background: #26abe2;
|
|
color: #fff;
|
|
}
|
|
|
|
footer {
|
|
text-align: center;
|
|
padding: 1.5em 0;
|
|
}
|
|
|
|
footer p {
|
|
margin: 0;
|
|
color: #999;
|
|
}
|
|
|
|
|
|
|
|
/* Navigation Styles */
|
|
nav {
|
|
background: #135571;
|
|
padding: 10px 0;
|
|
min-height: 60px;
|
|
}
|
|
|
|
nav ul, nav li {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
nav a {
|
|
padding: 0 1em;
|
|
color: #EEE;
|
|
font-size: .9em;
|
|
height: 60px;
|
|
line-height: 60px;
|
|
display: block;
|
|
}
|
|
|
|
nav h1 a {
|
|
padding: 7px 1em;
|
|
height: 46px;
|
|
line-height: 0;
|
|
height: 45px;
|
|
line-height: 45px;
|
|
}
|
|
|
|
nav a:hover {
|
|
background: #195974;
|
|
text-decoration: none;
|
|
}
|
|
|
|
nav a:active {
|
|
background: #27637e;
|
|
}
|
|
|
|
|
|
nav a:active {
|
|
color: #fff;
|
|
cursor: default;
|
|
}
|
|
|
|
|
|
|
|
nav ul.toplinks {
|
|
padding: 20px 0 0 0;
|
|
}
|
|
|
|
nav #menu {
|
|
overflow: hidden;
|
|
max-height: 0;
|
|
clear: right;
|
|
}
|
|
|
|
|
|
nav #menu-toggle {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
font-size: 1.5em;
|
|
padding: 0 16px;
|
|
}
|
|
|
|
nav #logo {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
}
|
|
|
|
@media only screen and (min-width: 680px) {
|
|
nav, nav #menu {
|
|
height: 60px;
|
|
}
|
|
|
|
nav li, nav a {
|
|
float: left;
|
|
}
|
|
|
|
|
|
nav ul.toplinks {
|
|
float: left;
|
|
padding: 0;
|
|
clear: none;
|
|
}
|
|
|
|
nav ul.toplinks li {
|
|
margin: 0 0 0 10px;
|
|
}
|
|
|
|
nav #menu-toggle {
|
|
display: none;
|
|
}
|
|
|
|
nav #menu {
|
|
max-height: 9999px;
|
|
clear: none;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Content Styles */
|
|
section { padding: 1em 0 3em; text-align: center; }
|
|
section.vibrant { background: #222; color: #fff; }
|
|
|
|
nav:before,
|
|
nav:after,
|
|
header:before,
|
|
header:after,
|
|
section:before,
|
|
section:after {
|
|
content: " ";
|
|
display: table;
|
|
}
|
|
|
|
nav:after, header:after, section:after { clear: both; }
|
|
nav, header, section { *zoom: 1; }
|
|
|
|
|
|
|
|
/* Form Styles */
|
|
input {
|
|
display: block;
|
|
vertical-align: middle;
|
|
line-height: 30px;
|
|
margin: 0 auto;
|
|
width: 100%;
|
|
max-width: 400px;
|
|
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
|
-webkit-transition: all linear 0.2s;
|
|
-moz-transition: all linear 0.2s;
|
|
-o-transition: all linear 0.2s;
|
|
transition: all linear 0.2s;
|
|
}
|
|
|
|
|
|
|
|
input:focus {
|
|
border-color: #007eb2;
|
|
outline: 0;
|
|
}
|
|
|
|
.docs-nav {
|
|
background-color: #f5f5f5;
|
|
list-style: none;
|
|
margin: 0 0 0 20px;
|
|
padding: 15px 20px;
|
|
font-size: 0.97em;
|
|
}
|
|
|
|
.docs-nav a {
|
|
display: block;
|
|
margin: 0 -20px;
|
|
padding: 0 20px;
|
|
text-decoration: none;
|
|
border-right: 2px solid transparent;
|
|
}
|
|
|
|
@media only screen and (min-width: 400px) {
|
|
|
|
}
|
|
|
|
@media only screen and (min-width: 600px) {
|
|
|
|
}
|
|
|
|
@media only screen and (min-width: 960px) {
|
|
.docs-nav {
|
|
position: absolute;
|
|
top: 0;
|
|
width: 220px;
|
|
|
|
-webkit-transition: top linear 50ms;
|
|
-moz-transition: top linear 50ms;
|
|
-o-transition: top linear 50ms;
|
|
transition: top linear 50ms;
|
|
}
|
|
|
|
.docs-nav.fixed {
|
|
position: fixed;
|
|
top: 49px;
|
|
width: 220px;
|
|
}
|
|
|
|
.docs-nav a:hover {
|
|
background: #eee;
|
|
}
|
|
|
|
.docs-nav a:active,
|
|
.docs-nav .active {
|
|
background: #eee;
|
|
border-right: 2px solid #ccc;
|
|
}
|
|
|
|
.docs-nav .separator {
|
|
height: 20px;
|
|
}
|
|
|
|
.docs-content {
|
|
padding-left: 310px;
|
|
}
|
|
|
|
|
|
|
|
header {
|
|
padding: 4em 0 4em 0;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1000px;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
section { padding: 3em 0; text-align: left; }
|
|
section.centered {
|
|
text-align: center;
|
|
}
|
|
|
|
input {
|
|
display: inline-block;
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|