bludit/bl-themes/pure/css/blog.css

323 lines
4.0 KiB
CSS
Raw Normal View History

2015-08-22 18:33:33 +02:00
/* ------------------------
Default tags
------------------------ */
2015-03-08 18:02:59 +01:00
* {
2015-08-22 18:33:33 +02:00
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
2015-03-08 18:02:59 +01:00
}
a {
2015-08-22 18:33:33 +02:00
text-decoration: none;
color: #2672ec;
2015-03-08 18:02:59 +01:00
}
a:hover,
2015-07-07 06:24:51 +02:00
a:focus
{
2015-08-22 18:33:33 +02:00
text-decoration: none;
2015-03-08 18:02:59 +01:00
}
p {
2015-08-22 18:33:33 +02:00
margin: 10px 0 0 0;
2015-03-08 18:02:59 +01:00
}
2015-05-19 01:22:05 +02:00
img {
2015-08-22 18:33:33 +02:00
display: block;
max-width: 100%;
2015-05-19 01:22:05 +02:00
}
table {
2015-08-22 18:33:33 +02:00
empty-cells: show;
border: 1px solid #cbcbcb;
2015-05-19 01:22:05 +02:00
}
thead {
2015-08-22 18:33:33 +02:00
background-color: #e0e0e0;
color: #000;
text-align: left;
vertical-align: bottom;
2015-05-19 01:22:05 +02:00
}
tr {
2015-08-22 18:33:33 +02:00
display: table-row;
vertical-align: inherit;
border-color: inherit;
2015-05-19 01:22:05 +02:00
}
th, td {
2015-08-22 18:33:33 +02:00
padding: 0.5em 1em;
2015-05-19 01:22:05 +02:00
}
2015-05-31 03:06:55 +02:00
pre, code {
2015-08-22 18:33:33 +02:00
white-space: pre-wrap !important;
2015-05-31 03:06:55 +02:00
}
2015-09-22 01:37:04 +02:00
blockquote {
border-left: 10px solid #f0f2f4;
padding-left: 10px;
}
2015-05-31 03:06:55 +02:00
2015-08-22 18:33:33 +02:00
/* ------------------------
Content / Main
------------------------ */
#layout {
padding: 0;
2015-03-08 18:02:59 +01:00
}
.content {
2015-08-22 18:33:33 +02:00
padding: 2em 1em 0;
}
2015-08-22 18:33:33 +02:00
.subhead {
text-transform: uppercase;
color: #aaa;
border-bottom: 1px solid #eee;
padding: 0.4em 0;
font-size: 80%;
font-weight: 500;
letter-spacing: 0.1em;
2015-03-08 18:02:59 +01:00
}
2015-08-22 18:33:33 +02:00
.footer {
font-size: 0.9em;
color: #999;
text-align: center;
margin: 30px 0;
2015-03-08 18:02:59 +01:00
}
2015-07-20 05:14:12 +02:00
/* ------------------------
Paginator
------------------------ */
#paginator {
2015-08-22 18:33:33 +02:00
margin: 20px 0;
2015-07-20 05:14:12 +02:00
}
#paginator a {
2015-08-22 18:33:33 +02:00
color: #2672ec;
2015-07-20 05:14:12 +02:00
}
#paginator ul {
2015-08-22 18:33:33 +02:00
clear: both;
list-style-type: none;
margin: 0;
overflow: auto;
padding: 0;
2015-07-20 05:14:12 +02:00
}
#paginator li {
2015-08-22 18:33:33 +02:00
display: block;
2015-07-20 05:14:12 +02:00
}
#paginator li.left {
2015-08-22 18:33:33 +02:00
float: left !important;
2015-07-20 05:14:12 +02:00
}
#paginator li.list {
2015-08-22 18:33:33 +02:00
background: #e0e0e0;
color: #747474;
padding: 2px 11px;
2015-07-20 05:14:12 +02:00
}
#paginator li.right {
2015-08-22 18:33:33 +02:00
float: right !important;
2015-07-20 05:14:12 +02:00
}
2015-07-07 06:24:51 +02:00
/* ------------------------
Pages and Posts
------------------------ */
2015-03-08 18:02:59 +01:00
.page,
2015-07-07 06:24:51 +02:00
.post {
2015-08-22 18:33:33 +02:00
margin: 0 0 70px 0;
2015-03-08 18:02:59 +01:00
}
.page-title,
.post-title
{
2015-08-22 18:33:33 +02:00
font-size: 2.4em;
margin: 0;
2015-03-08 18:02:59 +01:00
}
2015-07-07 06:24:51 +02:00
.page-title a,
.post-title a
{
2015-08-22 18:33:33 +02:00
color: #555;
display: inline-block;
2015-07-07 06:24:51 +02:00
}
2015-07-24 05:28:25 +02:00
.page a.read-more,
.post a.read-more{
2015-09-22 01:37:04 +02:00
border: 1px solid #ccc;
display: inline-block;
margin-top: 10px;
padding: 2px 20px;
}
.page a.read-more:hover,
.post a.read-more:hover{
background: #f1f1f1;
2015-07-24 05:28:25 +02:00
}
2015-03-08 18:02:59 +01:00
.page-content,
.post-content {
2015-08-22 18:33:33 +02:00
color: #444;
line-height: 1.7em;
margin-top: 22px;
2015-03-08 18:02:59 +01:00
}
.page-content hr,
.post-content hr {
2015-08-22 18:33:33 +02:00
display: block;
height: 1px;
border: 0;
border-top: 1px solid #ccc;
margin: 30px 0;
padding: 0;
2015-03-08 18:02:59 +01:00
}
.page-content h2,
.post-content h2
{
2015-08-22 18:33:33 +02:00
color: #555;
margin: 30px 0 30px 0;
font-size: 2em;
font-weight: normal;
2015-03-08 18:02:59 +01:00
}
.page-content h3,
.post-content h3
{
2015-08-22 18:33:33 +02:00
color: #555;
margin: 35px 0 25px 0;
font-size: 1.5em;
font-weight: normal;
2015-03-08 18:02:59 +01:00
}
.page-content h4,
.post-content h4
{
2015-08-22 18:33:33 +02:00
color: #555;
margin: 25px 0 15px 0;
font-size: 1.2em;
font-weight: lighter;
2015-03-08 18:02:59 +01:00
}
2015-07-07 06:24:51 +02:00
.post-meta,
.page-meta {
2015-08-22 18:33:33 +02:00
font-size: 90%;
margin: 0;
2015-03-08 18:02:59 +01:00
}
2015-07-07 06:24:51 +02:00
.post-meta span.date,
.page-meta span.date {
2015-08-22 18:33:33 +02:00
color: #999;
margin-right: 10px;
2015-03-08 18:02:59 +01:00
}
2015-07-07 06:24:51 +02:00
.post-meta span.author,
.page-meta span.author {
2015-08-22 18:33:33 +02:00
color: #ccc;
2015-03-08 18:02:59 +01:00
}
2015-07-07 06:24:51 +02:00
/* ------------------------
Sidebar
------------------------ */
.sidebar {
2015-08-22 18:33:33 +02:00
background: #f1f1f1;
}
.sidebar-content {
padding: 30px 10px 0 30px;
2015-07-07 06:24:51 +02:00
}
.sidebar a {
2015-08-22 18:33:33 +02:00
color: #555;
2015-03-08 18:02:59 +01:00
}
2015-07-07 06:24:51 +02:00
.sidebar a:hover {
2015-08-22 18:33:33 +02:00
color: #000;
2015-07-07 06:24:51 +02:00
}
.sidebar h1.title {
2015-08-22 18:33:33 +02:00
font-size: 3.2em;
font-weight: lighter;
margin: 0;
padding: 0;
2015-07-07 06:24:51 +02:00
}
.sidebar h2.slogan {
2015-08-22 18:33:33 +02:00
font-size: 2.2em;
font-weight: lighter;
margin: -10px 0 0 0;
padding: 0;
2015-07-07 06:24:51 +02:00
}
/* ------------------------
Plugins
------------------------ */
div.plugin {
2015-08-22 18:33:33 +02:00
margin-top: 40px;
2015-07-07 06:24:51 +02:00
}
div.plugin h2 {
2015-08-22 18:33:33 +02:00
border-bottom: 1px solid #ccc;
color: #ccc;
display: inline-block;
font-size: 1em;
margin-bottom: 5px;
2015-07-07 06:24:51 +02:00
}
div.plugin-content {
2015-08-22 18:33:33 +02:00
padding: 0 10px;
2015-07-07 06:24:51 +02:00
}
2015-07-14 04:16:28 +02:00
div.plugin-content li {
2015-08-22 18:33:33 +02:00
margin-top: 5px;
2015-07-14 04:16:28 +02:00
}
2015-07-07 06:24:51 +02:00
div.plugin-content ul {
2015-08-22 18:33:33 +02:00
display: block;
list-style-type: none;
margin: 5px 0;
padding: 0;
2015-03-08 18:02:59 +01:00
}
2015-07-07 06:24:51 +02:00
2015-07-14 04:16:28 +02:00
div.plugin-content ul > li > ul > li {
2015-08-22 18:33:33 +02:00
margin: 0;
2015-07-14 04:16:28 +02:00
}
div.plugin-content ul > li > ul > li:before {
2015-08-22 18:33:33 +02:00
color: #777;
content: "—";
padding-right: 5px;
}
2015-07-07 06:24:51 +02:00
div.plugin-content ul > li > ul > li > a {
2015-08-22 18:33:33 +02:00
color: #777;
2015-03-08 18:02:59 +01:00
}
2015-09-20 23:46:50 +02:00
div.plugin-content a.active {
color: #2672ec !important;
}
2015-07-07 06:24:51 +02:00
/* ------------------------
Responsive
------------------------ */
2015-03-08 18:02:59 +01:00
@media (min-width: 48em) {
2015-08-22 18:33:33 +02:00
.content {
padding: 1em 3em 0;
margin-left: 25%;
}
.sidebar {
position: fixed;
top: 0;
bottom: 0;
overflow: auto;
}
2015-03-08 18:02:59 +01:00
}