personal-website/assets/css/docs.css

161 lines
2.7 KiB
CSS
Raw Permalink Normal View History

2017-04-20 20:53:45 +00:00
body {
font-weight: 300;
}
a:hover,
a:focus {
text-decoration: none;
}
.container {
max-width: 700px;
}
h2 {
text-align: center;
font-weight: 300;
}
/* Header
-------------------------------------------------- */
.jumbotron {
position: relative;
font-size: 16px;
color: #fff;
color: rgba(255,255,255,.75);
text-align: center;
background-color: #b94a48;
border-radius: 0;
}
.jumbotron h1,
.jumbotron .glyphicon-ok {
margin-bottom: 15px;
font-weight: 300;
letter-spacing: -1px;
color: #fff;
}
.jumbotron .glyphicon-ok {
font-size: 40px;
line-height: 1;
}
.btn-outline {
margin-top: 15px;
margin-bottom: 15px;
padding: 18px 24px;
font-size: inherit;
font-weight: 500;
color: #fff; /* redeclare to override the `.jumbotron a` */
background-color: transparent;
border-color: #fff;
border-color: rgba(255,255,255,.5);
transition: all .1s ease-in-out;
}
.btn-outline:hover,
.btn-outline:active {
color: #b94a48;
background-color: #fff;
border-color: #fff;
}
.jumbotron:after {
position: absolute;
right: 0;
bottom: 0;
left: 0;
z-index: 10;
display: block;
content: "";
height: 30px;
background-image: -moz-linear-gradient(rgba(0, 0, 0, 0), rgba(0,0,0,.1));
background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0,0,0,.1));
}
.jumbotron p a,
.jumbotron-links a {
font-weight: 500;
color: #fff;
transition: all .1s ease-in-out;
}
.jumbotron p a:hover,
.jumbotron-links a:hover {
text-shadow: 0 0 10px rgba(255,255,255,.55);
}
/* Textual links */
.jumbotron-links {
margin-top: 15px;
margin-bottom: 0;
padding-left: 0;
list-style: none;
font-size: 14px;
}
.jumbotron-links li {
display: inline;
}
.jumbotron-links li + li {
margin-left: 20px;
}
@media (min-width: 768px) {
.jumbotron {
padding-top: 100px;
padding-bottom: 100px;
font-size: 21px;
}
.jumbotron h1,
.jumbotron .glyphicon-ok {
font-size: 50px;
}
}
/* Steps for setup
-------------------------------------------------- */
.how-to {
padding: 50px 20px;
border-top: 1px solid #eee;
}
.how-to li {
font-size: 21px;
line-height: 1.5;
margin-top: 20px;
}
.how-to li p {
font-size: 16px;
color: #555;
}
.how-to code {
font-size: 85%;
color: #b94a48;
background-color: #fcf3f2;
word-wrap: break-word;
white-space: normal;
}
/* Icons
-------------------------------------------------- */
.the-icons {
padding: 40px 10px;
font-size: 20px;
line-height: 2;
color: #333;
text-align: center;
}
.the-icons .glyphicon {
padding-left: 15px;
padding-right: 15px;
}
/* Footer
-------------------------------------------------- */
.footer {
padding: 50px 30px;
color: #777;
text-align: center;
border-top: 1px solid #eee;
}