planblog/static/css/main.css

290 lines
5.0 KiB
CSS
Raw Normal View History

2015-02-02 09:54:20 +00:00
main {
max-width: 750px;
2015-05-02 08:03:13 +00:00
word-wrap: break-word;
2015-02-02 09:54:20 +00:00
}
/* Header */
.global-header {
background: #222 no-repeat center center;
2015-02-03 15:14:48 +00:00
background-size: cover;
2015-02-02 09:54:20 +00:00
}
.header-text {
2015-02-09 06:51:06 +00:00
position: relative;
2015-04-02 14:40:03 +00:00
padding-bottom: 1px;
2015-02-02 09:54:20 +00:00
height: 100%;
background-color: rgba(0, 0, 0, 0.4);
color: rgba(255, 255, 255, 0.9);
}
.header-text .tag-line {
margin: 10px auto;
padding: 0 10px;
max-width: 430px;
color: rgba(255, 255, 255, 0.7);
text-align: center;
font-weight: 300;
}
.header-text .sns-links {
margin: 20px auto;
text-align: center;
}
.header-text .sns-links a {
display: inline-block;
margin: 0 2px;
width: 30px;
height: 30px;
2015-02-09 09:59:35 +00:00
border: 1px solid rgba(255, 255, 255, 0.6);
2015-02-03 12:47:08 +00:00
border-radius: 15px;
2015-02-09 09:59:35 +00:00
color: rgba(255, 255, 255, 0.6);
2015-02-02 09:54:20 +00:00
text-decoration: none;
font-size: 20px;
2015-02-03 12:47:08 +00:00
line-height: 30px;
2015-02-02 09:54:20 +00:00
transition: color,border-color 0.1s linear;
}
.header-text .sns-links a:hover {
2015-02-09 09:59:35 +00:00
border-color: rgba(255, 255, 255, 1.0);
color: rgba(255, 255, 255, 1.0);
2015-02-02 09:54:20 +00:00
}
.header-text h1 {
margin: 0 auto;
padding-top: 30px;
text-align: center;
font-weight: 200;
}
.header-text h1 a {
color: rgba(255, 255, 255, 1.0);
text-decoration: none;
}
2015-02-09 09:50:01 +00:00
a.btn-header {
2015-02-09 06:51:06 +00:00
position: absolute;
top: 20px;
padding: 7px 16px;
border: 1px solid rgba(255, 255, 255, 1.0);
border-radius: 3px;
2015-02-09 09:59:35 +00:00
background-color: rgba(0, 0, 0, 0.1);
2015-02-09 06:51:06 +00:00
color: rgba(255, 255, 255, 1.0);
text-decoration: none;
font-weight: 300;
font-size: 13px;
transition: color,background-color 0.1s linear;
}
2015-02-09 09:50:01 +00:00
a.btn-header:hover {
2015-02-09 06:51:06 +00:00
background-color: rgba(255, 255, 255, 1.0);
color: rgba(0, 0, 0, 1.0);
}
2015-02-09 09:50:01 +00:00
a.btn-subscribe {
right: 20px;
}
a.btn-back {
left: 20px;
}
2015-02-02 09:54:20 +00:00
/* Footer */
.global-footer {
margin-top: 10px;
padding-top: 10px;
max-width: 750px;
height: 100px;
border-top: 1px solid rgba(0, 0, 0, 0.2);
color: rgba(0, 0, 0, 0.4);
}
.global-footer .sns-links {
float: right;
}
.global-footer .sns-links a {
display: inline-block;
width: 24px;
height: 24px;
border: 1px solid rgba(0, 0, 0, 0.4);
border-radius: 12px;
color: rgba(0, 0, 0, 0.4);
vertical-align: top;
text-align: center;
text-decoration: none;
font-size: 13px;
transition: color,border-color 0.1s linear;
}
.global-footer .sns-links a i {
vertical-align: middle;
}
.global-footer .sns-links a:hover {
border: 1px solid rgba(0, 0, 0, 0.8);
color: rgba(0, 0, 0, 0.7);
}
/* Article */
.article-list h2 a {
text-decoration: none;
transition: color 0.1s linear;
}
.post-meta {
margin: 5px 0;
}
.post-date {
color: rgba(0, 0, 0, 0.4);
}
.post-tag a {
padding: 0 10px;
border: 1px solid rgba(0, 0, 0, 0.3);
border-radius: 12px;
color: rgba(0, 0, 0, 0.3);
text-decoration: none;
transition: color,border-color,background-color 0.1s linear;
}
.post-tag a:hover {
background-color: rgba(0, 0, 0, 1.0);
2015-02-03 14:54:30 +00:00
color: rgba(255, 255, 255, 1.0);
2015-02-02 09:54:20 +00:00
}
.not-found h1 {
color: rgba(0, 0, 0, 0.2);
font-weight: 200;
font-size: 80px;
}
.not-found {
text-align: center;
}
2015-02-23 13:10:27 +00:00
.author-info {
padding: 25px 0;
border-top: 1px solid rgba(0, 0, 0, 0.2);
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.author-name {
margin: 0 0 5px 0;
font-size: 30px;
}
.author-bio {
color: rgba(0, 0, 0, 0.5);
}
.author-avatar img {
max-width: 100px;
max-height: 100px;
2015-04-02 14:40:03 +00:00
width: 100px;
height: 100px;
2015-02-23 13:10:27 +00:00
border-radius: 50px;
}
2015-02-23 13:10:35 +00:00
.author-contact {
position: relative;
display: inline-block;
2015-04-02 14:40:03 +00:00
padding-top: 10px;
2015-02-23 13:10:35 +00:00
height: 100px;
text-align: center;
}
.author-contact a {
display: inline-block;
padding: 7px 16px;
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 3px;
color: rgba(0, 0, 0, 0.7);
text-decoration: none;
font-weight: 300;
font-size: 13px;
2015-04-02 14:40:03 +00:00
transition: background-color,border-color,color 0.1s linear;
2015-02-23 13:10:35 +00:00
}
.author-contact a:hover {
border: 1px solid rgba(51, 122, 182, 1.0);
2015-04-02 14:40:03 +00:00
background-color: rgba(51, 122, 183, 1.0);
2015-02-23 13:10:35 +00:00
color: rgba(255, 255, 255, 1.0);
}
2015-07-08 07:42:24 +00:00
/* Pagination */
.pagination
{
width: 720px;
text-align: center;
}
.older-posts,.newer-posts
{
display: inline!important;
border: 1px solid #ddd;
border-radius: 15px;
text-decoration: none;
transition: border .3s ease;
padding: 5px 14px;
}
.page-number
{
display: inline-block;
min-width: 100px;
padding: 2px 0;
}
.newer-posts
{
float: left;
}
.older-posts
{
float: right;
}
.older-posts:hover,.newer-posts:hover
{
color: #889093;
border-color: #98a0a4;
}
2015-02-02 09:54:20 +00:00
/* Override some of Bootstrap's styles */
pre {
font-size: 14px;
}
pre code {
overflow: auto;
white-space: pre;
word-wrap: normal;
}
.pager li>a {
transition: background-color 0.1s linear;
}
blockquote {
font-style:italic;
}
2015-02-03 15:38:18 +00:00
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
2015-04-02 14:42:24 +00:00
font-family: "Source Sans Pro", "Kozuka Gothic Pr6N", Meiryo, sans-serif !important;
2015-02-03 15:38:18 +00:00
}
2015-04-02 14:45:19 +00:00
article section img {
2015-02-04 09:26:46 +00:00
max-width: 100%;
height: auto;
2015-04-02 14:45:19 +00:00
margin: 13px auto;
2015-02-04 09:26:46 +00:00
}