diff options
author | housne <housne@gmail.com> | 2013-10-19 02:28:55 +0800 |
---|---|---|
committer | housne <housne@gmail.com> | 2013-10-19 02:28:55 +0800 |
commit | 7d192c0045b4b3441407e094fafbcf8d14448df5 (patch) | |
tree | 3381301037d02d080478a89e4d838346e181896f /simple-bootstrap/static/style.css | |
parent | c3a18e33de278407c622daec0f4cbecb9125f96e (diff) | |
download | pelican-themes-7d192c0045b4b3441407e094fafbcf8d14448df5.tar.gz |
pelican new theme simple-bootstrap
Diffstat (limited to 'simple-bootstrap/static/style.css')
-rw-r--r-- | simple-bootstrap/static/style.css | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/simple-bootstrap/static/style.css b/simple-bootstrap/static/style.css new file mode 100644 index 0000000..ae7a83f --- /dev/null +++ b/simple-bootstrap/static/style.css @@ -0,0 +1,79 @@ +/* Space out content a bit */ +body { + padding-top: 20px; + padding-bottom: 20px; +} + +/* Everything but the jumbotron gets side spacing for mobile first views */ +.header, +.marketing, +.footer { + padding-left: 15px; + padding-right: 15px; +} + +/* Custom page header */ +.header { + border-bottom: 1px solid #e5e5e5; +} +/* Make the masthead heading the same height as the navigation */ +.header h3 { + margin-top: 0; + margin-bottom: 0; + line-height: 40px; + padding-bottom: 19px; +} + +/* Custom page footer */ +.footer { + padding-top: 19px; + color: #777; + border-top: 1px solid #e5e5e5; +} + +/* Customize container */ +@media (min-width: 768px) { + .container { + max-width: 730px; + } +} +.container-narrow > hr { + margin: 30px 0; +} + +/* Main marketing message and sign up button */ +.jumbotron { + text-align: center; + border-bottom: 1px solid #e5e5e5; +} +.jumbotron .btn { + font-size: 21px; + padding: 14px 24px; +} + +/* Supporting marketing content */ +.marketing { + margin: 40px 0; +} +.marketing p + h4 { + margin-top: 28px; +} + +/* Responsive: Portrait tablets and up */ +@media screen and (min-width: 768px) { + /* Remove the padding we set earlier */ + .header, + .marketing, + .footer { + padding-left: 0; + padding-right: 0; + } + /* Space out the masthead */ + .header { + margin-bottom: 30px; + } + /* Remove the bottom border on the jumbotron for visual effect */ + .jumbotron { + border-bottom: 0; + } +} |