123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691 |
- %upcaret
- width: 0
- height: 0
- border-left: 0.33rem solid transparent
- border-right: 0.33rem solid transparent
- top: -0.5rem
- left: 1rem
- .nav
- color: $haze
- display: flex
- justify-content: space-between
- @include content
- &_active
- background-color: rgba($light, 0.05)
- border-radius: 0.25rem
- &, &_body
- &_icon
- width: 0.7rem
- margin: 0.8rem 0.2rem
- transition: transform 0.3s var(--ease)
- transform-origin: 50% 50%
- &_body
- display: flex
- flex: 1
- &_header
- background-color: $bg
- padding: 0.25rem 2.2rem
- position: fixed
- width: 100%
- z-index: 99
- left: 0
- // border-bottom: 3px solid #44CCFF;
- box-shadow: 0.05rem 0.05rem 0.25rem rgba(100, 100, 100, 0.5)
- &_item
- padding: 0 1rem
- display: inline-flex
- align-items: center
- white-space: nowrap
- &_sub
- width: 100%
- left: 0
- position: absolute
- z-index: 20
- border-radius: 0 0 0.5rem 0.5rem
- top: 3rem
- transition: height 0.3s ease-in-out
- height: 0
- overflow: hidden
- padding: 0.96rem 0 0
- background: transparent
- &_parent
- position: relative
- display: flex
- align-items: center
- margin: 0.25rem 0
- border-radius: 0.5rem
- &_open + &_sub &_child
- padding-top: 0.5rem
- padding-bottom: 0.5rem
- z-index: 3
- & + a
- @media screen and (min-width: 769px)
- padding-top: 0
- &:not(:first-child)
- position: relative
- &:first-child::before
- position: absolute
- content: ""
- @extend %upcaret
- border-bottom: 0.5rem solid var(--translucent-light)
- z-index: 2
- &_open + &_sub
- height: initial
- z-index: 999
- overflow: initial
- border-radius: 0.5rem
- padding-bottom: 0.5rem
- @media screen and (min-width: 769px)
- color: var(--text)
- &::before, &::after
- content: ""
- position: absolute
- &::before
- @extend %upcaret
- z-index: 1
- @media screen and (min-width: 769px)
- border-bottom: 0.5rem solid var(--choice-bg)
- &::after
- top: 0
- left: 0
- right: 0
- bottom: 0
- background: var(--translucent-light)
- border-radius: 0.5rem
- box-shadow: 0 1rem 3rem rgba(0,0,0,0.25)
- @media screen and (min-width: 769px)
- background: var(--choice-bg)
- width: auto
- white-space: nowrap;
- &_open &_icon
- transform: rotate(180deg)
- &_sub &_item
- &:not(.nav_child)
- position: relative
- z-index: 5
- display: block
- padding-top: 0.75rem
- padding-bottom: 0.75rem
- transition: background 0.3s ease-out
- margin: 0
- &_brand
- .site-title
- display: none
- @media screen and (min-width: 300px)
- .site-title
- display: initial
- img
- max-width: 2.6rem
- margin: 0
- margin-right: 0.5rem
- @media screen and (min-width: 769px)
- padding-left: 0
- // margin-left: -16rem
- // transform: translateX(50rem)
- img.logo
- background: transparent !important
- max-height: 2.6rem;
- margin-bottom: -0.1rem;
- box-shadow: 0.1rem 0.1rem 0.5rem #002538;
- border-radius: 50%;
- border: 2px solid #002538;
- margin-right: 0.5rem;
- &:hover
- -o-transform: scale(1.2)
- -webkit-transform: scale(1.2)
- -ms-transform: scale(1.2)
- transform: scale(1.2) rotate(360deg)
- left: -2rem
- transition: all 0.3s
- &_center
- display: none
- @media screen and (min-width: 769px)
- display: flex
- flex: 1
- align-items: center
- justify-content: center
- + .follow
- flex: initial
- &_hide
- @media screen and (min-width: 769px)
- display: none
- &_close
- display: none
- .content, .footer
- padding: 0.5rem
- @media screen and (min-width: 1441px)
- padding: 1.5rem 0
- .content
- max-width: 1024px
- padding-top: 4rem
- @media screen and (min-width: 768px)
- padding-left: 3rem
- padding-bottom: 3rem
- @include content
- @media screen and (min-width: 800px)
- .content
- padding-top: 5rem
- .content.without-toc
- margin-left: auto
- margin-right: auto
- display: block
- max-width: 800px
- @media screen and (min-width: 1366px)
- .content
- max-width: 1500px
- .content.without-toc
- max-width: 1200px
- .footer
- border-top: 1px solid $xhaze
- background: var(--footer-bg)
- margin-top: 2rem
- font-size: 0.9rem
- &_inner
- @include content
- display: grid
- grid-template-columns: 4rem 1fr
- align-items: center
- position: relative
- .button
- background-color: $theme
- color: $light
- display: inline-flex
- padding: 0.5rem 1.0rem
- text-transform: uppercase
- border: 1px solid $theme
- border-radius: 0.5rem
- font-size: 0.9rem
- align-items: center
- user-select: none
- &:hover, &:focus
- background-color: darken($theme, 20%)
- color: $light
- border: 1px solid darken($theme, 20%)
-
- &_translucent
- background-color: rgba($theme, 0.15)
- color: $theme
- border: 1px solid transparent
- &_tally
- padding: 0 0.75rem
- border-radius: 0.5rem
- background-color: $theme
- display: inline-flex
- justify-content: center
- align-items: center
- color: $light
- margin: 0.1rem 0 0.1rem 0.2rem
- font-size: 0.7rem
- .post
- &_link, &_title
- margin-bottom: 0
- &s
- margin-top: 2rem
- &_header
- height: 50vh
- max-height: 35rem
- background-color: $bg
- // background-image: url(/images/island.jpg)
- background-size: cover
- background-position: center
- margin-top: 4.2rem
- @media screen and (max-width: 992px)
- height: 40vh
- margin-top: 3rem
- @media screen and (max-width: 667px)
- height: 30vh
- & + .content
- padding-top: 0
- &_item
- box-shadow: 0 4px 8px 0 var(--shadow)
- margin-top: 0.5rem
- margin-bottom: 0.2rem
- border-radius: 0.5rem
- background: var(--post-bg)
- @media screen and (min-width: 664px)
- margin-top: 1.5rem
- &_tag
- padding: 0.2rem 0.8rem
- font-size: 0.8rem
- &s
- display: none
- &.jswidgetopen
- display: initial
- position: fixed
- top: 0
- left: 0
- height: 100vh
- overflow-y: auto
- width: 100vw
- padding: 5rem 1.5rem
- background: var(--translucent-light)
- cursor: pointer
- z-index: 999
- overflow-y: auto
- &_toggle
- margin-top: 0.5rem
- margin-left: 0.5rem
- cursor: pointer
- &_tag, &_share
- margin: 0.5rem
- &_share
- display: inline-flex
- &_meta
- display: inline-flex
- flex-flow: row wrap
- align-items: center
- .button
- margin-bottom: 0
- &_date
- margin-right: 0.5rem
- margin-left: 0.25rem
- &_content
- overflow-x: auto
- a
- color: $theme
- ul, ol
- list-style: initial
- padding: 0.5rem 1.25rem
- li
- padding-top: 0.25rem
- ol
- list-style: decimal
- img
- display: block
- margin-left: auto
- margin-right: auto
- background-color: #fff
- padding: 0.5rem
- h2
- color: #0061bb
- border-bottom: 2px solid #ddd
- font-weight: bolder
- h3
- font-weight: 400
- &::before
- content: "● "
- color: #8ed08e
- h4
- font-weight: 400
- &::before
- content: "+ "
- color: #ff5e00
- h3.post_link
- font-weight: bolder
- .scrollable
- display: grid
- width: 100%
- max-width: 100%
- overflow-x: auto
- .to-top
- position: fixed
- bottom: 2rem
- @media screen and (max-width: 667px)
- bottom: 2.25rem
- right: 1.5rem
- height: 2.25rem
- width: 2.25rem
- background-color: $theme
- display: flex
- align-items: center
- justify-content: center
- border: none
- -webkit-appearance: none
- border-radius: 50%
- color: $light !important
- text-decoration: none !important
- font-size: 1.25rem
- cursor: pointer
- &, &:focus
- outline: none
- .mb-0
- margin-bottom: 0 !important
- .tag
- &s
- &_list
- cursor: initial
- background: var(--choice-bg)
- padding: 4.5rem 1.5rem 1.5rem 1.5rem
- border-radius: 1rem
- max-width: 720px
- margin: 0 auto
- box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.12)
- position: relative
- display: flex
- flex-flow: row wrap
- &_nav
- position: relative
- &_hide
- position: absolute
- top: 1rem
- right: 1.5rem
- padding: 0.5rem
- border-radius: 50%
- cursor: pointer
- @media screen and (min-width: 992px)
- display: none
- &_sort
- font-size: 1rem
- color: var(--light)
- background: var(--theme)
- position: absolute
- top: 1.5rem
- left: 1.5rem
- border-radius: 1.5rem
- padding: 0.1rem
- &, span
- user-select: none
- span
- display: inline-flex
- justify-content: center
- align-items: center
- height: 2rem
- position: relative
- z-index: 5
- cursor: pointer
- width: 5rem
- font-weight: 500
- &::before
- content: ""
- position: absolute
- width: 4.5rem
- top: 0.25rem
- bottom: 0.25rem
- left: 0.25rem
- z-index: 3
- background: var(--bg)
- opacity: 0.5
- border-radius: 1.5rem
- transition: 0.25s transform var(--ease)
- &.sorted
- &::before
- transform: translateX(5rem)
- &-title
- border-bottom: none !important
- display: inline-block !important
- position: relative
- font-size: 2rem
- margin-bottom: -1rem
- &::after
- content: attr(data-count)
- margin-left: 1.5rem
- background-color: #eee
- padding: 0.25rem 1rem
- border-radius: 15%
- font-size: 1.5rem
- .icon
- display: inline-flex
- justify-content: center
- align-items: center
- margin: 0 1.0rem
- &, img, svg
- width: 1.1rem
- height: 1.1rem
- &_2
- width: 2.2rem
- height: 2.2rem
- .link
- opacity: 0
- position: relative
- &_yank
- opacity: 1
- &ed
- position: absolute
- right: -1rem
- top: -2rem
- background-color: $theme
- color: $light
- width: 7rem
- padding: 0.25rem 0.5rem
- font-size: 0.9rem
- border-radius: 1rem
- text-align: center
- &::after
- position: absolute
- top: 1rem
- content: ""
- border-color: $theme transparent
- border-style: solid
- border-width: 1rem 1rem 0 1rem
- height: 0
- width: 0
- transform-origin: 50% 50%
- transform: rotate(145deg)
- right: 0.45rem
- .excerpt
- &_header, &_footer
- padding: 1rem
- &_header .post_link
- margin-top: 0
- &_footer
- padding: 0 1rem 2.25rem 1rem
- padding-bottom: 0.5rem;
- &_thumbnail
- min-height: 10rem
- display: none
- @media screen and (min-width: 769px)
- display: block
- border-radius: 0.5rem
- &_footer
- &.partition
- display: grid
- @media screen and (min-width: 769px)
- grid-template-columns: 2fr 7fr
- grid-gap: 1rem
- .sidebar
- margin-top: 1rem
- @media screen and (min-width: 672px)
- margin-top: 0
- &_inner
- position: relative
- &::before
- content: ""
- padding: 0.5px
- top: 0
- bottom: 0
- // background: var(--light)
- background: linear-gradient(to bottom, var(--haze), var(--light), var(--haze))
- position: absolute
- left: -2rem
- .intro
- margin-bottom: 2rem
- h2
- margin-top: 0
- margin-bottom: 0
- font-weight: bold
- p
- margin-top: 0
- margin-bottom: 0
- padding-bottom: 0
- h2.widget-title
- background: rgba(100, 100, 100, 0.1)
- border-left: 8px solid var(--header-text)
- font-size: 1.4rem
- padding-left: 1rem
- border-radius: 0.5rem
- font-weight: bold
-
- .pagination
- display: flex
- margin-top: 1.5rem
- .page
- &-item
- padding: 0.2rem
- &.disabled
- opacity: 0.7
- &:first-child, &:last-child
- display: none
- &.active a
- background-color: darken($theme, 20%)
- &-link
- padding: 0.25rem 0.75rem
- background-color: $theme
- color: $light
- border-radius: 1rem
- .float
- &_left
- float: left
- margin-right: 1rem
- + p
- padding-top: 0
- &_right
- float: right
- margin-left: 1rem
- &_left, &_right
- &::after
- clear: both
- .follow
- display: flex
- align-items: center
- flex: 1
- justify-content: flex-end
- svg
- fill: $haze
- margin-left: 0.75rem
- .img
- &_alt
- font-style: italic
- padding-top: 0rem
- opacity: 0.67
- font-size: 0.9rem
- .to
- &_top
- background-color: $theme
- width: 2.75rem
- height: 2.75rem
- display: flex
- justify-content: center
- align-items: center
- cursor: pointer
- border-radius: 50%
- position: fixed
- bottom: 1.5rem
- right: 1.5rem
- z-index: 9999
- &.ios
- position: absolute
- bottom: 0.75rem
- right: 0
- &:hover
- background-color: $theme
- svg
- fill: $light
- opacity: 0.5
- transition: 0.3s opacity var(--ease)
- &:hover svg
- opacity: 1
- .color
- &_mode
- // width: 3rem
- height: 1.5rem
- display: grid
- align-items: center
- margin: 0 0.5rem
- @media screen and (min-width: 769px)
- margin: 0 1.5rem
- grid-template-columns: 1fr
- &_choice
- width: 3rem
- background-color: var(--translucent-light)
- border-radius: 1rem
- height: 1.5rem
- outline: none
- border: none
- -webkit-appearance: none
- cursor: pointer
- position: relative
- position: relative
- overflow: hidden
- box-shadow: 0 0.25rem 1rem rgba(0,0,0,0.15)
- &::after
- content: ""
- position: absolute
- top: 0.1rem
- left: 0.1rem
- width: 1.3rem
- height: 1.3rem
- background-image: url("#{$images}sun.svg")
- background-position: center
- background-size: cover
- border-radius: 50%
- z-index: 2
- &_animate
- transition: transform 0.5s cubic-bezier(0.075, 0.82, 0.165, 1)
- &::after
- transition: transform 0.5s cubic-bezier(.19,1,.22,1)
- will-change: transform
- .taxonomy
- text-transform: capitalize
- .image
- &-scale
- position: fixed
- z-index: 999999
- left: 0
- right: 0
- height: 100vh
- top: 0
- padding: 1.5rem
- background-color: var(--bg)
- display: grid
- align-items: center
- overflow: auto
- &-scale &-scalable
- background-color: var(--text)
- &-scalable
- cursor: pointer
- transition: transform 0.3s var(--ease)
- &_featured
- display: block
- margin-left: auto !important
- margin-right: auto !important
- #posts
- margin-top: 0
- .page-title
- margin-top: 0
- margin-bottom: 0
- .page-description
- padding-top: 0
- // Auto hide navbar when scrolling down
- #top-navbar
- top: 0
- transition: top 0.5s
|