planblog/static/css/main.css

182 lines
2.9 KiB
CSS

html {
overflow-y: scroll;
}
main {
max-width: 640px;
word-wrap: break-word;
}
/* Header */
.global-header {
background: #222 no-repeat center center;
background-size: cover;
}
.global-header:hover .sns-social {
display: block;
position: relative;
top: 10px;
}
.header-text {
position: relative;
padding-bottom: 1px;
vertical-align: middle;
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;
color: rgba(255, 255, 255, 0.7);
text-align: center;
font-weight: 300;
}
.header-text .sns-social {
top: -500px;
position: relative;
text-align: center;
display: block;
transition-duration: 1s;
}
.header-text .sns-social a {
display: inline-block;
width: 42px;
height: 32px;
color: rgba(255, 255, 255, 0.6);
text-decoration: none;
font-size: 24px;
line-height: 24px;
transition: color,border-color 0.1s linear;
}
.header-text .sns-social a:hover {
border-color: rgba(255, 255, 255, 1.0);
color: rgba(255, 255, 255, 1.0);
}
.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;
}
/* Footer */
.global-footer {
margin-top: 10px;
padding-top: 10px;
width: 100%;
max-width: 640px;
height: 100px;
border-top: 1px solid rgba(0, 0, 0, 0.2);
color: rgba(0, 0, 0, 0.4);
text-align: center;
}
/* 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;
color: rgba(0, 0, 0, 0.3);
text-decoration: none;
transition: color,background-color 0.1s linear;
}
.post-tag a:hover {
background-color: rgba(0, 0, 0, 1.0);
color: rgba(255, 255, 255, 1.0);
}
.not-found h1 {
color: rgba(0, 0, 0, 0.2);
font-weight: 200;
font-size: 80px;
}
.not-found {
text-align: center;
}
/* Pagination */
.pagination
{
width: 100%;
}
.older-posts,.newer-posts
{
display: inline!important;
text-decoration: none;
transition: background-color .1s linear;
}
.newer-posts
{
float: left;
}
.older-posts
{
float: right;
}
.older-posts:hover,.newer-posts:hover
{
text-decoration: none;
}
/* Override some of Bootstrap's styles */
pre {
font-size: 14px;
}
pre code {
overflow: auto;
white-space: pre;
word-wrap: normal;
}
.pager li>a {
border: 0px;
transition: background-color 0.1s linear;
}
blockquote {
font-style:italic;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
font-family: "Source Sans Pro", "Kozuka Gothic Pr6N", Meiryo, sans-serif !important;
font-size: 32px;
}
article section img {
max-width: 100%;
height: auto;
margin: 13px auto;
}