2016-04-13 20:06:34 +02:00
|
|
|
@import colors
|
2016-07-30 20:06:38 +02:00
|
|
|
@import mixins
|
2016-04-13 20:06:34 +02:00
|
|
|
|
2020-08-22 22:59:13 +02:00
|
|
|
$active-tab-text-color = $text-color
|
|
|
|
$active-tab-text-color-darktheme = $text-color-darktheme
|
|
|
|
$inactive-tab-text-color = $inactive-link-color
|
|
|
|
$inactive-tab-text-color-darktheme = $inactive-link-color-darktheme
|
|
|
|
|
2016-05-21 14:01:41 +02:00
|
|
|
/* latin */
|
|
|
|
@font-face
|
|
|
|
font-family: 'Open Sans';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
2018-09-03 23:36:06 +02:00
|
|
|
src: local('Open Sans'), local('OpenSans'), url(../fonts/open_sans.woff2) format('woff2');
|
2016-05-21 14:01:41 +02:00
|
|
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
|
|
|
|
|
2016-05-15 11:24:52 +02:00
|
|
|
/* make <body> cover entire viewport */
|
|
|
|
html
|
|
|
|
height: 100%
|
|
|
|
body
|
|
|
|
min-height: 100%
|
|
|
|
|
2016-04-13 20:06:34 +02:00
|
|
|
body
|
2016-06-11 17:41:28 +02:00
|
|
|
background: $window-color
|
2016-04-13 20:06:34 +02:00
|
|
|
overflow-y: scroll
|
|
|
|
margin: 0
|
|
|
|
color: $text-color
|
2016-05-21 14:01:41 +02:00
|
|
|
font-family: 'Open Sans', sans-serif
|
2017-12-18 03:35:30 +01:00
|
|
|
font-size: 1em
|
|
|
|
line-height: 1.4
|
2016-05-21 11:17:11 +02:00
|
|
|
@media (max-width: 800px)
|
2017-12-18 03:35:30 +01:00
|
|
|
font-size: 0.875em
|
2016-05-21 11:17:11 +02:00
|
|
|
@media (max-width: 1200px)
|
2017-12-18 03:35:30 +01:00
|
|
|
font-size: 0.95em
|
2016-04-13 20:06:34 +02:00
|
|
|
|
2020-08-22 22:59:13 +02:00
|
|
|
body.darktheme
|
|
|
|
color: $text-color-darktheme
|
|
|
|
background: $window-color-darktheme
|
|
|
|
|
2016-04-13 20:06:34 +02:00
|
|
|
h1, h2, h3
|
|
|
|
font-weight: normal
|
|
|
|
margin-bottom: 1em
|
|
|
|
|
2017-12-18 03:42:49 +01:00
|
|
|
h1
|
|
|
|
font-size: 2em
|
|
|
|
|
|
|
|
h2
|
|
|
|
font-size: 1.5em
|
|
|
|
|
2017-12-25 00:15:46 +01:00
|
|
|
p,
|
|
|
|
ol,
|
|
|
|
ul
|
|
|
|
margin: 1em 0
|
|
|
|
|
2016-04-14 19:37:05 +02:00
|
|
|
th
|
|
|
|
font-weight: normal
|
|
|
|
|
2016-04-13 20:06:34 +02:00
|
|
|
a
|
2016-07-30 21:47:56 +02:00
|
|
|
cursor: pointer
|
2016-04-13 20:06:34 +02:00
|
|
|
color: $main-color
|
|
|
|
text-decoration: none
|
|
|
|
transition: color 0.1s linear
|
2016-05-10 10:57:59 +02:00
|
|
|
&.inactive
|
|
|
|
color: $inactive-link-color
|
2016-07-30 21:47:56 +02:00
|
|
|
cursor: default
|
2016-04-14 20:43:41 +02:00
|
|
|
&.icon
|
|
|
|
color: $inactive-link-color
|
|
|
|
opacity: .5
|
2016-04-29 12:48:46 +02:00
|
|
|
&:focus
|
|
|
|
outline: 2px solid $main-color
|
2016-06-06 20:57:22 +02:00
|
|
|
.vim-nav-hint
|
|
|
|
position: absolute
|
|
|
|
visibility: hidden
|
2020-08-22 22:59:13 +02:00
|
|
|
.darktheme a
|
|
|
|
&.inactive
|
|
|
|
color: $inactive-link-color-darktheme
|
|
|
|
&.icon
|
|
|
|
color: $inactive-link-color-darktheme
|
2016-04-14 20:43:41 +02:00
|
|
|
|
2016-07-05 21:20:28 +02:00
|
|
|
a.append, span.append
|
2016-04-14 20:43:41 +02:00
|
|
|
margin-left: 1em
|
|
|
|
form .fa-question-circle-o
|
|
|
|
font-size: 110%
|
|
|
|
vertical-align: middle
|
2016-04-13 20:06:34 +02:00
|
|
|
|
|
|
|
#content-holder
|
2017-12-18 03:36:45 +01:00
|
|
|
padding: 1.5em
|
2016-04-13 20:06:34 +02:00
|
|
|
text-align: center
|
2017-12-18 03:36:45 +01:00
|
|
|
@media (max-width: 1000px)
|
|
|
|
padding: 1em
|
2016-04-13 20:06:34 +02:00
|
|
|
>.content-wrapper
|
2016-05-21 11:17:11 +02:00
|
|
|
box-sizing: border-box /* make max-width: 100% on this element include padding */
|
2016-04-13 20:06:34 +02:00
|
|
|
text-align: left
|
|
|
|
display: inline-block
|
|
|
|
margin: 0 auto
|
2016-05-22 18:39:25 +02:00
|
|
|
>*:first-child, form h1
|
2016-04-13 20:06:34 +02:00
|
|
|
margin-top: 0
|
2017-12-18 19:41:53 +01:00
|
|
|
nav.buttons
|
|
|
|
ul
|
|
|
|
display: block
|
|
|
|
max-width: 100%
|
|
|
|
white-space: nowrap
|
|
|
|
overflow-x: auto
|
|
|
|
&::-webkit-scrollbar
|
|
|
|
height: 6px
|
|
|
|
background-color: $scrollbar-bg-color
|
|
|
|
&::-webkit-scrollbar-thumb
|
|
|
|
background-color: $scrollbar-thumb-color
|
2016-04-13 20:06:34 +02:00
|
|
|
>.content-wrapper:not(.transparent)
|
2016-06-13 22:34:39 +02:00
|
|
|
background: $top-navigation-color
|
2017-12-18 03:36:45 +01:00
|
|
|
padding: 1.8em
|
|
|
|
@media (max-width: 1000px)
|
|
|
|
padding: 1.5em
|
2017-12-25 00:16:13 +01:00
|
|
|
.content,
|
|
|
|
.content .subcontent
|
|
|
|
>*:last-child
|
|
|
|
margin-bottom: 0
|
2016-04-13 20:06:34 +02:00
|
|
|
|
2020-08-22 22:59:13 +02:00
|
|
|
.darktheme #content-holder
|
|
|
|
>.content-wrapper:not(.transparent)
|
|
|
|
background: $top-navigation-color-darktheme
|
|
|
|
|
2016-04-13 20:06:34 +02:00
|
|
|
hr
|
|
|
|
border: 0
|
|
|
|
border-top: 1px solid $line-color
|
|
|
|
margin: 1em 0
|
|
|
|
padding: 0
|
|
|
|
|
2020-08-22 22:59:13 +02:00
|
|
|
.darktheme hr
|
|
|
|
border-top: 1px solid darken($line-color, 25%)
|
|
|
|
|
2016-06-05 21:46:57 +02:00
|
|
|
nav
|
|
|
|
ul
|
|
|
|
list-style-type: none
|
2016-04-13 20:06:34 +02:00
|
|
|
padding: 0
|
|
|
|
margin: 0
|
2016-06-05 21:46:57 +02:00
|
|
|
display: inline-block
|
|
|
|
li
|
|
|
|
display: block
|
|
|
|
padding: 0
|
2016-04-13 20:06:34 +02:00
|
|
|
margin: 0
|
2016-06-05 21:46:57 +02:00
|
|
|
a
|
|
|
|
display: inline-block
|
|
|
|
img
|
|
|
|
margin: 0
|
|
|
|
vertical-align: top /* fix ghost margin under the image */
|
|
|
|
|
|
|
|
&.buttons
|
|
|
|
margin: 1em 0
|
|
|
|
line-height: 2.3em
|
|
|
|
vertical-align: middle
|
|
|
|
ul
|
|
|
|
li
|
|
|
|
display: inline-block
|
|
|
|
li a
|
|
|
|
padding: 0 1.2em
|
|
|
|
li:not(.active) a
|
|
|
|
color: $inactive-tab-text-color
|
|
|
|
li:hover:not(.active) a
|
|
|
|
color: $active-tab-text-color
|
|
|
|
li.active a
|
|
|
|
background: $active-tab-background-color
|
|
|
|
color: $active-tab-text-color
|
|
|
|
:focus
|
|
|
|
background: $focused-tab-background-color
|
|
|
|
outline: 0
|
|
|
|
|
2016-06-13 22:34:39 +02:00
|
|
|
&#top-navigation
|
|
|
|
background: $top-navigation-color
|
2016-06-05 21:46:57 +02:00
|
|
|
margin: 0
|
|
|
|
ul
|
|
|
|
display: block
|
|
|
|
text-align: right
|
|
|
|
li
|
|
|
|
display: inline-block
|
|
|
|
float: left
|
2017-12-18 03:36:45 +01:00
|
|
|
a
|
|
|
|
padding: 0 1.5em
|
2017-12-16 03:45:51 +01:00
|
|
|
#mobile-navigation-toggle
|
|
|
|
display: none
|
|
|
|
width: 100%
|
2017-12-18 03:36:45 +01:00
|
|
|
padding: 0 1em
|
2017-12-16 03:45:51 +01:00
|
|
|
line-height: 2.3em
|
|
|
|
font-family: inherit
|
|
|
|
border: none
|
|
|
|
background: none
|
|
|
|
color: $active-tab-text-color
|
|
|
|
.site-name
|
|
|
|
display: block
|
|
|
|
float: left
|
|
|
|
max-width: 50vw
|
|
|
|
overflow: hidden
|
|
|
|
text-overflow: ellipsis
|
|
|
|
.toggle-icon
|
|
|
|
display: block
|
|
|
|
float: right
|
|
|
|
@media (max-width: 1000px)
|
|
|
|
text-align: left
|
|
|
|
li
|
|
|
|
display: none
|
|
|
|
float: none
|
|
|
|
a
|
|
|
|
display: block
|
2017-12-18 03:36:45 +01:00
|
|
|
padding: 0 1em
|
2017-12-16 03:45:51 +01:00
|
|
|
#mobile-navigation-toggle
|
|
|
|
display: block
|
|
|
|
&.opened
|
|
|
|
li
|
|
|
|
display: block
|
2016-06-05 21:46:57 +02:00
|
|
|
ul li[data-name=account],
|
|
|
|
ul li[data-name=register],
|
|
|
|
ul li[data-name=login],
|
|
|
|
ul li[data-name=logout],
|
|
|
|
ul li[data-name=settings],
|
|
|
|
ul li[data-name=help]
|
|
|
|
float: none
|
|
|
|
.access-key
|
|
|
|
text-decoration: underline
|
|
|
|
.thumbnail
|
|
|
|
width: 1.5em
|
|
|
|
height: 1.5em
|
|
|
|
margin: calc((2.3em - 1.5em) / 2)
|
|
|
|
margin-right: 0.6em
|
|
|
|
margin-left: calc(0.6em - 1.2em)
|
|
|
|
float: left
|
2017-12-16 03:45:51 +01:00
|
|
|
@media (max-width: 1000px)
|
|
|
|
display: none
|
2016-04-13 20:06:34 +02:00
|
|
|
|
2020-08-22 22:59:13 +02:00
|
|
|
.darktheme nav
|
|
|
|
&.buttons
|
|
|
|
ul
|
|
|
|
li:not(.active) a
|
|
|
|
color: $inactive-tab-text-color-darktheme
|
|
|
|
li:hover:not(.active) a
|
|
|
|
color: $active-tab-text-color-darktheme
|
|
|
|
li.active a
|
|
|
|
background: $active-tab-background-color-darktheme
|
|
|
|
color: $active-tab-text-color-darktheme
|
|
|
|
:focus
|
|
|
|
background: $focused-tab-background-color-darktheme
|
|
|
|
&#top-navigation
|
|
|
|
background: $top-navigation-color-darktheme
|
2021-07-05 13:24:04 +02:00
|
|
|
ul
|
|
|
|
#mobile-navigation-toggle
|
|
|
|
color: $text-color-darktheme
|
2020-08-22 22:59:13 +02:00
|
|
|
|
2016-05-29 12:24:48 +02:00
|
|
|
a .access-key
|
|
|
|
text-decoration: underline
|
|
|
|
|
2016-04-13 20:06:34 +02:00
|
|
|
.messages
|
|
|
|
margin: 0 auto
|
2016-08-28 19:37:26 +02:00
|
|
|
text-align: left
|
2016-04-13 20:06:34 +02:00
|
|
|
.message
|
2016-08-28 19:37:26 +02:00
|
|
|
box-sizing: border-box
|
|
|
|
width: 100%
|
|
|
|
max-width: 40em
|
2016-08-02 11:36:29 +02:00
|
|
|
margin: 0 0 1em 0
|
2016-04-13 20:06:34 +02:00
|
|
|
display: inline-block
|
|
|
|
text-align: left
|
|
|
|
padding: 0.5em 1em
|
2016-08-28 19:37:26 +02:00
|
|
|
&.info
|
|
|
|
border: 1px solid $message-info-border-color
|
|
|
|
background: $message-info-background-color
|
|
|
|
&.error
|
|
|
|
border: 1px solid $message-error-border-color
|
|
|
|
background: $message-error-background-color
|
|
|
|
&.success
|
|
|
|
border: 1px solid $message-success-border-color
|
|
|
|
background: $message-success-background-color
|
2016-04-13 20:06:34 +02:00
|
|
|
|
2020-08-22 22:59:13 +02:00
|
|
|
.darktheme .messages
|
|
|
|
.message
|
|
|
|
&.info
|
|
|
|
border: 1px solid darken($message-info-border-color, 30%)
|
|
|
|
background: darken($message-info-background-color, 60%)
|
|
|
|
&.error
|
|
|
|
border: 1px solid darken($message-error-border-color, 30%)
|
|
|
|
background: darken($message-error-background-color, 60%)
|
|
|
|
&.success
|
|
|
|
border: 1px solid darken($message-success-border-color, 30%)
|
2021-07-05 13:24:04 +02:00
|
|
|
background: darken($message-success-background-color, 80%)
|
2020-08-22 22:59:13 +02:00
|
|
|
|
2016-04-13 20:06:34 +02:00
|
|
|
.thumbnail
|
2016-04-14 20:43:41 +02:00
|
|
|
/*background-image: attr(data-src url)*/ /* not available yet */
|
2016-05-29 12:28:52 +02:00
|
|
|
vertical-align: middle
|
2016-04-13 20:06:34 +02:00
|
|
|
background-repeat: no-repeat
|
|
|
|
background-size: cover
|
|
|
|
background-position: center
|
|
|
|
display: inline-block
|
2016-05-29 12:28:52 +02:00
|
|
|
width: 20px
|
|
|
|
height: 20px
|
2016-08-23 22:31:56 +02:00
|
|
|
&.empty
|
2020-10-12 22:07:49 +02:00
|
|
|
background-image:
|
|
|
|
linear-gradient(45deg, $transparency-grid-square-color 25%, transparent 25%),
|
|
|
|
linear-gradient(-45deg, $transparency-grid-square-color 25%, transparent 25%),
|
|
|
|
linear-gradient(45deg, transparent 75%, $transparency-grid-square-color 75%),
|
|
|
|
linear-gradient(-45deg, transparent 75%, $transparency-grid-square-color 75%)
|
|
|
|
background-position: 0 0, 0 10px, 10px -10px, -10px 0px
|
2016-08-23 22:31:56 +02:00
|
|
|
background-repeat: repeat
|
2020-10-12 22:07:49 +02:00
|
|
|
background-size: 20px 20px
|
2016-08-24 13:29:29 +02:00
|
|
|
img
|
|
|
|
opacity: 0
|
2023-12-10 13:35:50 +01:00
|
|
|
width: 100%
|
2016-08-24 13:29:29 +02:00
|
|
|
height: 100%
|
|
|
|
video
|
2023-12-10 13:35:50 +01:00
|
|
|
width: 100%
|
2016-08-24 13:29:29 +02:00
|
|
|
height: 100%
|
2016-04-13 20:06:34 +02:00
|
|
|
|
|
|
|
.flexbox-dummy
|
|
|
|
height: 0 !important
|
|
|
|
padding-top: 0 !important
|
|
|
|
padding-bottom: 0 !important
|
|
|
|
margin-top: 0 !important
|
|
|
|
margin-bottom: 0 !important
|
|
|
|
|
2017-12-16 03:45:51 +01:00
|
|
|
.table-wrap
|
2017-12-18 19:06:24 +01:00
|
|
|
overflow-x: auto
|
|
|
|
&::-webkit-scrollbar
|
|
|
|
height: 6px
|
|
|
|
background-color: $scrollbar-bg-color
|
|
|
|
&::-webkit-scrollbar-thumb
|
|
|
|
background-color: $scrollbar-thumb-color
|
2017-12-16 03:45:51 +01:00
|
|
|
|
2016-07-30 20:06:38 +02:00
|
|
|
/* hack to prevent text from being copied */
|
|
|
|
[data-pseudo-content]:before {
|
|
|
|
content: attr(data-pseudo-content)
|
|
|
|
}
|