Don Chambers c0ede6cf6a Clean blog theme minor revisions
Static page templates, archive page template, staticpage backend
template, font awesome upgrade
2016-02-02 14:02:34 -06:00

739 lines
15 KiB
CSS

/* CSS crunched with Crunch - http://crunchapp.net/ */
/*!
* Clean Blog v1.0.0 (http://startbootstrap.com)
* Copyright 2014 Start Bootstrap
* Licensed under Apache 2.0 (https://github.com/IronSummitMedia/startbootstrap/blob/gh-pages/LICENSE)
* Theme ported to Serendipity (http://s9y.org) by Don Chambers
* Last modified February 2, 2016
* Font Awesome by Dave Gandy - http://fontawesome.io
*/
body {
font-family: 'Lora', 'Times New Roman', serif;
font-size: 20px;
color: #404040;
}
p {
line-height: 1.5;
margin: 0 0 30px;
}
p a {
text-decoration: underline;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: 800;
}
a {
color: #404040;
}
a:hover,
a:focus {
color: #0085a1;
}
a img:hover,
a img:focus {
cursor: zoom-in;
}
blockquote {
color: #808080;
font-style: italic;
}
hr.small {
max-width: 100px;
margin: 15px auto;
border-width: 4px;
border-color: white;
}
ol,
ul {
margin-bottom: 30px;
}
ol a,
ul a {
text-decoration: underline;
}
.navbar-custom {
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 3;
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.navbar-custom .navbar-brand {
font-weight: 800;
}
.navbar-custom .nav li a {
text-decoration: none;
text-transform: uppercase;
font-size: 12px;
font-weight: 800;
letter-spacing: 1px;
}
@media only screen and (min-width: 768px) {
.navbar-custom {
background: transparent;
border-bottom: 1px solid transparent;
}
.navbar-custom .navbar-brand {
color: white;
padding: 20px;
}
.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus {
color: rgba(255, 255, 255, 0.8);
}
.navbar-custom .nav li a {
color: white;
padding: 20px;
}
.navbar-custom .nav li a:hover,
.navbar-custom .nav li a:focus {
color: rgba(255, 255, 255, 0.8);
}
}
@media only screen and (min-width: 1170px) {
.navbar-custom {
-webkit-transition: background-color 0.3s;
-moz-transition: background-color 0.3s;
transition: background-color 0.3s;
/* Force Hardware Acceleration in WebKit */
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
-ms-transform: translate3d(0, 0, 0);
-o-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.navbar-custom.is-fixed {
/* when the user scrolls down, we hide the header right above the viewport */
position: fixed;
top: -61px;
background-color: rgba(255, 255, 255, 0.9);
border-bottom: 1px solid #f2f2f2;
-webkit-transition: -webkit-transform 0.3s;
-moz-transition: -moz-transform 0.3s;
transition: transform 0.3s;
}
.navbar-custom.is-fixed .navbar-brand {
color: #404040;
}
.navbar-custom.is-fixed .navbar-brand:hover,
.navbar-custom.is-fixed .navbar-brand:focus {
color: #0085a1;
}
.navbar-custom.is-fixed .nav li a {
color: #404040;
}
.navbar-custom.is-fixed .nav li a:hover,
.navbar-custom.is-fixed .nav li a:focus {
color: #0085a1;
}
.navbar-custom.is-visible {
/* if the user changes the scrolling direction, we show the header */
-webkit-transform: translate3d(0, 100%, 0);
-moz-transform: translate3d(0, 100%, 0);
-ms-transform: translate3d(0, 100%, 0);
-o-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
}
}
.intro-header {
background-color: #433a31 !important;
background: no-repeat center center;
background-attachment: scroll;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
margin-bottom: 40px;
}
.intro-header .site-heading,
.intro-header .post-heading,
.intro-header .page-heading {
padding: 100px 0 50px;
color: white;
}
@media only screen and (min-width: 768px) {
.intro-header .site-heading,
.intro-header .post-heading,
.intro-header .page-heading {
padding: 150px 0;
}
}
.intro-header .site-heading,
.intro-header .page-heading {
text-align: center;
}
.intro-header .site-heading h1,
.intro-header .page-heading h1 {
margin-top: 0;
font-size: 50px;
}
.intro-header .site-heading .subheading,
.intro-header .page-heading .subheading {
font-size: 24px;
line-height: 1.1;
display: block;
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: 300;
margin: 10px 0 0;
}
@media only screen and (min-width: 768px) {
.intro-header .site-heading h1,
.intro-header .page-heading h1 {
font-size: 80px;
}
}
.intro-header .post-heading h1 {
font-size: 35px;
}
.intro-header .post-heading .subheading,
.intro-header .post-heading .meta {
line-height: 1.1;
display: block;
}
.intro-header .post-heading .subheading {
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 24px;
margin: 10px 0 30px;
font-weight: 600;
}
.intro-header .post-heading .meta {
font-family: 'Lora', 'Times New Roman', serif;
font-style: italic;
font-weight: 300;
font-size: 20px;
}
.intro-header .post-heading .meta a {
color: white;
}
@media only screen and (min-width: 768px) {
.intro-header .post-heading h1 {
font-size: 55px;
}
.intro-header .post-heading .subheading {
font-size: 30px;
}
}
.post-preview > a {
color: #404040;
}
.post-preview > a:hover,
.post-preview > a:focus {
text-decoration: none;
color: #0085a1;
}
.post-preview > a > .post-title {
font-size: 30px;
margin-top: 30px;
margin-bottom: 10px;
}
.post-preview > a > .post-subtitle {
margin: 0;
font-weight: 300;
margin-bottom: 10px;
}
.post-preview > .post-meta {
color: #808080;
font-size: 18px;
font-style: italic;
margin-top: 0;
}
.post-preview > .post-meta > a {
text-decoration: none;
color: #404040;
}
.post-preview > .post-meta > a:hover,
.post-preview > .post-meta > a:focus {
color: #0085a1;
text-decoration: underline;
}
@media only screen and (min-width: 768px) {
.post-preview > a > .post-title {
font-size: 36px;
}
}
.section-heading {
font-size: 36px;
margin-top: 60px;
font-weight: 700;
}
.caption {
text-align: center;
font-size: 14px;
padding: 10px;
font-style: italic;
margin: 0;
display: block;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
}
footer {
padding: 50px 0 65px;
}
footer .list-inline {
margin: 0;
padding: 0;
}
footer .copyright {
font-size: 14px;
text-align: center;
margin: 20px 0 0 0;
}
.floating-label-form-group {
font-size: 14px;
position: relative;
margin-bottom: 0;
padding-bottom: 0.5em;
border-bottom: 1px solid #eeeeee;
}
.floating-label-form-group input,
.floating-label-form-group textarea {
z-index: 1;
position: relative;
padding-right: 0;
padding-left: 0;
border: none;
border-radius: 0;
font-size: 1.5em;
background: none;
box-shadow: none !important;
resize: none;
}
.floating-label-form-group label {
display: block;
z-index: 0;
position: relative;
top: 2em;
margin: 0;
font-size: 0.85em;
line-height: 1.764705882em;
vertical-align: middle;
vertical-align: baseline;
opacity: 0;
-webkit-transition: top 0.3s ease,opacity 0.3s ease;
-moz-transition: top 0.3s ease,opacity 0.3s ease;
-ms-transition: top 0.3s ease,opacity 0.3s ease;
transition: top 0.3s ease,opacity 0.3s ease;
}
.floating-label-form-group::not(:first-child) {
padding-left: 14px;
border-left: 1px solid #eeeeee;
}
.floating-label-form-group-with-value label {
top: 0;
opacity: 1;
}
.floating-label-form-group-with-focus label {
color: #0085a1;
}
form .row:first-child .floating-label-form-group {
border-top: 1px solid #eeeeee;
}
.btn {
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
text-decoration: none;
text-transform: uppercase;
font-size: 14px;
font-style: normal;
font-weight: 800;
letter-spacing: 1px;
border-radius: 0;
padding: 15px 25px;
}
.btn-lg {
font-size: 16px;
padding: 25px 35px;
}
.btn-default.active:active,
.btn-default.focus:active,
.btn-default:active:active,
.btn-default:focus:active,
.btn-default:hover:active,
.open > .dropdown-toggle.btn-default .open > .dropdown-toggle.btn-default:active,
.btn-default:active,
.btn-default.active:focus,
.btn-default.focus:focus,
.btn-default:active:focus,
.btn-default:focus:focus,
.btn-default:hover:focus,
.open > .dropdown-toggle.btn-default .open > .dropdown-toggle.btn-default:focus,
.btn-default:focus,
.btn-default.active:hover,
.btn-default.focus:hover,
.btn-default:active:hover,
.btn-default:focus:hover,
.btn-default:hover:hover,
.open > .dropdown-toggle.btn-default .open > .dropdown-toggle.btn-default:hover,
.btn-default:hover {
background-color: #0085a1;
border: 1px solid #0085a1;
color: white;
}
.pager {
margin: 20px 0 0;
}
.pager li > a,
.pager li > span {
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
text-transform: uppercase;
font-size: 14px;
font-weight: 800;
letter-spacing: 1px;
padding: 15px 25px;
background-color: white;
border-radius: 0;
}
.pager li > a:hover,
.pager li > a:focus {
color: white;
background-color: #0085a1;
border: 1px solid #0085a1;
}
.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > a:focus,
.pager .disabled > span {
color: #808080;
background-color: #404040;
cursor: not-allowed;
}
::-moz-selection {
color: white;
text-shadow: none;
background: #0085a1;
}
::selection {
color: white;
text-shadow: none;
background: #0085a1;
}
img::selection {
color: white;
background: transparent;
}
img::-moz-selection {
color: white;
background: transparent;
}
body {
webkit-tap-highlight-color: #0085a1;
}
/** Serendipity specific styles **/
blockquote {
padding: 0 20px;
}
.form-control {
font-size: 18px;
}
ul.comment-list {
list-style: none;
margin: 0;
padding: 0;
}
.comment-list .comment-children {
list-style: none;
margin-left: 58px;
padding: 0;
}
.comment_any {
margin-bottom: 2.5em;
}
.comment-list-item,
.comment-list-item-body {
overflow: hidden;
}
.comment-author-heading {
font-size: 0.9em;
margin: 0 0 5px;
text-transform: uppercase;
}
img.comment_avatar {
clear: left;
float: left;
height: 48px;
margin-right: 10px;
width: 48px;
}
.avatar_right {
margin-left: 0;
}
.serendipity_comments .comment_ability {
margin: 15px 0;
}
.comment-date {
color: #808080;
font-weight: normal;
}
.comment-meta {
font-size: 0.8em;
margin: 0.5em 0 0 0;
}
.serendipity_section_commentform {
margin-top: 2em;
}
img {
display: block;
height: auto;
max-width: 100%;
}
#serendipity_replyTo {
max-width: 100%;
}
/* If the basic styles for aligning images are changed, the changes
must be ported to htmlarea/ckeditor/wysiwyg-style.css as well. */
.serendipity_image_left,
.serendipity_image_right,
.serendipity_image_center,
.serendipity_imageComment_center,
.serendipity_imageComment_left,
.serendipity_imageComment_right {
background: transparent;
border: 0 none;
padding: 0!important;
max-width: 100%;
}
.serendipity_image_left,
.serendipity_imageComment_left {
display: block;
float: left;
margin: 0 1em 1em 0;
}
.serendipity_image_right,
.serendipity_imageComment_right {
display: block;
float: right;
margin: 0 0 1em 1em;
}
.serendipity_image_center {
display: block;
margin: 0 auto 1em auto;
}
.serendipity_imageComment_center {
display: block;
margin: 0 auto 1em auto;
}
.serendipity_imageComment_img img {
border: none!important;
margin: 0!important;
}
.serendipity_imageComment_txt {
border: 0;
color: #808080;
display: block;
font-size: .8125em;
font-style: italic;
line-height: 1.5em;
margin: 0;
padding: .5em;
text-align: center;
}
.page-footer {
padding: 30px 0;
}
.entry-footer {
padding: 20px 0;
}
.btn-group-sm > .btn,
.btn-sm {
border-radius: 3px!important;
font-size: 12px!important;
line-height: 1.5!important;
padding: 5px 10px!important;
}
.pager li > a,
.pager li > span {
border-color: #ccc;
}
.category-list {
line-height: 1.6em;
}
.category-children {
list-style: none;
padding-left: 24px;
}
.serendipity_freeTag {
margin-left: auto;
margin-right: 0px;
text-align: left;
font-size: 80%;
display: block;
margin-top: 1em;
margin-bottom: 0px;
color: #808080;
}
.serendipity_freeTag_related {
color: #808080;
display: block;
font-size: 80%;
margin: 10px 0 0 0;
text-align: left;
}
.serendipity_freeTag a {
font-size: inherit;
text-decoration: none;
}
.serendipity_freeTag a:hover {
text-decoration: underline;
}
ul.staticpage_navigation {
display: block;
list-style-type: none;
margin: 10px 0;
padding: 0;
}
ul.staticpage_navigation li {
display: inline;
padding: 0 5px 0 0;
}
.staticpage_breadcrumbs {
color: #808080;
margin: 20px 0;
}
.staticpage_childpages {
margin: 1em 0;
}
.staticpage-footer {
padding: 30px 0 0 0;
}
.serendipity_commentDirection {
margin: 1em 0;
}
.staticpage_related_category_entry_list {
margin-top: 1em;
}
.clean-blog_freeTag {
line-height: 2em;
margin: 0.5em 0;
}
.clean-blog_freeTag a {
/* mimic bootstrap button */
background-color: #fff;
background-image: none;
border: 1px solid transparent;
border-color: #ccc;
border-radius: 3px !important;
color: #333;
cursor: pointer;
display: inline-block;
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 12px !important;
font-weight: 800;
letter-spacing: 1px;
line-height: 1.5 !important;
margin-bottom: 0;
-moz-user-select: none;
padding: 5px 10px !important;
text-align: center;
text-decoration: none;
text-transform: uppercase;
vertical-align: middle;
white-space: nowrap;
}
.clean-blog_freeTag a:hover,
.clean-blog_freeTag a:focus {
background-color: #0085a1;
border: 1px solid #0085a1;
color: white;
}
.cleanblog_freeTag_related {
color: #808080;
display: block;
font-size: 80%;
margin: 30px 0 0;
text-align: left;
}
.archive-year {
margin-bottom: 1em;
}
.archive-year .btn {
margin-bottom: 4px;
}
.archive-summary h2 {
margin-bottom: 40px;
}
.archive-button {
width: 100%;
}
.btn-default.disabled {
background-color: #dddddd;
}
.btn-group .dropdown-menu li i {
display: inline-block;
left: -3px;
margin-right: 8px;
position: relative;
text-align: center;
width: 1.25em;
}
.btn-group .dropdown-menu > li > a:focus,
.btn-group .dropdown-menu > li > a:hover {
background-color: #0085a1;
color: #ffffff;
text-decoration: none;
}
.fa-comment-o {
vertical-align: 10%!important;
}
@media only screen and (max-width: 767px) {
.dropdown-menu {
min-width: 140px;
}
.dropdown-menu > li > a {
padding: 3px 14px;
}
}
.contactform_preface {
margin-bottom: 2em;
}
.modal-dialog {
width: 450px;
}
#serendipityQuickSearchTermField {
width: 100%;
}
.searchterm {
font-style: italic;
}
table {
margin-bottom: 20px;
max-width: 100%;
width: 100%;
}
table > tbody > tr > td,
table > tbody > tr > th,
table > tfoot > tr > td,
table > tfoot > tr > th,
table > thead > tr > td,
table > thead > tr > th {
border-top: 1px solid #ddd;
line-height: 1.42857;
padding: 8px;
vertical-align: top;
}
table > thead > tr > th {
border-bottom: 2px solid #ddd;
vertical-align: bottom;
}
table > caption + thead > tr:first-child > td,
table > caption + thead > tr:first-child > th,
table > colgroup + thead > tr:first-child > td,
table > colgroup + thead > tr:first-child > th,
table > thead:first-child > tr:first-child > td,
table > thead:first-child > tr:first-child > th {
border-top: 0 none;
}
table > tbody + tbody {
border-top: 2px solid #ddd;
}
table table {
background-color: #fff;
}