mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
88ec7d88d1
Organize CSS and Javascript files into directories, separating vendor source code from home-grown. Separate new properties and selectors in Bootstrap CSS (already edited for Hugo) from: 1. Original property values; and 2. Changed property values. For the home page: 1. Clarify the English text; 2. Add some element names to classes in CSS selectors (to speed loading); 3. Document the Owl Carousel and Highlight.js versions; 4. Add Owl Carousel's license; 5. Restore HTML comments to browser source views; 6. Make the beginning GitHub button transparent on focus (like the others); 7. For the final, colored Twitter and Github buttons: a. Remove the dotted box on focus; and b. Color them green on active. 8. To increase (layout/) source readability: a. Place `class` attributes before `href` attributes; b. In `class` attributes, place more-specific class names before less-specific; and c. Comment the beginnings and ends of Bootstrap rows. 9. To increase understandability during development: a. Document the meaning of CSS file, `HPstyles` by renaming it to `home-page-style`; b. Move inline styling to CSS stylesheets; c. Separate @media queries to a file; d. Separate the inline Owl Carousel custom Javascript to a file; e. Use regular Owl Carousel CSS files instead of minified ones; and f. Rename the wide, landscape desk background image filename from `desk-long` to `desk-wide`.
136 lines
2.6 KiB
CSS
136 lines
2.6 KiB
CSS
/*!
|
|
* Bootstrap for http://gohugo.io/
|
|
* value changes to properties in Bootstrap selectors;
|
|
* Bootstrap must already have the same properties in the same selectors.
|
|
*
|
|
* Keep all such value changes to Bootstrap v3.3.6 here.
|
|
*
|
|
* Here, maintain the same order as the original Bootstrap file.
|
|
*
|
|
* Keep all new properties, for new or existing selectors,
|
|
* in other stylesheets.
|
|
*
|
|
* Copyright 2013-2016 Steve Francia and the Hugo Authors
|
|
*
|
|
* Based on 'dist/css/bootstrap.css' from:
|
|
*
|
|
* Bootstrap v3.3.6 (http://getbootstrap.com)
|
|
* Copyright 2011-2015 Twitter, Inc.
|
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
*/
|
|
body {
|
|
font-family: Lato;
|
|
color: #2b2b2b;
|
|
}
|
|
a {
|
|
color: #ff4088;
|
|
}
|
|
a:hover,
|
|
a:focus {
|
|
color: #ff4088;
|
|
}
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-family: Lato;
|
|
font-weight: 400;
|
|
}
|
|
code,
|
|
kbd,
|
|
pre,
|
|
samp {
|
|
font-family: Menlo, Consolas, 'DejaVu Sans Mono',
|
|
'Bitstream Vera Sans Mono', 'Lucida Console', Monaco,
|
|
'Droid Sans Mono', monospace;
|
|
}
|
|
legend {
|
|
color: #2b2b2b;
|
|
border-bottom: 1px solid #c7c7cc;
|
|
}
|
|
.btn:focus {
|
|
/*outline: thin dotted;
|
|
outline: 5px auto -webkit-focus-ring-color;
|
|
outline-offset: -2px;*/
|
|
outline: none;
|
|
}
|
|
.btn:hover,
|
|
.btn:focus {
|
|
color: #2b2b2b;
|
|
}
|
|
.btn-default:focus {
|
|
color: #fff;
|
|
background-color: #9e9e9e;
|
|
border-color: #9e9e9e;
|
|
}
|
|
.btn-default:hover {
|
|
color: #fff;
|
|
background-color: #9e9e9e;
|
|
border-color: #9e9e9e;
|
|
}
|
|
.btn-default:active {
|
|
color: #fff;
|
|
background-color: #9e9e9e;
|
|
border-color: #9e9e9e;
|
|
}
|
|
.btn-primary {
|
|
background-color: #007aff;
|
|
border-color: #007aff;
|
|
}
|
|
.btn-primary:focus {
|
|
color: #007aff;
|
|
border-color: #007aff;
|
|
}
|
|
.btn-primary:hover {
|
|
color: #007aff;
|
|
background-color: aliceblue;
|
|
border-color: #007aff;
|
|
}
|
|
.btn-primary:active {
|
|
color: #007aff;
|
|
border-color: #007aff;
|
|
}
|
|
.btn-success {
|
|
background-color: #4cd964;
|
|
border-color: #4cd964;
|
|
}
|
|
.btn-success:focus {
|
|
color: #4cd964;
|
|
border-color: #4cd964;
|
|
}
|
|
.btn-success:hover {
|
|
color: #4cd964;
|
|
background-color: aliceblue;
|
|
border-color: #4cd964;
|
|
}
|
|
.btn-success:active {
|
|
color: #4cd964;
|
|
border-color: #4cd964;
|
|
}
|
|
.btn-info {
|
|
background-color: #34aadc;
|
|
border-color: #34aadc;
|
|
}
|
|
.btn-info:focus {
|
|
color: #34aadc;
|
|
border-color: #34aadc;
|
|
}
|
|
.btn-info:hover {
|
|
color: #34aadc;
|
|
background-color: aliceblue;
|
|
border-color: #34aadc;
|
|
}
|
|
.btn-info:active {
|
|
color: #34aadc;
|
|
border-color: #34aadc;
|
|
}
|
|
.panel {
|
|
border: 0px solid transparent;
|
|
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
|
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
|
|
}
|
|
.panel-body {
|
|
padding: 15px 15px 0px 15px;
|
|
}
|