planblog/static/css/main.css

189 lines
3.1 KiB
CSS
Raw Normal View History

html {
overflow-y: scroll;
}
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;
}
2017-03-30 01:47:46 +00:00
.header-text .sns-social {
2015-02-02 09:54:20 +00:00
text-align: center;
}
2017-03-30 01:47:46 +00:00
.header-text .sns-social a {
2015-02-02 09:54:20 +00:00
display: inline-block;
2017-03-30 01:47:46 +00:00
width: 32px;
height: 32px;
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: 24px;
line-height: 24px;
2015-02-02 09:54:20 +00:00
transition: color,border-color 0.1s linear;
}
2017-03-30 01:47:46 +00:00
.header-text .sns-social 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;
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-02 09:54:20 +00:00
/* Footer */
.global-footer {
margin-top: 10px;
padding-top: 10px;
width: 100%;
2015-02-02 09:54:20 +00:00
height: 100px;
border-top: 1px solid rgba(0, 0, 0, 0.2);
color: rgba(0, 0, 0, 0.4);
2017-03-30 01:47:46 +00:00
text-align: center;
2015-02-02 09:54:20 +00:00
}
/* 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;
2017-03-30 01:47:46 +00:00
transition: color,background-color 0.1s linear;
2015-02-02 09:54:20 +00:00
}
.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-07-08 07:42:24 +00:00
/* Pagination */
.pagination
{
width: 100%;
2015-07-08 07:42:24 +00:00
}
.older-posts,.newer-posts
{
display: inline!important;
text-decoration: none;
2017-03-30 01:47:46 +00:00
transition: background-color .1s linear;
2015-07-08 07:42:24 +00:00
}
.newer-posts
{
float: left;
}
.older-posts
{
float: right;
}
.older-posts:hover,.newer-posts:hover
{
2017-03-30 01:47:46 +00:00
text-decoration: none;
2015-07-08 07:42:24 +00:00
}
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 {
2017-03-30 01:47:46 +00:00
border: 0px;
2015-02-02 09:54:20 +00:00
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
}