Bootstap v4.0.0-alpha.5 \o/ compatible

I couldn't resist
This commit is contained in:
Raymond Wanyoike 2016-11-30 23:49:26 +03:00
commit b2ab9b8041
7 changed files with 99 additions and 136 deletions

View file

@ -6,19 +6,6 @@
body {
background-color: #f5f5f5;
font-family: Merriweather, Georgia, serif;
font-size: 16px;
line-height: 1.5;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: Montserrat, 'Helvetica Neue', sans-serif;
font-weight: bold;
}
a {
@ -30,79 +17,55 @@ a:hover {
color: #0085a1
}
blockquote {
color: #777;
font-style: italic
}
/* ------------------------------------------------------------------------- */
.container {
max-width: 970px;
max-width: 960px;
}
.header {
border-bottom: 1px solid #ddd;
padding-bottom: 10px;
border-bottom: 1px solid rgba(0,0,0,.1);
padding-top: 1rem;
}
.header img {
margin: 20px 0;
margin-bottom: 1rem;
}
.header .title {
font-size: 3em;
font-size: 3rem;
font-weight: bold;
margin-bottom: 1rem;
}
.header p {
margin-top: 20px;
}
.header hr {
border-color: #ddd;
margin: 15px 0;
.header ul,
.header li {
margin-bottom: .5rem;
}
.header ul {
font-family: Montserrat, 'Helvetica Neue', sans-serif;
font-size: 1.1em;
margin-bottom: 0;
font-size: 1.25rem;
font-weight: 300;
text-transform: lowercase;
}
.header li {
margin-bottom: 10px;
}
.main {
background-color: #fff;
padding: 20px 0;
padding: 2rem 0;
}
.footer {
border-top: 1px solid #ddd;
padding: 20px 0;
}
.footer ul {
margin-bottom: 0;
}
.page-header {
margin-top: 0;
}
.page-header h1 {
line-height: 1.3;
}
.pagination > li > a,
.pagination > li > span {
color: #333;
border-top: 1px solid rgba(0,0,0,.1);
padding-top: 1rem;
}
.highlight pre {
border: 1px solid #ddd;
border: 1px solid rgba(0,0,0,.1);
padding: 1rem;
}
.pagination .page-link {
color: #333;
}
.teaser header ul {
@ -111,42 +74,37 @@ blockquote {
}
.teaser header li {
margin-bottom: 10px;
}
.teaser .title {
margin-top: 0;
line-height: 1.3;
margin-bottom: .5rem;
}
.teaser .content p {
margin-bottom: 0;
}
.article header ul {
margin-bottom: 0;
}
.article header ul,
.article header li {
margin-bottom: 10px;
margin-bottom: .5rem;
}
.article .content p {
margin: 25px 0;
margin: 1.5rem 0;
}
.article .content a {
text-decoration: underline
}
@media (max-width: 768px) {
.teaser header ul {
margin-left: -5px;
@media (max-width: 576px) {
.header,
.footer {
text-align: center;
}
.teaser header li {
display: inline-block;
padding-right: 5px;
padding-left: 5px;
}
.teaser header li:not(:last-child) {
margin-right: 5px;
}
}