2020-05-04 14:02:35 +00:00
@use " forms "
2020-05-16 09:15:34 +00:00
@use " dimensions " as *
2020-05-04 14:02:35 +00:00
2020-05-09 09:34:00 +00:00
$theme : () !default
2020-02-16 05:28:17 +00:00
@font-face
font-family : " Bariol "
2022-05-06 03:33:01 +00:00
font-display : swap // prefer a fallback font until the font file is loaded
2020-02-16 05:28:17 +00:00
src : url( /static/fonts/bariol.woff2 ) format ( " woff2 " ) , url( /static/fonts/bariol.ttf ) format ( " truetype " )
2022-05-06 03:33:01 +00:00
@each $ weight in normal , bold
@ font-face
font-family : " Cantarell "
font-weight : $weight
src : url( /static/fonts/cantarell- #{ $weight } .woff2 ) format ( " woff2 " ) , url( /static/fonts/cantarell- #{ $weight } .ttf ) format ( " truetype " )
font-display : swap // prefer a fallback font until the font file is loaded
unicode-range : U + 0000 -00 FF , U + 0131 , U + 0152 -0153 , U + 02 BB -02 BC , U + 02 C 6 , U + 02 DA , U + 02 DC , U + 2000 -206 F , U + 2074 , U + 20 AC , U + 2122 , U + 2191 , U + 2193 , U + 2212 , U + 2215 , U + FEFF , U + FFFD // from google fonts definition, https://fonts.googleapis.com/css2?family=Cantarell
2022-04-02 15:32:59 +00:00
body
2020-02-16 05:38:52 +00:00
font-family : " Bariol " , sans-serif
2022-05-05 13:36:40 +00:00
body . use-boring-font
/ / this is useful so that cyrillic and other scripts don ' t look conspicuous compared to nearby latin letters.
/ / the use-boring-font class is activated based on the page and heuristics of its contents
2022-05-06 03:33:01 +00:00
font-family : " Cantarell " , sans-serif
2022-04-02 15:32:59 +00:00
input , button , textarea
font-family : inherit
2020-05-29 10:44:58 +00:00
summary
text-decoration : underline
2020-01-12 12:50:21 +00:00
body
margin : 0
padding : 0
font-size : 18 px
. main-divider
2020-01-27 12:06:44 +00:00
display : flex
flex-direction : column
min-height : 100 vh
2020-01-12 12:50:21 +00:00
@media screen and (min-width : $layout-b-min )
display : grid
2022-05-06 03:33:01 +00:00
grid-template-columns : 250 px 1 fr
2020-01-12 12:50:21 +00:00
. pfp
border-radius : 50 %
@mixin link-button
2020-06-28 11:26:12 +00:00
color : map-get ( $theme , " foreground-power-primary " )
background-color : map-get ( $theme , " background-power-primary " )
border : 1 px solid map-get ( $theme , " background-power-secondary " )
2020-01-12 12:50:21 +00:00
padding : 12 px
border-radius : 10 px
line-height : 1
text-decoration : none
2020-01-28 10:37:19 +00:00
& . disabled
cursor : default
2020-06-28 11:35:53 +00:00
& : hover : not ( . disabled ) , & : active , & : focus , & . clicked
2020-06-28 11:26:12 +00:00
color : map-get ( $theme , " foreground-power-secondary " )
background-color : map-get ( $theme , " background-power-secondary " )
border-color : map-get ( $theme , " background-power-tertiary " )
2020-01-12 12:50:21 +00:00
2020-05-05 15:35:18 +00:00
. top-nav
2020-05-10 13:53:00 +00:00
background-color : map-get ( $theme , " background-power-primary " )
2020-05-05 15:35:18 +00:00
position : relative
z-index : 1
2020-05-09 09:34:00 +00:00
box-shadow : map-get ( $theme , " shadow-down " )
border-bottom : map-get ( $theme , " edge-context-divider " )
2020-05-05 15:35:18 +00:00
padding : 6 px 12 px
justify-content : space-between
align-items : center
display : none
@media screen and (max-width : $layout-a-max )
display : flex
& . always-displayed
display : flex
. logo
width : 48 px
height : 48 px
. settings
width : 36 px
height : 36 px
. nav-icon-link
display : flex
2020-01-12 12:50:21 +00:00
. profile-overview
text-align : center
position : relative
line-height : 1
2020-05-09 12:26:50 +00:00
color : map-get ( $theme , " foreground-primary " )
2020-05-10 12:27:59 +00:00
background-color : map-get ( $theme , " background-timeline-profile " )
2020-01-12 12:50:21 +00:00
@media screen and (max-width : $layout-a-max )
2020-05-09 09:34:00 +00:00
border-bottom : map-get ( $theme , " edge-context-divider " )
box-shadow : map-get ( $theme , " shadow-down " )
2020-01-12 12:50:21 +00:00
padding-bottom : 25 px
@media screen and (min-width : $layout-b-min )
2020-05-09 09:34:00 +00:00
border-right : map-get ( $theme , " edge-context-divider " )
box-shadow : map-get ( $theme , " shadow-right " )
2020-01-12 12:50:21 +00:00
. profile-sticky
position : sticky
top : 0
2020-01-18 15:38:14 +00:00
height : 100 vh
box-sizing : border - box
overflow-y : auto
2020-01-12 12:50:21 +00:00
padding : 10 px
2020-01-28 11:52:56 +00:00
white-space : pre-line
overflow-wrap : break-word
2020-01-12 12:50:21 +00:00
2020-01-18 15:38:14 +00:00
@media screen and (max-width : $layout-a-max )
height : unset
2020-01-12 12:50:21 +00:00
2020-05-05 15:35:18 +00:00
a , a : visited
2020-05-09 09:34:00 +00:00
color : map-get ( $theme , " link-primary " )
2020-05-05 15:35:18 +00:00
2020-01-18 15:38:14 +00:00
. pfp
margin : 25 px 0
2020-01-12 12:50:21 +00:00
2020-01-18 15:38:14 +00:00
. full-name
margin : 0 0 8 px
font-size : 30 px
2020-05-09 12:26:50 +00:00
color : map-get ( $theme , " foreground-header " )
2020-01-12 12:50:21 +00:00
2020-01-18 15:38:14 +00:00
. username
margin : 0
font-size : 20 px
font-weight : normal
2020-05-09 12:26:50 +00:00
color : map-get ( $theme , " foreground-header " )
2020-01-12 12:50:21 +00:00
2020-07-16 11:21:02 +00:00
. verified-badge
position : relative
user-select : none
margin-left : 4 px
& . as-username
top : 4 px
& . as-fullname
top : 1 px
2020-02-23 19:07:23 +00:00
. bio
2020-04-20 07:51:53 +00:00
margin : 20 px 0 px
2020-02-23 19:07:23 +00:00
unicode-bidi : plaintext
2020-01-18 15:38:14 +00:00
. profile-counter
line-height : 1 .3
2020-07-27 15:31:21 +00:00
unicode-bidi : plaintext
2020-01-12 12:50:21 +00:00
2020-04-20 07:51:53 +00:00
& . not-available
font-style : italic
2020-01-18 15:38:14 +00:00
. count
font-weight : bold
2020-02-03 14:51:11 +00:00
. website
2020-04-20 07:51:53 +00:00
margin : 20 px 0 px
2020-01-18 15:38:14 +00:00
. links
2020-04-20 07:51:53 +00:00
margin : 15 px 0 px
2020-01-18 15:38:14 +00:00
display : flex
flex-wrap : wrap
justify-content : center
2020-02-18 00:39:20 +00:00
. validate-feed
margin-left : 2 px
2020-02-03 14:30:19 +00:00
> *
2020-05-05 15:35:18 +00:00
margin : 5 px 8 px
2020-07-22 12:58:21 +00:00
. quota
margin : 15 px 0 px
2020-05-05 15:35:18 +00:00
. bibliogram-meta
margin : 20 px 10 px
2020-05-09 09:34:00 +00:00
border-top : map-get ( $theme , " edge-context-divider " )
2020-05-05 15:35:18 +00:00
@media screen and (max-width : $layout-a-max )
display : none
2020-06-24 14:58:01 +00:00
. timeline-section
2020-05-09 09:34:00 +00:00
background-color : map-get ( $theme , " background-primary " )
2020-06-24 14:58:01 +00:00
padding : 0 px 15 px 40 px
2020-06-24 15:26:33 +00:00
display : flex
flex-direction : column
@media screen and (max-width : $layout-a-max )
flex : 1
2020-01-12 12:50:21 +00:00
2020-06-24 14:58:01 +00:00
. selector-container
padding : 15 px
2020-01-27 12:06:44 +00:00
display : flex
justify-content : center
2020-06-24 14:58:01 +00:00
. selector
background-color : map-get ( $theme , " background-primary " )
color : map-get ( $theme , " foreground-primary " )
text-decoration : none
padding : 10 px 10 px 13 px
line-height : 1
font-size : 22 px
border : 1 px solid transparent
border-bottom : 1 px solid map-get ( $theme , " foreground-timeline-page " )
margin : 0 px 10 px
box-shadow : map-get ( $theme , " shadow-down-only " )
border-radius : 5 px
& : hover , & : focus
border : 1 px solid map-get ( $theme , " foreground-timeline-page " )
& . active
background-color : map-get ( $theme , " background-power-primary " )
color : map-get ( $theme , " foreground-power-primary " )
cursor : default
border : 1 px solid map-get ( $theme , " foreground-timeline-page " )
& : hover , & : focus , & . active
padding-bottom : 10 px
border-bottom : 4 px solid map-get ( $theme , " foreground-primary " )
2020-01-12 12:50:21 +00:00
. page-number
2020-05-09 09:34:00 +00:00
color : map-get ( $theme , " foreground-timeline-page " )
2020-01-12 12:50:21 +00:00
line-height : 1
max-width : 600 px
margin : 0 px auto
padding : 20 px 0 px // separate margin and padding for better page hash jump locations
text-align : center
position : relative
& : : before
position : absolute
display : block
content : " "
left : 0
right : 0
top : 50 %
border-top : 1 px solid
2020-01-27 12:06:44 +00:00
. number
position : relative
z-index : 1
padding : 10 px
2020-05-09 09:34:00 +00:00
background-color : map-get ( $theme , " background-primary " )
2020-01-27 12:06:44 +00:00
2020-06-24 14:58:01 +00:00
. timeline
--image-size : 260 px
$image-size : var ( -- image-size )
2020-06-24 15:26:33 +00:00
flex : 1
2020-01-12 12:50:21 +00:00
2020-06-24 14:58:01 +00:00
@media screen and (max-width : $layout-a-max )
--image-size : 150 px
2020-01-12 12:50:21 +00:00
2020-06-24 14:58:01 +00:00
@media screen and (max-width : $layout-c-max )
--image-size : calc ( 33 vw - 10 px )
2020-06-21 13:03:41 +00:00
2020-06-24 14:58:01 +00:00
& . no-posts
display : flex
flex-direction : column
justify-content : center
2020-06-21 13:03:41 +00:00
2020-06-24 14:58:01 +00:00
. next-page-container
margin : 20 px 0 px
display : flex
justify-content : center
2020-06-21 13:03:41 +00:00
2020-06-24 14:58:01 +00:00
. next-page
@ include link-button
font-size : 18 px
text-align : center
2020-06-21 13:03:41 +00:00
2020-06-24 14:58:01 +00:00
. timeline-inner
display : flex
2020-01-29 10:08:52 +00:00
justify-content : center
2020-06-24 14:58:01 +00:00
flex-wrap : wrap
margin : 0 auto
2020-01-29 10:08:52 +00:00
2020-06-24 14:58:01 +00:00
& . three-columns
max-width : 810 px
2020-01-18 15:38:14 +00:00
2020-06-24 14:58:01 +00:00
@media screen and (max-width : $layout-a-max )
max-width : 480 px
2020-01-12 12:50:21 +00:00
2020-06-24 14:58:01 +00:00
& . four-columns
max-width : 1080 px
2020-01-12 12:50:21 +00:00
2020-06-24 14:58:01 +00:00
& . six-columns
max-width : 1620 px
2020-01-18 15:38:14 +00:00
2020-01-29 10:08:52 +00:00
@media screen and (max-width : $layout-c-max )
2020-06-24 14:58:01 +00:00
display : grid
grid-template-columns : repeat ( 3 , 1 fr )
justify-content : center
justify-items : center
@ mixin sized ( )
width : $image-size
height : $image-size
. sized-link
$margin : 5 px
2020-01-29 10:08:52 +00:00
margin : $margin
2020-06-24 14:58:01 +00:00
color : map-get ( $theme , " foreground-thumbnail-alt " )
border : 0 px map-get ( $theme , " edge-thumbnail-hover " )
background-color : map-get ( $theme , " background-timeline-loading " )
text-decoration : none
overflow : hidden
@ include sized
2020-01-29 10:08:52 +00:00
2020-06-28 11:26:12 +00:00
& : hover , & : focus
2020-06-24 14:58:01 +00:00
$border-width : 3 px
2020-01-29 10:08:52 +00:00
margin : $margin - $border-width
2020-05-09 09:34:00 +00:00
border-width : $border-width
2020-01-29 10:08:52 +00:00
2020-06-24 14:58:01 +00:00
@media screen and (max-width : $layout-c-max )
$margin : 2 px
margin : $margin
2020-06-28 11:26:12 +00:00
& : hover , & : focus
2020-06-24 14:58:01 +00:00
$border-width : 2 px
margin : $margin - $border-width
border-width : $border-width
. sized-image
@ include sized
2020-01-18 15:38:14 +00:00
. post-page
2020-05-09 09:34:00 +00:00
background-color : map-get ( $theme , " background-post-distraction " )
2020-01-18 15:38:14 +00:00
2020-02-21 12:35:19 +00:00
. post-page-divider
display : grid
grid-template-columns : 360 px auto
max-width : 1200 px
margin : 0 auto
min-height : 100 vh
2020-01-18 15:38:14 +00:00
2020-02-21 12:35:19 +00:00
@media screen and (max-width : $layout-a-max )
display : flex
flex-direction : column
2020-01-26 14:56:59 +00:00
2020-05-19 15:03:21 +00:00
& . caption-on-right
grid-template-columns : auto 360 px
. description-section
order : 1
2020-05-19 15:38:32 +00:00
. description
margin : 12 px
white-space : pre-line
overflow-wrap : anywhere
font-size : 20 px
line-height : 1 .4
unicode-bidi : plaintext
@media screen and (min-width : $layout-b-min )
padding-bottom : 20 px
@media screen and (max-width : $layout-a-max )
font-size : 18 px
2020-02-21 12:35:19 +00:00
. description-section
display : grid
2020-03-01 03:43:43 +00:00
align-items : stretch
align-content : stretch
grid-template-rows : auto 1 fr
2020-02-21 12:35:19 +00:00
position : sticky
top : 0
height : 100 vh
box-sizing : border - box
2020-01-18 15:38:14 +00:00
2020-02-21 12:35:19 +00:00
@media screen and (max-width : $layout-a-max )
2020-03-01 03:43:43 +00:00
display : contents // this is absolutely disgusting
2020-02-21 12:35:19 +00:00
position : inherit
top : inherit
height : inherit
2020-01-18 15:38:14 +00:00
2020-02-21 12:35:19 +00:00
. user-header
2020-02-26 07:12:48 +00:00
display : grid
2020-02-21 12:35:19 +00:00
align-items : center
2020-02-26 07:12:48 +00:00
grid-template-columns : auto 1 fr auto
2020-02-21 12:35:19 +00:00
justify-content : center
2020-05-09 09:34:00 +00:00
background-color : map-get ( $theme , " background-post-header " )
2020-02-21 12:35:19 +00:00
padding : 10 px
2020-03-01 03:43:43 +00:00
position : sticky
top : 0
2020-05-09 09:34:00 +00:00
border-bottom : map-get ( $theme , " edge-context-divider " )
2020-05-05 15:35:18 +00:00
@media screen and (max-width : $layout-a-max )
2020-05-09 09:34:00 +00:00
box-shadow : map-get ( $theme , " shadow-down " )
2020-01-18 15:38:14 +00:00
2020-02-26 07:12:48 +00:00
. navigate-posts
-webkit-appearance : none
-moz-appearance : none
border : none
margin : 0
padding : 0
cursor : pointer
background : none
2020-01-18 15:38:14 +00:00
2020-02-26 07:12:48 +00:00
. icon
display : block
2020-01-18 15:38:14 +00:00
2020-03-11 10:17:40 +00:00
& . previous
transform : rotate ( 180 deg )
2020-02-26 07:12:48 +00:00
. user-header-inner
2020-03-01 02:35:45 +00:00
grid-row : 1
grid-column : 2
2020-02-26 07:12:48 +00:00
display : flex
align-items : center
justify-content : center
2020-03-01 02:35:45 +00:00
margin : 0 px 10 px
2020-01-18 15:38:14 +00:00
2020-02-26 07:12:48 +00:00
. pfp
$size : 40 px
width : $size
height : $size
margin-right : 10 px
2020-05-09 09:34:00 +00:00
background-color : map-get ( $theme , " background-post-pfp-loading " )
2020-02-26 07:12:48 +00:00
. name
font-size : 20 px
2020-05-09 12:26:50 +00:00
color : map-get ( $theme , " foreground-post-header " )
2020-02-26 07:12:48 +00:00
text-decoration : none
& : hover
text-decoration : underline
2020-01-26 14:56:59 +00:00
2020-03-01 03:43:43 +00:00
. relative-box
2020-05-09 09:34:00 +00:00
background-color : map-get ( $theme , " background-post-caption " )
2020-05-09 12:26:50 +00:00
color : map-get ( $theme , " foreground-primary " )
2020-03-01 03:43:43 +00:00
2020-05-30 06:59:59 +00:00
@media screen and (min-width : $layout-b-min )
2020-03-01 03:43:43 +00:00
position : relative
2020-05-09 09:34:00 +00:00
box-shadow : map-get ( $theme , " shadow-down-inset " )
2020-03-01 03:43:43 +00:00
. scrolling-box
position : absolute
top : 0
bottom : 0
overflow-y : auto
display : grid
align-items : center
2020-02-21 12:35:19 +00:00
. images-gallery
display : flex
flex-direction : column
align-items : center
justify-content : center
2020-05-09 09:34:00 +00:00
background-color : map-get ( $theme , " background-post-gallery " )
2020-02-21 12:35:19 +00:00
padding : 10 px
2020-01-26 14:56:59 +00:00
2020-02-21 12:35:19 +00:00
@media screen and (max-width : $layout-a-max )
flex : 1
2020-03-01 03:43:43 +00:00
position : relative
2020-01-18 15:38:14 +00:00
2020-02-21 12:35:19 +00:00
. sized-image , . sized-video
2020-05-09 09:34:00 +00:00
color : map-get ( $theme , " foreground-gallery-alt " )
background-color : map-get ( $theme , " background-post-loading " )
2020-02-21 12:35:19 +00:00
max-height : 94 vh
max-width : 100 %
2020-01-27 06:03:28 +00:00
2020-02-21 12:35:19 +00:00
& : not ( : last-child )
margin-bottom : 10 px
2020-01-29 15:20:20 +00:00
2020-02-21 12:35:19 +00:00
. sized-image
width : auto
height : auto
. sized-video
2020-04-16 13:14:36 +00:00
width : auto
height : auto
2020-01-29 15:20:20 +00:00
2020-05-19 15:38:32 +00:00
. alt-in-gallery
color : map-get ( $theme , " foreground-gallery-alt " )
padding : 0 px 50 px
margin : 0 px 0 px 50 px
text-align : center
font-size : 20 px
2020-01-27 06:03:28 +00:00
. error-page
2020-01-28 12:17:32 +00:00
box-sizing : border - box
2020-01-27 06:03:28 +00:00
min-height : 100 vh
2020-05-09 09:34:00 +00:00
background : map-get ( $theme , " background-error-page " )
2020-01-27 06:03:28 +00:00
padding : 10 px
text-align : center
display : flex
flex-direction : column
justify-content : center
align-items : center
2020-01-30 03:05:43 +00:00
a , a : visited
2020-05-09 09:34:00 +00:00
color : map-get ( $theme , " link-error-page " )
2020-01-30 03:05:43 +00:00
2020-06-11 16:09:28 +00:00
p
white-space : pre-line
code , pre
font-size : 0 .8 em
padding : 3 px 5 px
background-color : rgba ( 255 , 255 , 255 , 0 .15 )
border-radius : 3 px
pre
white-space : pre-line
2020-01-28 12:17:32 +00:00
. code , . message , . explanation , . back-link
2020-01-27 06:03:28 +00:00
line-height : 1 .2
margin : 0 px
. code
font-size : 80 px
2020-05-09 09:34:00 +00:00
color : map-get ( $theme , " foreground-error-code " )
2020-01-27 06:03:28 +00:00
margin-bottom : 25 px
. message
font-size : 35 px
2020-05-09 09:34:00 +00:00
color : map-get ( $theme , " foreground-error-message " )
2020-01-28 12:17:32 +00:00
. explanation
2020-01-30 03:05:43 +00:00
line-height : 1 .3
2020-01-28 12:17:32 +00:00
margin-top : 10 px
font-size : 20 px
2020-05-09 09:34:00 +00:00
color : map-get ( $theme , " foreground-error-explanation " )
2020-01-27 06:03:28 +00:00
. back
2020-06-11 16:09:28 +00:00
margin-top : 40 px
2020-01-27 06:03:28 +00:00
font-size : 25 px
2020-01-28 10:37:19 +00:00
2020-06-11 16:09:28 +00:00
. width-block
max-width : 600 px
text-align : left
color : map-get ( $theme , " foreground-error-explanation " )
margin-top : 10 px
font-size : 20 px
2020-06-13 12:32:03 +00:00
. hidden-section
display : none
padding : 10 px
& : target
display : block
2020-07-16 11:41:18 +00:00
. error-fragment
text-align : center
padding : 30 px 10 px
2021-01-20 03:12:21 +00:00
color : map-get ( $theme , " foreground-primary " )
2021-01-20 02:49:12 +00:00
a , a : visited
2021-01-20 03:12:21 +00:00
color : map-get ( $theme , " link-primary " )
2020-07-16 11:41:18 +00:00
. message
font-size : 32 px
margin-bottom : 10 px
. explanation
font-size : 20 px
white-space : pre-line
line-height : 1 .3
2020-01-28 10:37:19 +00:00
. homepage
display : flex
flex-direction : column
min-height : 100 vh
2020-05-09 09:34:00 +00:00
background-color : map-get ( $theme , " background-power-primary " )
color : map-get ( $theme , " foreground-power-primary " )
2020-01-28 10:37:19 +00:00
h1
font-size : 48 px
margin : 0 px
h2
font-size : 32 px
margin : 0 px
a , a : visited
2020-05-09 09:34:00 +00:00
color : map-get ( $theme , " link-power " )
2020-01-28 10:37:19 +00:00
. banner
2020-05-09 11:37:19 +00:00
padding : 0 px 4 vw
height : 60 vmin
2020-01-28 10:37:19 +00:00
display : flex
justify-content : center
align-items : center
. banner-image
max-width : 100 %
@media screen and (max-width : $layout-home-a-max )
2020-05-09 11:37:19 +00:00
height : 35 vmin
2020-01-28 10:37:19 +00:00
. go-sections-container
padding : 0 px 10 px 50 px
. go-sections
max-width : 900 px
margin : 0 px auto
display : grid
grid-gap : 10 px
grid-template-columns : repeat ( 2 , 1 fr )
justify-items : center
@media screen and (max-width : $layout-home-a-max )
grid-template-columns : 1 fr
. title
text-align : center
margin-bottom : 20 px
. pair-entry
display : flex
. text , . button
2020-02-26 07:12:48 +00:00
-webkit-appearance : none
2020-01-28 10:37:19 +00:00
-moz-appearance : none
display : flex
2020-04-15 22:36:08 +00:00
padding : 8 px
2020-01-28 10:37:19 +00:00
line-height : 1
box-sizing : content - box
font-size : 20 px
height : 20 px
2020-05-09 09:34:00 +00:00
border : map-get ( $theme , " edge-go-control " )
color : map-get ( $theme , " foreground-go-control " )
2020-01-28 10:37:19 +00:00
. text
max-width : 230 px
width : 30 vw
2020-05-09 11:14:46 +00:00
background-color : map-get ( $theme , " background-go-input " )
2020-01-28 10:37:19 +00:00
@media screen and (max-width : 520 px )
width : 80 vw
2020-07-27 15:31:21 +00:00
& . dir-ltr . text
border-right : none
border-radius : 6 px 0 px 0 px 6 px
& . dir-rtl . text
border-left : none
2020-01-28 10:37:19 +00:00
border-radius : 0 px 6 px 6 px 0 px
2020-07-27 15:31:21 +00:00
. button
2020-01-28 10:37:19 +00:00
padding-left : 12 px
padding-right : 12 px
cursor : pointer
2020-05-09 09:34:00 +00:00
background-color : map-get ( $theme , " background-power-palest " )
2020-01-28 10:37:19 +00:00
& : hover
2020-05-09 09:34:00 +00:00
background-color : map-get ( $theme , " background-power-pale " )
2020-01-28 10:37:19 +00:00
2020-07-27 15:31:21 +00:00
& . dir-ltr . button
border-radius : 0 px 6 px 6 px 0 px
& . dir-rtl . button
border-radius : 6 px 0 px 0 px 6 px
2020-01-28 10:37:19 +00:00
. about-container
2020-05-09 09:34:00 +00:00
background-color : map-get ( $theme , " background-power-secondary " )
color : map-get ( $theme , " foreground-power-secondary " )
2020-12-17 13:02:56 +00:00
padding : 50 px 0 px
2020-01-28 10:37:19 +00:00
flex : 1
min-height : 60 vh
2020-12-17 13:02:56 +00:00
. notice
background-color : map-get ( $theme , " background-power-tertiary " )
margin : 10 px 0 px
padding : 20 px 0 px 10 px
2020-01-28 10:37:19 +00:00
. about
max-width : 700 px
margin : 0 px auto
2020-12-17 13:02:56 +00:00
padding : 0 px 20 px
2020-01-28 10:37:19 +00:00
line-height : 1 .4
font-size : 20 px
2020-01-28 11:37:08 +00:00
. example-link
white-space : nowrap
2020-01-28 10:37:19 +00:00
. link-list
2020-05-09 09:34:00 +00:00
color : map-get ( $theme , " link-power " )
2020-02-03 14:30:19 +00:00
2020-05-29 10:44:58 +00:00
. featured-profiles
margin-bottom : 20 px
line-height : 1 .4
& : target
background-color : map-get ( $theme , " background-power-highlight " )
margin : -6 px -16 px 14 px
padding : 5 px 15 px
border-radius : 10 px
border : map-get ( $theme , " edge-power-border " )
.featured-profiles-header : : before
content : " » "
summary
color : map-get ( $theme , " link-power " )
padding-left : 2 px
. featured-profile-table
line-height : 1 .4
margin : 1 em 0 px 1 px 1 em
@media screen and (max-width : $layout-c-max )
line-height : 1 .15
margin : 1 em 0 px 1 px 15 px
text-indent : -15 px
tr
display : block
margin-bottom : 10 px
td
display : inline
. username
padding-right : 6 px
2020-02-03 14:30:19 +00:00
. structured-text
a , a : visited
2020-05-09 09:34:00 +00:00
color : map-get ( $theme , " link-primary " )
2020-02-03 14:30:19 +00:00
text-decoration : none
a : link , a : link : visited
text-decoration : underline
. link-to-hashtag
2020-05-09 09:34:00 +00:00
color : map-get ( $theme , " link-hashtag " )
2020-02-05 10:11:00 +00:00
. privacy-policy
max-width : 700 px
min-height : 100 vh
margin : 0 px auto
padding : 0 px 10 px 80 px
font-size : 20 px
line-height : 1 .4
2020-05-09 09:34:00 +00:00
background-color : map-get ( $theme , " background-power-tertiary " )
color : map-get ( $theme , " foreground-power-tertiary " )
2020-02-05 10:11:00 +00:00
h1 , h2 , h3
2020-05-09 09:34:00 +00:00
color : map-get ( $theme , " foreground-header-privacy " )
2020-02-05 10:11:00 +00:00
h1
margin : 40 px 0 px
font-size : 48 px
a , a : visited
2020-05-09 09:34:00 +00:00
color : map-get ( $theme , " link-power " )
2020-02-05 10:11:00 +00:00
2020-02-05 12:14:26 +00:00
code
font-size : 0 .8 em
2020-05-09 09:34:00 +00:00
background-color : map-get ( $theme , " background-power-quote " )
2020-02-05 12:14:26 +00:00
padding : 3 px 5 px
border-radius : 5 px
2020-05-09 09:34:00 +00:00
color : map-get ( $theme , " foreground-power-secondary " )
2020-02-05 12:14:26 +00:00
2020-02-05 10:11:00 +00:00
. return-home
line-height : 1
margin-top : 45 px
padding-top : 15 px
2020-05-09 09:34:00 +00:00
border-top : map-get ( $theme , " edge-power-divider " )
2020-02-21 12:35:19 +00:00
. post-overlay
position : fixed
top : 0
left : 0
right : 0
bottom : 0
2020-05-09 09:34:00 +00:00
background : map-get ( $theme , " background-post-overlay " )
2020-02-21 12:35:19 +00:00
z-index : 10
2020-03-01 03:43:43 +00:00
overflow-y : scroll
2020-02-21 12:35:19 +00:00
& : not ( . loading ) > *
min-height : 100 vh
& . loading
display : flex
justify-content : center
align-items : center
. loading-inner
2020-05-09 09:34:00 +00:00
color : map-get ( $theme , " foreground-alert " )
2020-02-21 12:35:19 +00:00
font-size : 30 px
line-height : 1
padding : 26 px
border-radius : 20 px
2020-05-09 09:34:00 +00:00
border : map-get ( $theme , " edge-alert " )
2020-02-21 12:35:19 +00:00
font-weight : bold
2020-05-09 09:34:00 +00:00
background-color : map-get ( $theme , " background-alert " )
2020-04-22 11:59:45 +00:00
. article-page
2020-05-09 09:34:00 +00:00
background-color : map-get ( $theme , " background-primary " )
2020-04-22 11:59:45 +00:00
font-size : 22 px
line-height : 1 .4
2020-05-09 09:34:00 +00:00
color : map-get ( $theme , " foreground-primary " )
2020-04-22 11:59:45 +00:00
min-height : 100 vh
2020-05-09 09:34:00 +00:00
h1
2020-04-22 11:59:45 +00:00
text-align : center
margin : 0
font-size : 50 px
h2
2020-05-09 09:34:00 +00:00
font-size : 34 px
margin : 0
color : map-get ( $theme , " foreground-header " )
header
background-color : map-get ( $theme , " background-power-secondary " )
color : map-get ( $theme , " foreground-power-primary " )
padding : 40 px 10 px
line-height : 1 .2
2020-04-22 11:59:45 +00:00
. article-main
max-width : 800 px
margin : 0 auto
padding : 20 px 20 px 100 px
a , a : visited
2020-05-09 09:34:00 +00:00
color : map-get ( $theme , " link-primary " )
code
font-size : 0 .8 em
letter-spacing : -0 .2 px
background : map-get ( $theme , " background-primary-quote " )
color : map-get ( $theme , " foreground-primary-quote " )
padding : 0 px 4 px
border-radius : 2 px
2020-05-04 14:02:35 +00:00
. settings-page
2020-05-09 09:34:00 +00:00
background-color : map-get ( $theme , " background-primary " )
color : map-get ( $theme , " foreground-primary " )
h1 , legend
color : map-get ( $theme , " foreground-header " )
2020-05-04 14:02:35 +00:00
a , a : visited
2020-05-09 09:34:00 +00:00
color : map-get ( $theme , " link-primary " )
2020-05-04 14:02:35 +00:00
. settings
2020-05-04 15:06:07 +00:00
padding : 0 px 10 px 50 px
2020-05-04 14:02:35 +00:00
max-width : 600 px
margin : 0 auto
2020-05-04 15:06:07 +00:00
. status-notice
padding : 15 px
font-size : 24 px
2020-05-09 15:20:13 +00:00
line-height : 1 .36
2020-05-04 15:06:07 +00:00
text-align : center
2020-05-09 09:34:00 +00:00
color : map-get ( $theme , " foreground-banner " )
2020-05-09 15:20:13 +00:00
white-space : pre-line
& . success
background-color : map-get ( $theme , " background-banner-success " )
& . fail
background-color : map-get ( $theme , " background-banner-fail " )
2020-05-04 15:06:07 +00:00
2020-05-04 14:02:35 +00:00
. action-container
margin-top : 20 px
2020-05-29 08:46:45 +00:00
display : grid
grid-template-columns : 1 fr auto auto
grid-gap : 10 px
2020-05-04 14:02:35 +00:00
align-items : center
2020-05-29 08:46:45 +00:00
@media screen and (max-width : 400 px )
display : flex
flex-direction : column
align-items : stretch
text-align : center
. home-link-container
order : 1
2020-05-04 14:02:35 +00:00
2020-05-29 08:46:45 +00:00
. save-button
padding : 12 px 32 px
2020-05-09 09:34:00 +00:00
& : not ( : active )
@ include forms . curve-out-major
2020-05-04 14:02:35 +00:00
. home-link
font-size : 21 px
2020-05-29 10:44:58 +00:00
. details-content
border : map-get ( $theme , " edge-power-border " )
margin-top : 5 px
padding : 15 px 20 px
border-radius : 5 px
line-height : 1 .4
p
margin : 0 .6 em 0
> p : first-child
margin-top : 0
> p : last-child
margin-bottom : 0