jefklakscodex/themes/jefklak-creative-portfolio/assets/sass/_codex.sass

307 lines
4.5 KiB
Sass
Raw Normal View History

html
font-size: 1.0rem
@media (min-width: 960px)
font-size: 1.15rem
body, h1, h2, h3, h4, article p, article li, .box-masonry .box-masonry-text p
color: $textcolor
.copyright
color: $textcolor
font-size: 0.8rem
p.credit a
color: $textcolor
.latest-all
float: right
margin-top: -20px
margin-bottom: 20px
2020-12-07 21:48:03 +01:00
.logo
max-width: 100%
height: auto
2020-06-06 21:50:14 +02:00
body
background-color: var(--bglight)
line-height: 1.7
margin: 0
box-sizing: border-box
height: 100%
@media (min-width: 960px)
font-size: inherit
2020-06-11 20:59:44 +02:00
html body, h1, h2, h3, h4, h5, h6
2020-06-09 14:50:49 +02:00
font-family: $font-stack
2021-03-18 10:49:57 +01:00
.meel, a.internal
2020-12-30 15:52:37 +01:00
cursor: pointer
.support
font-size: 1rem
margin-bottom: 4rem
noscript
border-left: 5px solid darkred
padding: 0.5rem
.avatar
float: right
margin-top: 0rem
margin-left: 1.5rem
img
border-radius: 50%
.rfloat
float: right
2020-12-13 21:50:18 +01:00
.metatitle
color: grey
font-weight: bold
h1
color: lighten($textcolor, 10%)
font-size: 2.5rem
font-weight: 700
margin-bottom: 2rem
margin-top: 0
h2
font-size: 2rem
font-weight: 700
margin-top: 2rem
margin-bottom: 2rem
h3
font-size: 1.7rem
font-weight: 700
margin-top: 2rem
margin-bottom: 2rem
h4
font-size: 1.2rem
font-weight: 700
ul, ol
margin-bottom: 2rem
blockquote
2020-06-09 14:50:49 +02:00
font-size: 1.1rem
font-style: italic
2020-06-09 14:50:49 +02:00
border-left: 7px solid var(--accent)
background-color: var(--bglightshade)
border-radius: 5px
padding: 0.8rem
margin: 0 0 24px
p
margin: 0
p
margin: 0 0 24px
button
display: inline-block
padding: 6px 12px
font-size: 1rem
touch-action: manipulation
cursor: pointer
font-weight: 400
text-align: center
background-color: var(--accent)
color: white
border: 1px solid transparent
border-color: darkgrey
border-radius: 4px
transition: all 0.2s ease-out
&:hover
box-shadow: 0 0 5px grey
.small-navbar button
position: fixed
z-index: 99
margin-top: -1rem
margin-left: 1rem
hr
border: 0
border-top: 1px solid var(--accent)
margin-top: 24px
margin-bottom: 24px
.img-responsive
max-width: 100%
height: auto
margin: 0 auto
display: block
#rsslink
position: absolute
right: 0
z-index: 99
visibility: hidden
@media only screen and (min-width: 1200px)
visibility: visible
footer
position: fixed
bottom: 0
right: 0
margin: 0
height: 140px
.img-responsive
margin: 0
visibility: hidden
@media only screen and (min-width: 1200px)
visibility: visible
a
&.lbox
border-bottom: none
&:hover
background-color: unset
&.external
2020-05-25 16:53:30 +02:00
background-image: url(/img/external.png)
background-position: center right
background-repeat: no-repeat
padding-right: 13px
border-bottom: 1px dotted #526A43
2022-01-26 17:11:27 +01:00
&-no
background: none
padding-right: 0
2020-05-25 16:53:30 +02:00
&:hover
text-decoration: none
.footnotes
font-size: 0.9em
2020-06-05 14:10:22 +02:00
article
figure
margin: 1.5rem
@media (min-width: 992px)
margin: 1.5rem 0 1.5rem 0
figcaption
padding: 10px
text-align: center
font-style: italic
color: grey
img
border: 1px solid black
border-radius: 5px
.dualscreens
display: grid
grid-template-columns: repeat(2, 1fr)
grid-column-gap: 10px
figure
margin: 0
.video-mask
padding-top: 1.2rem
padding-bottom: 1.2rem
width: 100%
border-radius: 5px
overflow: hidden
a:hover
text-decoration: none
a:not([href])
padding-right: 0
background-image: none
p, li
2021-01-05 15:38:51 +01:00
text-align: left !important
main
2022-10-31 08:42:15 +01:00
ul li
list-style-type: circle
2020-06-09 14:50:49 +02:00
.no-border
border: none !important
.modal-header
display: none
a, .link
color: var(--textlink)
text-decoration: none
2020-06-05 14:10:22 +02:00
border-bottom: 1px solid darkgrey
a:hover, .link:hover
color: var(--textlink)
background-color: #d1d3bd
.pages
color: var(--accent)
.categories
padding-top: 1.5rem
2020-06-05 14:10:22 +02:00
color: var(--textlinktag)
kbd
padding: 0.2rem 0.5rem 0.2rem 0.5rem
background-color: var(--bgdark)
border-radius: 5px
box-shadow: inset 0 -1px 0 rgba(0,0,0,.25)
font-size: 90%
2020-06-05 14:10:22 +02:00
color: var(--textlinktag)
#skiptocontent
a
z-index: 99
padding: 6px
position: absolute
top: -50px
left: 0px
color: white
border 1px solid white
border-top-right-radius: 8px
border-bottom-right-radius: 8px
background: black
-webkit-transition: top 1s ease-out
transition: top 1s ease-out
&:focus
position: absolute
left: 0px
top: 0px
outline-color: transparent
-webkit-transition: top .1s ease-in
transition: top .1s ease-in
.sl-wrapper
.sl-counter
font-weight: bold
.sl-caption
text-align: center
background: rgba(0,0,0,0.65) !important
2021-11-15 21:34:38 +01:00
.score
border: none
2022-11-01 09:41:58 +01:00
height: 1.1em
margin-bottom: -4px