brainbaking/themes/brainbaking-minimal/assets/sass/_brainbaking.sass

113 lines
1.6 KiB
Sass
Raw Normal View History

2020-05-27 21:20:01 +02:00
html body
2020-05-28 09:16:04 +02:00
font-family: $font-stack
html, body
2020-05-29 17:39:33 +02:00
scroll-behavior: smooth
font-size: 1.0rem
@media (min-width: 768px)
font-size: 1.05rem
@media (min-width: 960px)
font-size: 1.1rem
pre
code
font-size: 0.9rem
2020-05-27 21:20:01 +02:00
2020-05-28 09:16:04 +02:00
body
2020-05-29 17:39:33 +02:00
margin: 0
min-height: calc(100vh - 55px)
2020-05-29 17:39:33 +02:00
color: #333
padding-top: 55px
display: flex
text-align: center
flex-direction: column
nav, footer
font-size: 0.85rem
2020-05-27 21:20:01 +02:00
2020-05-28 09:16:04 +02:00
.copyright
margin: 15px 0
2020-05-27 21:20:01 +02:00
ul
list-style: circle
div.highlight
padding-top: 1.5rem
padding-bottom: 1.5rem
2020-05-29 17:39:33 +02:00
a:link, a:visited, a
color: $accent
text-decoration: none
2020-05-27 21:20:01 +02:00
&:hover
2020-05-29 17:39:33 +02:00
text-decoration: underline
color: darken($accent, 10%)
2020-05-27 21:20:01 +02:00
nav
a:hover
text-decoration: none !important
2020-05-27 21:20:01 +02:00
h4 a
font-weight: normal
pre
2020-05-29 17:39:33 +02:00
font-size: 1rem !important
2020-05-27 21:20:01 +02:00
2020-05-29 17:39:33 +02:00
main
display: block
2020-05-28 09:16:04 +02:00
line-height: 1.7
margin: auto
padding: 25px
flex: 1 0 auto
max-width: 750px
2020-05-27 21:20:01 +02:00
2020-05-28 09:16:04 +02:00
padding-top: 0 !important
@media (min-width: 1600px)
max-width: 930px !important
2020-05-27 21:20:01 +02:00
article
text-align: justify
margin-bottom: 1rem
p
margin: 0 0 20px !important
2020-05-27 21:20:01 +02:00
blockquote p
margin: 0 !important
2020-05-27 21:20:01 +02:00
&.single
article a
text-decoration: underline
2020-05-27 21:20:01 +02:00
header
margin: auto
padding-top: 1rem
padding-bottom: 1.5rem
max-width: 80%
h1
color: $accent
h2
margin-top: -1rem
h2, h3
font-weight: normal
h3
font-size: 1.3rem
color: grey
time
color: grey
2020-05-28 09:16:04 +02:00
2020-05-29 17:39:33 +02:00
kbd
color: $accent
border: 1px solid $accent
2020-05-29 17:39:33 +02:00
font-size: 1rem
padding: 2px 4px
border-radius: 3px
-webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.25)
box-shadow: inset 0 -1px 0 rgba(0,0,0,.25)