uechi.io/_sass/post.scss

224 lines
3.6 KiB
SCSS
Raw Normal View History

2017-10-07 11:43:26 +09:00
.article-list__item {
2019-03-14 23:23:12 +09:00
margin: 0 0 60px;
2017-10-07 11:43:26 +09:00
}
.article-list__item__title {
margin: 0 0 2px;
2019-03-14 23:23:12 +09:00
font-size: 40px;
2017-10-07 11:43:26 +09:00
}
.article-list__item__pubdate {
text-transform: uppercase;
}
.article-list__item__excerpt {
margin-top: 5px;
font-size: 20px;
2020-02-07 12:57:54 +09:00
color: var(--tone);
2017-10-07 11:43:26 +09:00
line-height: 1.6em;
2019-07-23 17:36:28 +09:00
word-break: break-all;
2017-10-07 11:43:26 +09:00
}
a.article-list__item__button {
2020-02-07 12:57:54 +09:00
border: 1px solid var(--tone);
2017-10-07 11:43:26 +09:00
border-radius: 3px;
2020-02-07 12:57:54 +09:00
color: var(--tone);
2020-02-07 12:37:31 +09:00
font-family: "Open Sans", sans-serif;
2017-10-07 11:43:26 +09:00
font-size: 14px;
display: inline-block;
margin: 10px 0;
padding: 10px 17px;
text-transform: uppercase;
&:hover {
2020-02-07 12:57:54 +09:00
background-color: var(--tone);
color: var(--background);
2017-10-07 11:43:26 +09:00
}
@media screen and (max-width: $break-small) {
display: block;
text-align: center;
font-size: 17px;
padding: 15px;
&:hover {
2020-02-07 12:57:54 +09:00
background-color: var(--background);
color: var(--tone);
2017-10-07 11:43:26 +09:00
}
}
}
.article {
margin-bottom: 60px;
}
.article__social {
margin-top: 60px;
display: flex;
flex-direction: row;
justify-content: center;
}
.article__social > * {
margin-right: 4px;
}
.article__metadata {
2019-03-14 23:23:12 +09:00
margin: 40px 0 40px;
2017-10-07 11:43:26 +09:00
@media screen and (max-width: $break-small) {
2018-12-28 21:44:59 +09:00
margin: 25px 0 25px;
2017-10-07 11:43:26 +09:00
text-align: left;
}
}
.article__title {
2020-02-07 12:37:31 +09:00
font-size: 70px;
2017-10-07 11:43:26 +09:00
letter-spacing: -0.5px;
@media screen and (max-width: $break-small) {
2018-12-28 21:44:59 +09:00
font-size: 40px;
2017-10-07 11:43:26 +09:00
text-align: left;
}
}
.article__pubdate {
2020-02-07 12:57:54 +09:00
color: var(--tone);
2019-03-14 23:23:12 +09:00
font-size: 14px;
2017-10-07 11:43:26 +09:00
font-weight: normal;
2018-12-28 21:44:59 +09:00
font-family: sans-serif;
2020-02-07 12:37:31 +09:00
margin-bottom: 10px;
2020-02-07 12:57:54 +09:00
border: 1px solid var(--tone);
2018-12-28 21:44:59 +09:00
display: inline-block;
padding: 5px 20px;
@media screen and (max-width: $break-small) {
margin-bottom: 15px;
font-size: 10pt;
}
2017-10-07 11:43:26 +09:00
}
.article__content {
p {
font-size: 20px;
font-weight: normal;
line-height: 1.666em;
2020-02-07 12:37:31 +09:00
margin: 25px 0;
2017-10-07 11:43:26 +09:00
@media screen and (max-width: $break-small) {
font-size: 20px;
}
}
ul {
padding-left: 20px;
}
li {
2019-01-01 11:29:25 +09:00
font-size: 20px;
2017-10-07 11:43:26 +09:00
line-height: 1.6em;
}
a {
border-bottom: 1px dotted;
}
h1 {
2019-03-14 23:23:12 +09:00
margin: 70px 0 0px;
font-size: 2.5em;
2017-10-07 11:43:26 +09:00
@media screen and (max-width: $break-small) {
margin: 30px 0 15px;
font-size: 1.7em;
}
}
h2 {
margin: 35px 0 15px;
font-family: sans-serif;
font-weight: bold;
font-size: 1.7em;
@media screen and (max-width: $break-small) {
margin: 20px 0 15px;
font-family: sans-serif;
font-weight: bold;
font-size: 1.5em;
}
}
h3 {
margin: 25px 0 15px;
font-family: sans-serif;
font-weight: bold;
font-size: 1.3em;
@media screen and (max-width: $break-small) {
margin: 15px 0 15px;
font-family: sans-serif;
font-weight: bold;
font-size: 1.4em;
}
}
h4 {
margin: 25px 0 15px;
font-family: sans-serif;
font-weight: bold;
@media screen and (max-width: $break-small) {
margin: 15px 0 15px;
font-family: sans-serif;
font-weight: bold;
}
}
img {
width: 100%;
height: auto;
}
blockquote {
2020-02-07 12:57:54 +09:00
border-left: 5px solid var(--accent);
2017-10-07 11:43:26 +09:00
padding-left: 20px;
margin: 0;
}
}
2018-04-04 15:39:55 +09:00
2018-05-24 23:03:56 +09:00
// Pay
#pay {
2018-04-04 15:39:55 +09:00
font-family: sans-serif;
2018-05-24 23:03:56 +09:00
.monospace {
font-family: monospace;
font-weight: bold;
padding: 0 5px;
font-size: 12pt;
user-select: all;
-webkit-user-select: all;
-moz-user-select: all;
}
p {
padding: 10px 0;
2018-04-04 15:39:55 +09:00
}
a.button {
margin: 10px 0;
padding: 20px;
display: block;
2020-02-07 12:57:54 +09:00
background: var(--text);
color: var(--background);
2018-04-04 15:39:55 +09:00
text-align: center;
border-radius: 2px;
}
img {
margin: 10px 0;
}
section {
margin: 50px 0;
}
2018-12-28 21:44:59 +09:00
}