lxhome/assets/styles/web.sass

223 lines
3.4 KiB
Sass
Raw Normal View History

2019-02-24 23:14:34 +00:00
---
---
@font-face
2019-02-25 23:08:49 +00:00
font-family: 'Lato'
src: url('/assets/fonts/Lato-Regular.ttf') format('truetype')
2019-02-24 23:14:34 +00:00
@font-face
2019-02-25 23:08:49 +00:00
font-family: 'Lato Bold'
src: url('/assets/fonts/Lato-Bold.ttf') format('truetype')
2019-02-24 23:14:34 +00:00
$white-ter: #fafafa
$footer-background-color: $white-ter
2019-04-27 00:48:04 +01:00
$purple: #49438B //#4A448C //#433983
$blue: #82C2E5
2019-02-25 23:08:49 +00:00
$family-primary: 'Lato'
$family-secendary: 'Lato Bold'
2019-02-24 23:14:34 +00:00
$background: $white-ter
$primary: $purple
2019-02-25 23:08:49 +00:00
2019-03-29 09:31:23 +00:00
html, body
min-height: 100vh
height: auto
margin: 0
2019-03-29 09:23:09 +00:00
2019-02-24 23:14:34 +00:00
html.light
background: $background
$background: $white-ter
html.dark
background: $purple
$background: $purple
@charset "utf-8"
@import "./bulma.sass"
2019-02-25 23:08:49 +00:00
@import "./code.scss"
2019-02-24 23:14:34 +00:00
body.light
color: $grey-dark
background: $background
with: 100%
height: 100%
2019-02-25 23:08:49 +00:00
a
color: $primary
&:hover
color: lighten($primary, 30%)
2019-02-26 20:57:15 +00:00
a.navlink
2019-02-24 23:14:34 +00:00
border-radius: $radius
2019-02-26 20:57:15 +00:00
color: $grey-dark
2019-02-24 23:14:34 +00:00
&:hover
background: $purple
2019-02-26 20:57:15 +00:00
color: $light
2019-02-24 23:14:34 +00:00
a.home
color: $blue !important
&:hover
text-decoration: underline
2019-02-24 23:14:34 +00:00
body.dark
.para
p, h1, h2, h3, h4, h5, strong
padding-top: 1em
padding-bottom: 0.5em
line-height: 1.5
color: darken($white, 10%)
2019-02-24 23:14:34 +00:00
color: $light
background: $purple
footer.footer
background: $purple
with: 100%
height: 100%
2019-04-27 00:48:04 +01:00
2019-02-25 23:08:49 +00:00
a
color: $white
&:hover
color: darken($white, 30%)
2019-02-24 23:14:34 +00:00
content.post
text-align: justify
blockquote
font-style: italic
h1
@extend .is-size-2
2019-04-27 00:48:04 +01:00
h2
@extend .is-size-3
2019-04-27 00:48:04 +01:00
h3
@extend .is-size-4
2019-04-27 00:48:04 +01:00
h4
@extend .is-size-5
2019-04-27 00:48:04 +01:00
h5
@extend .is-size-6
2019-04-27 00:48:04 +01:00
p, h1, h2, h3, h4, h5, strong
2019-02-25 23:08:49 +00:00
padding-top: 1em
padding-bottom: 0.5em
line-height: 1.5
2019-04-27 00:48:04 +01:00
color: darken($white, 10%)
2019-04-27 00:48:04 +01:00
strong
color: white
p
text-align: justify
ul
list-style: circle
li
margin-left: 1em
2019-02-24 23:14:34 +00:00
a
2019-04-27 00:48:04 +01:00
color: $blue
2019-03-29 09:23:09 +00:00
&:hover
text-decoration: underline
2019-02-24 23:14:34 +00:00
font-size: 1.3rem
2020-01-04 13:13:42 +00:00
.highlight
line-height: 1 !important
pre
code
font-size: 0.8em
2019-02-24 23:14:34 +00:00
code.highlighter-rouge
2019-02-25 23:08:49 +00:00
background: darken($purple, 10%)
2019-02-24 23:14:34 +00:00
color: $light
border-radius: $radius
padding: 0.1em 0.2em
2020-01-04 13:13:42 +00:00
font-size: 0.8em
2019-02-24 23:14:34 +00:00
.highlight
margin-top: 1em
a.post-title-link
color: $light
&:hover
text-decoration: underline
2019-02-26 20:57:15 +00:00
a.navlink
2019-02-24 23:14:34 +00:00
border-radius: $radius
2019-02-26 20:57:15 +00:00
color: $light !important
2019-02-24 23:14:34 +00:00
&:hover
background: $light
2019-02-26 20:57:15 +00:00
color: $grey-dark !important
2019-02-25 23:08:49 +00:00
.share-page
margin-top: 2em
2019-02-25 23:08:49 +00:00
a
color: $light
border-radius: $radius
&:hover
background: $light
color: $grey-dark
2019-02-24 23:14:34 +00:00
.column.is-flex.centered
justify-content: center
.columns.is-flex.centered
justify-content: center
2019-03-28 21:20:47 +00:00
.text-centered
text-align: center
.text-justified
text-align: justify
2019-02-24 23:14:34 +00:00
.cv-button
margin-top: 3rem
2019-02-25 23:08:49 +00:00
.is-size-1
font-family: 'Lato Bold' !important
span.info
padding-right: 10px
ul.details
a
color: $light
border-radius: $radius
&:hover
background: $light
color: $grey-dark
list-decoration: none
li
display: inline
li.category
padding: 0.5em
2019-03-28 21:20:47 +00:00
.pad
padding-right: 5px
.navbar-menu
a.navbar-item
color: $purple
.is-rounded
border-radius: 50%
border: 3px solid darken($purple, 10%)
2019-03-29 20:00:05 +00:00
footer.footer
margin-top: 5em
.right-aligned
justify-content: end
2019-12-01 00:41:47 +00:00
h3.header
margin-bottom: 1em
2020-08-14 15:10:24 +01:00
.avatar
width: 150px
height: 150px