blog/assets/sass/_content.scss

91 lines
1.4 KiB
SCSS
Raw Normal View History

2020-02-12 03:21:15 +00:00
body {
2020-05-05 04:38:36 +00:00
max-width: 980px;
2020-02-12 03:21:15 +00:00
margin: auto;
min-height: 100%;
padding-bottom: 20px;
font-family: $sansfont;
background-color: $background-color;
color: $text-color;
}
header {
margin: auto 12px;
#header {
border-bottom: 2px solid $link-color;
box-sizing: border-box;
padding: 20px;
margin-bottom: 12px;
#title {
font-size: 2em;
color: $text-color;
&:hover {
text-decoration: none;
}
}
}
}
2020-02-12 03:51:19 +00:00
small {
color: $small-text-color;
}
2020-02-12 03:21:15 +00:00
a {
color: $link-color;
text-decoration: none;
&:hover {
text-decoration: underline;
}
2020-04-01 05:17:58 +00:00
}
.permalink-container {
position: relative;
vertical-align: top;
2020-02-12 03:21:15 +00:00
2020-04-01 05:17:58 +00:00
.permalink {
2020-02-12 07:42:03 +00:00
color: $link-color;
2020-02-12 03:21:15 +00:00
font-size: 0.65em;
2020-04-01 05:17:58 +00:00
position: absolute;
2020-04-01 05:19:59 +00:00
left: -25px;
2020-02-12 03:21:15 +00:00
}
}
2020-02-18 01:04:27 +00:00
blockquote {
color: $small-text-color;
border-left: 4px solid $small-text-color;
padding-left: 12px;
}
2020-02-12 03:51:19 +00:00
.postlisting-row td {
padding-bottom: 12px;
}
2020-02-12 03:21:15 +00:00
#content {
2020-04-01 05:17:58 +00:00
font-size: 1.05em;
line-height: 1.5em;
2020-05-05 04:38:36 +00:00
img {
max-width: 100%;
}
2020-02-12 03:21:15 +00:00
}
2020-05-05 04:50:10 +00:00
code {
font-size: 1.2em;
padding: 3px;
background-color: #2b303b;
color: #cccccc;
border-radius: 5px;
2020-02-12 03:21:15 +00:00
}
2020-11-03 22:14:45 +00:00
pre > code {
display: block;
padding: 5px;
overflow-x: auto;
font-family: $monofont;
font-size: 0.9em;
}