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

330 lines
5.0 KiB
Sass
Raw Normal View History

html
font-size: 1.0rem
@media (min-width: 960px)
font-size: 1.15rem
2020-12-22 14:16:39 +01:00
body, h1, h2, h3, h4, article p, article li, .box-masonry .box-masonry-text p, .copyright, .copyright p.credit a
color: var(--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
.box-masonry .box-masonry-text p
font-size: 0.9rem
body
background-color: var(--bglight)
line-height: 1.7
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, .h1
font-size: 2.5rem
font-weight: 700
margin-bottom: 2rem
h2, .h2
font-size: 2rem
font-weight: 700
margin-top: 2rem
margin-bottom: 2rem
h3, .h3
font-size: 1.7rem
font-weight: 700
margin-top: 2rem
margin-bottom: 2rem
h4, .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
button
background-color: var(--accent) !important
color: white !important
border-color: darkgrey !important
.sorted
box-shadow: 5px 5px 5px 1px rgba(0,0,0,0.35)
&-asc:before
content: ""
&-desc:before
content: ""
.small-navbar button
position: fixed
z-index: 99
margin-top: -1rem
margin-left: 1rem
hr
border-top: 1px solid var(--accent)
#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
.content-column
padding-left: 30px
padding-right: 30px
padding-top: 30px
@media (min-width: 1200px)
padding-left: 5rem
&-content
@media (min-width: 1200px)
padding: 0
2020-05-25 22:08:25 +02:00
div.row
padding-bottom: 14px
.col-lg-8
@media (min-width: 1200px)
width: 72%
2020-05-25 16:53:30 +02:00
a.external
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-top: 1.5rem
margin-bottom: 1.5rem
figcaption
padding: 10px
text-align: center
font-style: italic
color: grey
img
border: 1px solid black
border-radius: 5px
.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
2021-07-01 21:19:16 +02:00
main li
list-style-type: circle
2020-06-09 14:50:49 +02:00
.no-border
border: none !important
.modal-header
display: none
2021-03-18 10:49:57 +01:00
a, .box-masonry h4 a, .link
color: var(--textlink)
text-decoration: none
2020-06-05 14:10:22 +02:00
border-bottom: 1px solid darkgrey
2021-03-18 10:49:57 +01:00
a:hover, .box-masonry h4 a:hover, .link:hover
color: var(--textlink)
background-color: #d1d3bd
.container-fluid
padding-left: 0
height: 100%
.box-masonry
2020-06-09 14:50:49 +02:00
background-color: var(--bglightshade)
border: 1px solid var(--accent)
2020-06-09 14:50:49 +02:00
border-radius: 5px
&:hover
box-shadow: 0 0 5px black
.box-masonry-hover-text-header, .box-masonry-hover-center
opacity: 1
.box-masonry-image.with-hover-overlay:before
opacity: 0.3
.box-masonry-image.with-hover-icon:after
opacity: 1
.box-masonry-image
background: none
padding-top: 10px
.img-inactive
display: block
width: 100%
.img-active
display: none
width: 100%
.pages
color: var(--accent)
.pagination > .disabled > span
background-color: var(--bgdarker)
.pagination > li > a, .pagination > li > span
background-color: var(--bgdark)
border: 1px solid var(--bgdarker)
color: #333
.pagination > .active > a
background-color: var(--bglight)
color: #333
.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)
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
width: 1em
2021-11-15 21:34:38 +01:00
&-on
opacity: 1
&-off
opacity: 0.2