2019-02-24 07:19:06 +03:00
/ * Content Styles
/ *
/ * We use only margin-top to set the vertical spacings . The styles below
/ * set up the margin for content pairs ( e . g . paragraph preceded by a heading ) .
/* -------------------------------------------------------------------- */
/ * Global Koenig content styles
/* -------------------------------------------------------------------- */
. koenig-editor__editor {
font-family : var ( --font-family ) ;
font-size : 1 . 7rem ;
2019-11-22 13:53:57 +03:00
font-weight : 300 ;
2019-02-24 07:19:06 +03:00
letter-spacing : 0 . 1px ;
color : var ( --darkgrey ) ;
text-rendering : optimizeLegibility ;
-webkit-font-smoothing : antialiased ;
-moz-osx-font-smoothing : grayscale ;
-moz-font-feature-settings : "liga" on ;
}
2020-04-06 12:56:40 +03:00
. koenig-editor__editor . __has-no-content : after ,
2021-11-11 19:35:29 +03:00
. koenig-text-replacement-html-input__editor . __has-no-content : after ,
2021-11-18 22:54:30 +03:00
. koenig-basic-html-textarea__editor . __has-no-content : after ,
2021-12-01 17:23:47 +03:00
. kg-callout-card . koenig-basic-html-input__editor . __has-no-content : after {
2019-02-24 07:19:06 +03:00
font-family : georgia , serif ;
font-weight : 300 ;
letter-spacing : . 02rem ;
line-height : 1 . 6em ;
font-size : 2rem ;
color : var ( --midgrey-l2 ) ;
}
. koenig-editor__editor video {
max-width : 100 % ;
}
/* Reset margins */
. koenig-editor__editor p ,
. koenig-editor__editor h1 ,
. koenig-editor__editor h2 ,
. koenig-editor__editor h3 ,
. koenig-editor__editor h4 ,
. koenig-editor__editor h5 ,
. koenig-editor__editor h6 ,
2021-11-30 17:25:48 +03:00
. koenig-editor__editor blockquote ,
. koenig-editor__editor aside {
2019-02-24 07:19:06 +03:00
margin : 1 . 6rem 0 0 ;
min-width : 100 % ;
max-width : 100 % ;
}
/ * Heading
/* -------------------------------------------------------------------- */
. koenig-editor__editor h1 ,
. koenig-editor__editor h2 ,
. koenig-editor__editor h3 ,
. koenig-editor__editor h4 ,
. koenig-editor__editor h5 ,
. koenig-editor__editor h6 {
2022-07-21 10:58:22 +03:00
font-family : "Inter" , -apple-system , BlinkMacSystemFont , avenir next , avenir , helvetica neue , helvetica , ubuntu , roboto , noto , segoe ui , arial , sans-serif ;
2022-03-28 18:09:08 +03:00
font-weight : 700 ;
2021-02-10 16:17:01 +03:00
color : var ( --black ) ;
2019-02-24 07:19:06 +03:00
}
2022-03-28 18:09:08 +03:00
. koenig-editor__editor h1 strong ,
. koenig-editor__editor h2 strong ,
. koenig-editor__editor h3 strong ,
. koenig-editor__editor h4 strong ,
. koenig-editor__editor h5 strong ,
. koenig-editor__editor h6 strong {
font-weight : 800 ;
}
2019-10-31 16:21:18 +03:00
/* H1 should be almost the same size as the post title to suggest avoid using it */
2019-02-24 07:19:06 +03:00
. koenig-editor__editor h1 {
2019-10-31 16:21:18 +03:00
font-size : 4 . 4rem ;
line-height : 1 . 15em ;
2022-03-28 18:09:08 +03:00
letter-spacing : -0 . 015em ;
2019-02-24 07:19:06 +03:00
}
. koenig-editor__editor h2 {
2019-10-31 16:21:18 +03:00
font-size : 3 . 2rem ;
2022-03-28 18:09:08 +03:00
line-height : 1 . 2em ;
letter-spacing : -0 . 014em ;
2019-02-24 07:19:06 +03:00
}
. koenig-editor__editor h3 {
2019-10-31 16:21:18 +03:00
font-size : 2 . 5rem ;
2022-03-28 18:09:08 +03:00
line-height : 1 . 3em ;
letter-spacing : -0 . 013em ;
2019-02-24 07:19:06 +03:00
}
2019-10-31 16:21:18 +03:00
/* H4 is almost the same size as H3 to discourage using it */
2019-02-24 07:19:06 +03:00
. koenig-editor__editor h4 {
2019-10-31 16:21:18 +03:00
font-size : 2 . 2rem ;
2022-03-28 18:09:08 +03:00
line-height : 1 . 35em ;
letter-spacing : -0 . 011em ;
2019-02-24 07:19:06 +03:00
}
. koenig-editor__editor h5 {
2019-10-31 16:21:18 +03:00
font-size : 2 . 0rem ;
2022-03-28 18:09:08 +03:00
line-height : 1 . 35em ;
2019-10-31 16:21:18 +03:00
font-weight : 700 ;
2022-03-28 18:09:08 +03:00
letter-spacing : -0 . 011em ;
2019-02-24 07:19:06 +03:00
}
. koenig-editor__editor h6 {
2019-10-31 16:21:18 +03:00
font-size : 1 . 85rem ;
2022-03-28 18:09:08 +03:00
line-height : 1 . 4em ;
2019-10-31 16:21:18 +03:00
font-weight : 700 ;
2022-03-28 18:09:08 +03:00
letter-spacing : -0 . 008em ;
2019-02-24 07:19:06 +03:00
}
. koenig-editor__editor p + h1 ,
. koenig-editor__editor p + h2 ,
. koenig-editor__editor p + h3 ,
. koenig-editor__editor p + h4 ,
. koenig-editor__editor p + h5 ,
. koenig-editor__editor p + h6 ,
. koenig-editor__editor blockquote + h1 ,
. koenig-editor__editor blockquote + h2 ,
. koenig-editor__editor blockquote + h3 ,
. koenig-editor__editor blockquote + h4 ,
. koenig-editor__editor blockquote + h5 ,
. koenig-editor__editor blockquote + h6 ,
2021-11-30 17:25:48 +03:00
. koenig-editor__editor aside + h1 ,
. koenig-editor__editor aside + h2 ,
. koenig-editor__editor aside + h3 ,
. koenig-editor__editor aside + h4 ,
. koenig-editor__editor aside + h5 ,
. koenig-editor__editor aside + h6 ,
2019-02-24 07:19:06 +03:00
. koenig-editor__editor ul + h1 ,
. koenig-editor__editor ul + h2 ,
. koenig-editor__editor ul + h3 ,
. koenig-editor__editor ul + h4 ,
. koenig-editor__editor ul + h5 ,
. koenig-editor__editor ul + h6 ,
. koenig-editor__editor ol + h1 ,
. koenig-editor__editor ol + h2 ,
. koenig-editor__editor ol + h3 ,
. koenig-editor__editor ol + h4 ,
. koenig-editor__editor ol + h5 ,
. koenig-editor__editor ol + h6 {
margin : 4 . 8rem 0 0 ;
}
/* Heading 1 vertical rhythm */
. koenig-editor__editor h1 + h1 {
margin : 1 . 4rem 0 0 ;
}
. koenig-editor__editor h2 + h1 ,
. koenig-editor__editor h3 + h1 {
margin : 1 . 0rem 0 0 ;
}
. koenig-editor__editor h4 + h1 ,
. koenig-editor__editor h5 + h1 {
margin : 0 . 8rem 0 0 ;
}
. koenig-editor__editor h6 + h1 {
margin : 0 . 6rem 0 0 ;
}
. koenig-editor__editor div + h1 {
margin : 4 . 8rem 0 0 ;
}
/* Heading 2 */
. koenig-editor__editor h1 + h2 {
margin : 1 . 6rem 0 0 ;
}
. koenig-editor__editor h2 + h2 ,
. koenig-editor__editor h3 + h2 ,
. koenig-editor__editor h4 + h2 ,
. koenig-editor__editor h5 + h2 {
margin : 0 . 8rem 0 0 ;
}
. koenig-editor__editor h6 + h2 {
margin : 0 . 4rem 0 0 ;
}
. koenig-editor__editor div + h2 {
margin : 4 . 8rem 0 0 ;
}
/* Heading 3 - 6 (share common styles) */
. koenig-editor__editor h1 + h3 ,
. koenig-editor__editor h2 + h3 ,
. koenig-editor__editor h1 + h4 ,
. koenig-editor__editor h2 + h4 ,
. koenig-editor__editor h1 + h5 ,
. koenig-editor__editor h2 + h5 ,
. koenig-editor__editor h1 + h6 ,
. koenig-editor__editor h2 + h6 {
margin : 1 . 2rem 0 0 ;
}
. koenig-editor__editor h3 + h4 {
margin : 0 . 8rem 0 0 ;
}
. koenig-editor__editor h3 + h3 ,
. koenig-editor__editor h4 + h3 ,
. koenig-editor__editor h5 + h3 ,
. koenig-editor__editor h4 + h4 ,
. koenig-editor__editor h5 + h4 ,
. koenig-editor__editor h3 + h5 ,
. koenig-editor__editor h4 + h5 ,
. koenig-editor__editor h5 + h5 ,
. koenig-editor__editor h3 + h6 ,
. koenig-editor__editor h4 + h6 {
margin : 0 . 8rem 0 0 ;
}
. koenig-editor__editor h5 + h6 {
margin : 0 . 4rem 0 0 ;
}
. koenig-editor__editor h6 + h3 ,
. koenig-editor__editor h6 + h4 ,
. koenig-editor__editor h6 + h5 ,
. koenig-editor__editor h6 + h6 {
margin : 0 . 4rem 0 0 ;
}
. koenig-editor__editor div + h3 ,
. koenig-editor__editor div + h4 ,
. koenig-editor__editor div + h5 ,
. koenig-editor__editor div + h6 {
2019-10-31 16:21:18 +03:00
margin : 4 . 8rem 0 0 ;
}
2019-11-27 15:06:12 +03:00
/* Headings right after post title */
. koenig-editor__editor h1 : first-child ,
. koenig-editor__editor h2 : first-child ,
. koenig-editor__editor h3 : first-child ,
. koenig-editor__editor h4 : first-child ,
. koenig-editor__editor h5 : first-child ,
. koenig-editor__editor h6 : first-child {
margin-top : 0rem ;
}
2019-10-31 16:21:18 +03:00
@ media ( max-width : 500px ) {
. koenig-editor__editor h1 {
font-size : 3 . 2rem ;
}
. koenig-editor__editor h2 {
font-size : 2 . 8rem ;
}
. koenig-editor__editor h3 {
font-size : 2 . 4rem ;
}
. koenig-editor__editor h4 {
font-size : 2 . 3rem ;
}
. koenig-editor__editor h5 {
font-size : 2 . 0rem ;
}
. koenig-editor__editor h6 {
font-size : 1 . 9rem ;
}
2019-02-24 07:19:06 +03:00
}
/ * Paragraph
/* -------------------------------------------------------------------- */
. koenig-editor__editor p ,
. koenig-editor__editor blockquote ,
2021-11-30 17:25:48 +03:00
. koenig-editor__editor aside ,
2019-02-24 07:19:06 +03:00
. koenig-editor__editor ul : not ( . kg-action-bar ) : not ( . kg-link-toolbar ) ,
. koenig-editor__editor ol
{
font-family : georgia , serif ;
2019-06-18 13:47:21 +03:00
font-weight : 400 ;
2019-02-24 07:19:06 +03:00
line-height : 1 . 6em ;
2019-10-31 16:21:18 +03:00
font-size : 2 . 0rem ;
2019-02-24 07:19:06 +03:00
}
. koenig-editor__editor h1 + p {
2019-06-18 13:47:21 +03:00
margin : 1 . 0rem 0 0 ;
2019-02-24 07:19:06 +03:00
}
. koenig-editor__editor h2 + p {
2019-10-31 16:21:18 +03:00
margin : 0 . 8rem 0 0 ;
2019-02-24 07:19:06 +03:00
}
. koenig-editor__editor h3 + p ,
. koenig-editor__editor h4 + p ,
. koenig-editor__editor h5 + p ,
. koenig-editor__editor h6 + p {
2019-10-31 16:21:18 +03:00
margin : 0 . 8rem 0 0 ;
2019-02-24 07:19:06 +03:00
}
. koenig-editor__editor p + p ,
. koenig-editor__editor blockquote + p ,
2021-11-30 17:25:48 +03:00
. koenig-editor__editor aside + p ,
2019-02-24 07:19:06 +03:00
. koenig-editor__editor ul + p ,
. koenig-editor__editor ol + p
{
2019-10-31 16:21:18 +03:00
margin : 3 . 2rem 0 0 ;
2019-02-24 07:19:06 +03:00
}
. koenig-editor__editor div + p { /* Mobiledoc cards can be addressed by their wrapper div element */
margin : 2 . 8rem 0 0 ;
}
2019-11-27 15:06:12 +03:00
/* Paragraph right after title */
. koenig-editor__editor p : first-child {
2019-11-27 15:44:17 +03:00
margin-top : 0rem ;
2019-11-27 15:06:12 +03:00
}
2019-10-31 16:21:18 +03:00
@ media ( max-width : 500px ) {
. koenig-editor__editor p ,
. koenig-editor__editor blockquote ,
2021-11-30 17:25:48 +03:00
. koenig-editor__editor aside ,
2019-10-31 16:21:18 +03:00
. koenig-editor__editor ul : not ( . kg-action-bar ) : not ( . kg-link-toolbar ) ,
. koenig-editor__editor ol
{
font-size : 1 . 8rem ;
}
}
2019-02-24 07:19:06 +03:00
/ * Lists
/* -------------------------------------------------------------------- */
. koenig-editor__editor ul : not ( . kg-action-bar ) : not ( . kg-link-toolbar ) ,
. koenig-editor__editor ol {
margin : 1 . 6rem 0 0 ;
padding : 0 ;
min-width : 100 % ;
max-width : 100 % ;
}
. koenig-editor__editor ul : not ( . kg-action-bar ) : not ( . kg-link-toolbar ) li {
margin : 1 . 0rem 0 0 2 . 4rem ;
padding : 0 0 0 0 . 6rem ;
line-height : 3 . 2rem ;
}
. koenig-editor__editor ul : not ( . kg-action-bar ) : not ( . kg-link-toolbar ) li : first-child {
margin : 0 0 0 2 . 4rem ;
}
. koenig-editor__editor ol li {
margin : 1 . 0rem 0 0 2 . 2rem ;
padding : 0 0 0 0 . 8rem ;
line-height : 3 . 2rem ;
}
. koenig-editor__editor ol li : first-child {
margin : 0 0 0 2 . 2rem ;
}
. koenig-editor__editor p + ul : not ( . kg-action-bar ) : not ( . kg-link-toolbar ) ,
2019-06-18 13:47:21 +03:00
. koenig-editor__editor p + ol {
2019-10-31 16:21:18 +03:00
margin : 3 . 0rem 0 0 ;
2019-06-18 13:47:21 +03:00
}
2019-02-24 07:19:06 +03:00
. koenig-editor__editor ul : not ( . kg-action-bar ) : not ( . kg-link-toolbar ) + ul : not ( . kg-action-bar ) : not ( . kg-link-toolbar ) ,
. koenig-editor__editor ul : not ( . kg-action-bar ) : not ( . kg-link-toolbar ) + ol ,
. koenig-editor__editor ol + ul : not ( . kg-action-bar ) : not ( . kg-link-toolbar ) ,
. koenig-editor__editor ol + ol ,
. koenig-editor__editor blockquote + ul : not ( . kg-action-bar ) : not ( . kg-link-toolbar ) ,
2021-11-30 17:25:48 +03:00
. koenig-editor__editor blockquote + ol ,
. koenig-editor__editor aside + ul : not ( . kg-action-bar ) : not ( . kg-link-toolbar ) ,
. koenig-editor__editor aside + ol {
2019-10-31 16:21:18 +03:00
margin : 3 . 0rem 0 0 ;
2019-02-24 07:19:06 +03:00
}
. koenig-editor__editor h1 + ul : not ( . kg-action-bar ) : not ( . kg-link-toolbar ) ,
. koenig-editor__editor h1 + ol ,
. koenig-editor__editor h2 + ul : not ( . kg-action-bar ) : not ( . kg-link-toolbar ) ,
. koenig-editor__editor h2 + ol {
margin : . 8rem 0 0 ;
}
. koenig-editor__editor h3 + ul : not ( . kg-action-bar ) : not ( . kg-link-toolbar ) ,
. koenig-editor__editor h3 + ol ,
. koenig-editor__editor h4 + ul : not ( . kg-action-bar ) : not ( . kg-link-toolbar ) ,
. koenig-editor__editor h4 + ol ,
. koenig-editor__editor h5 + ul : not ( . kg-action-bar ) : not ( . kg-link-toolbar ) ,
. koenig-editor__editor h5 + ol ,
. koenig-editor__editor h6 + ul : not ( . kg-action-bar ) : not ( . kg-link-toolbar ) ,
. koenig-editor__editor h6 + ol {
margin : 1 . 2rem 0 0 ;
}
. koenig-editor__editor div + ul : not ( . kg-action-bar ) : not ( . kg-link-toolbar ) ,
. koenig-editor__editor div + ol {
margin : 2 . 8rem 0 0 ;
}
. koenig-editor__editor ul : not ( . kg-action-bar ) : not ( . kg-link-toolbar ) ul : not ( . kg-action-bar ) : not ( . kg-link-toolbar ) ,
. koenig-editor__editor ul : not ( . kg-action-bar ) : not ( . kg-link-toolbar ) ol ,
. koenig-editor__editor ol ul : not ( . kg-action-bar ) : not ( . kg-link-toolbar ) ,
. koenig-editor__editor ol ol {
margin : 1 . 0rem 0 2rem ;
}
2019-11-27 15:06:12 +03:00
/* Lists right after title */
. koenig-editor__editor ul : not ( . kg-action-bar ) : not ( . kg-link-toolbar ) : first-child ,
. koenig-editor__editor ol : first-child ,
. koenig-editor__editor ul : not ( . kg-action-bar ) : not ( . kg-link-toolbar ) : first-child ,
. koenig-editor__editor ol : first-child {
2019-11-27 15:44:17 +03:00
margin-top : 0rem ;
2019-11-27 15:06:12 +03:00
}
2019-02-24 07:19:06 +03:00
/ * Cards in general
/* -------------------------------------------------------------------- */
. koenig-editor__editor > div {
line-height : 0 ;
min-width : 100 % ;
}
. koenig-editor__editor > div + div {
margin : 3 . 2rem 0 0 ;
}
. koenig-editor__editor > p + div ,
. koenig-editor__editor > blockquote + div ,
2021-11-30 17:25:48 +03:00
. koenig-editor__editor > aside + div ,
2019-02-24 07:19:06 +03:00
. koenig-editor__editor > ul + div ,
. koenig-editor__editor > ol + div {
margin : 3 . 2rem 0 0 ;
}
. koenig-editor__editor > h1 + div {
margin : 2 . 8rem 0 0 ;
}
. koenig-editor__editor > h2 + div ,
. koenig-editor__editor > h3 + div ,
. koenig-editor__editor > h4 + div ,
. koenig-editor__editor > h5 + div ,
. koenig-editor__editor > h6 + div {
margin : 1 . 6rem 0 0 ;
}
. koenig-editor__editor hr {
margin : 1 . 6rem 0 ;
}
2019-11-27 15:06:12 +03:00
/* First card right after post title */
. koenig-editor__editor > div : first-child {
margin-top : 3 . 2rem ;
}
2019-02-24 07:19:06 +03:00
/ * Links
/* -------------------------------------------------------------------- */
2021-03-04 11:37:37 +03:00
. koenig-editor__editor a : not ( [ class ] ) {
2019-10-31 16:21:18 +03:00
color : var ( --darkgrey-d2 ) ;
2021-03-09 18:10:27 +03:00
text-decoration : underline ;
2019-02-24 07:19:06 +03:00
}
/ * Blockquote
/* -------------------------------------------------------------------- */
. koenig-editor__editor blockquote p {
margin : 0 ;
}
. koenig-editor__editor blockquote {
border-left : 0 . 25rem solid var ( --blue ) ;
padding-left : 2 . 0rem ;
font-style : italic ;
}
. koenig-editor__editor h1 + blockquote ,
. koenig-editor__editor h2 + blockquote {
margin : . 8rem 0 0 ;
}
. koenig-editor__editor h3 + blockquote ,
. koenig-editor__editor h4 + blockquote ,
. koenig-editor__editor h5 + blockquote ,
. koenig-editor__editor h6 + blockquote {
margin : . 4rem 0 0 ;
}
. koenig-editor__editor p + blockquote ,
. koenig-editor__editor blockquote + blockquote {
margin : 3 . 2rem 0 0 ;
}
/* Mobiledoc cards can be selected by their wrapper div element */
. koenig-editor__editor div + blockquote {
margin : 2 . 8rem 0 0 ;
}
2021-11-30 17:25:48 +03:00
/ * Aside , Blockquote Alternative
/* -------------------------------------------------------------------- */
. koenig-editor__editor aside p {
margin : 0 ;
}
. koenig-editor__editor aside {
margin : 3 . 2rem 0 0 ;
2021-12-07 14:34:07 +03:00
padding : 1rem 6rem 1 . 25rem ;
2021-11-30 17:25:48 +03:00
font-style : italic ;
text-align : center ;
font-size : 2 . 4rem ;
color : var ( --midgrey-l1 ) ;
}
. koenig-editor__editor h1 + aside ,
. koenig-editor__editor h2 + aside {
margin : . 8rem 0 0 ;
}
. koenig-editor__editor h3 + aside ,
. koenig-editor__editor h4 + aside ,
. koenig-editor__editor h5 + aside ,
. koenig-editor__editor h6 + aside {
margin : . 4rem 0 0 ;
}
. koenig-editor__editor p + aside ,
. koenig-editor__editor blockquote + aside {
margin : 3 . 2rem 0 0 ;
}
@ media ( max-width : 800px ) {
. koenig-editor__editor aside {
padding-left : 6rem ;
padding-right : 6rem ;
}
}
@ media ( max-width : 500px ) {
. koenig-editor__editor aside {
font-size : 2 . 2rem ;
}
}
/* Mobiledoc cards can be selected by their wrapper div element */
. koenig-editor__editor div + aside {
margin : 2 . 8rem 0 0 ;
}
2019-02-24 07:19:06 +03:00
/ * Code
/* ------------------------------------------------------------------ */
. koenig-card-html--editor . CodeMirror ,
. koenig-editor__editor code ,
. koenig-editor__editor pre {
font-family : Consolas , Liberation Mono , Menlo , Courier , monospace ;
2021-02-10 16:17:01 +03:00
background : color-mod ( var ( --whitegrey ) lightness ( + 4 % ) ) ;
border : 1px solid var ( --whitegrey ) ;
2019-02-24 07:19:06 +03:00
}
. koenig-editor__editor code {
border-radius : 2px ;
2019-10-31 16:21:18 +03:00
color : var ( --darkgrey-d2 ) ;
2020-07-21 13:35:48 +03:00
font-size : . 8em ;
2019-02-24 07:19:06 +03:00
line-height : 1em ;
padding : . 4rem . 4rem . 2rem ;
vertical-align : middle ;
white-space : pre-wrap ;
}
. koenig-editor__editor pre code {
border : none ;
font-size : 1 . 6rem ;
2019-10-31 16:21:18 +03:00
color : var ( --darkgrey-d2 ) ;
2019-02-24 07:19:06 +03:00
padding : 0 ;
}
. koenig-editor__editor pre {
line-height : 1 . 4em ;
padding : . 8rem . 8rem . 4rem ;
border-radius : . 4rem ;
font-size : 1 . 6rem ;
overflow : auto ;
white-space : pre ;
width : 100 % ;
2019-10-31 16:21:18 +03:00
color : var ( --darkgrey-d2 ) ;
2019-02-24 07:19:06 +03:00
}
. koenig-editor__editor pre . js-embed-placeholder ,
. koenig-editor__editor pre . iframe-embed-placeholder {
margin : 0 . 4rem 0 ! important ;
color : var ( --midgrey ) ;
}
/ * Markdown
/* --------------------------------------------------------------- */
/ *
Resetting the default top margin of the redered markdown content . This is
needed because the top margin is applied to the card itself . It ' s the 2nd
child because there ' s an SVG at the first place .
NOTE : this is not too elegant .
* /
. koenig-card-markdown-rendered > : nth-child ( 2 ) {
margin : 0 ;
}
. koenig-card-markdown-rendered hr {
margin : 3 . 2rem 0 0 ;
}
. koenig-card-markdown-rendered hr + p {
margin : 3 . 2rem 0 0 ;
}
. koenig-editor . gh-markdown-editor pre {
border : none ;
background : none ;
white-space : normal ;
}
. koenig-editor . gh-markdown-editor a {
box-shadow : none ;
}
/ * HTML editor
/* --------------------------------------------------------------- */
. koenig-card-html-rendered {
line-height : 1 . 8em ;
}
. koenig-card-html-rendered > : first-child {
margin : 0 ;
}
. koenig-card-html--editor pre {
border : none ;
background : none ;
white-space : pre-line ;
padding : 0 . 8rem ;
line-height : 1 . 4em ;
}
. koenig-card-html--editor . CodeMirror {
border : none ;
margin : 0 -8px ;
}
. koenig-card-html--editor . CodeMirror-linenumber {
padding : 12px 3px 0 5px ;
color : var ( --midlightgrey-l2 ) ;
}
. koenig-card-html--editor . CodeMirror-gutters {
border : none ;
background : none ;
}
/ * Images
/* --------------------------------------------------------------- */
. koenig-breakout-wide {
2021-06-23 15:54:23 +03:00
margin : auto calc ( 50 % - ( 50vw - var ( --editor-sidebar-width ) ) - . 8rem ) ;
width : calc ( 65vw + 2px - var ( --editor-sidebar-width ) ) ;
2019-02-24 07:19:06 +03:00
min-width : calc ( 100 % + 18rem ) ;
2021-06-23 15:54:23 +03:00
transform : translateX ( calc ( 50vw - 50 % + . 8rem - var ( --editor-sidebar-width ) ) ) ;
2019-02-24 07:19:06 +03:00
}
@ media ( min-width : 500px ) and ( max-width : 1080px ) {
. koenig-breakout-wide {
min-width : calc ( 100 % + 10rem ) ;
}
}
@ media ( max-width : 500px ) {
. koenig-breakout-wide {
min-width : calc ( 100 % + 3 . 6rem ) ;
}
}
. koenig-breakout-full {
2021-06-23 15:54:23 +03:00
margin-left : calc ( 50 % - 50vw + ( var ( --editor-sidebar-width ) / 2 ) ) ;
margin-right : calc ( 50 % - 50vw + ( var ( --editor-sidebar-width ) / 2 ) ) ;
}
. koenig-breakout-full . mw-100vw {
max-width : calc ( 100vw - var ( --editor-sidebar-width ) ) ;
2019-02-24 07:19:06 +03:00
}
. mw-100vw . kg-image-full--sidebar {
max-width : calc ( 100vw - 280px ) ;
}
2021-07-05 14:44:17 +03:00
@ media ( max-width : 1024px ) {
. koenig-breakout-full {
margin-left : calc ( 50 % - 50vw ) ;
margin-right : calc ( 50 % - 50vw ) ;
}
. koenig-breakout-full . mw-100vw {
max-width : 100vw ;
}
}
2019-02-24 07:19:06 +03:00
/ * Table
/* --------------------------------------------------------------- */
. koenig-editor__editor table {
font-size : 1 . 75rem ;
margin : 0 ;
font-family : georgia , serif ;
letter-spacing : . 02rem ;
line-height : 1 . 6em ;
}
. koenig-editor__editor table tr td ,
. koenig-editor__editor table tr th {
vertical-align : top ;
2021-02-10 16:17:01 +03:00
border-bottom : 1px solid var ( --whitegrey ) ;
2019-02-24 07:19:06 +03:00
}
/ * Captions
/* --------------------------------------------------------------- */
/* override `.koenig-editor__editor p` by inheriting styles from parent figcaption classes */
. koenig-editor__editor figcaption p {
margin : 0 ;
font-family : inherit ;
font-size : inherit ;
font-weight : inherit ;
letter-spacing : inherit ;
line-height : inherit ;
}
. koenig-basic-html-input__editor code {
font-size : 1 . 4rem ;
}
/ *
/ * UI Styles
/ *
/ * Styles that extend Spirit classes .
/* -------------------------------------------------------------------- */
. kg-card-hover : hover {
2021-03-09 14:51:35 +03:00
box-shadow : 0 0 0 1px var ( --green ) ;
2019-02-24 07:19:06 +03:00
}
. kg-card-selected ,
2020-10-01 18:56:30 +03:00
. kg-card-selected : hover {
2021-03-09 14:51:35 +03:00
box-shadow : 0 0 0 2px var ( --green ) ;
2019-02-24 07:19:06 +03:00
}
/* Force a 16:10 aspect ratio */
. kg-media-placeholder : before {
content : "" ;
float : left ;
padding-bottom : 62 . 5 % ;
}
. kg-media-placeholder : after {
clear : left ;
content : " " ;
display : table ;
}
. kg-image-button svg {
transform : scale ( 1 . 0 ) ;
transition : var ( --animation-speed-normal ) ease-out ;
opacity : 0 . 85 ;
}
. kg-image-button : hover svg {
transform : scale ( 1 . 05 ) ;
opacity : 1 . 0 ;
}
2019-03-07 17:37:03 +03:00
. kg-placeholder-image {
2019-02-24 07:19:06 +03:00
width : 152px ;
height : 122px ;
}
. kg-placeholder-gallery {
width : 141px ;
height : 131px ;
}
/* Link hover tooltip - override inherited styles from .koenig-editor__editor */
. kg-link-toolbar a {
color : inherit ;
-webkit-font-smoothing : initial ;
}
/* Link input bar */
. kg-link-input {
min-width : 225px ; /* Same width as text toolbar */
2022-01-05 06:42:07 +03:00
padding : 4px 28px 4px 8px ;
2021-02-17 01:01:46 +03:00
caret-color : auto ;
2021-08-23 11:29:44 +03:00
border : 1px solid var ( --green ) ;
2021-08-24 13:28:07 +03:00
font-size : 1 . 4rem ;
2021-08-23 11:29:44 +03:00
background-color : var ( --white ) ;
2019-02-24 07:19:06 +03:00
}
. kg-input-bar-close {
position : absolute ;
top : 22px ;
right : 10px ;
left : auto ;
line-height : 1 . 2rem ;
z-index : 100 ;
cursor : pointer ;
}
. kg-input-bar : before ,
. kg-input-bar : after {
position : absolute ;
top : 47px ;
left : calc ( 50 % - 8px ) ;
width : 0 ;
content : "" ;
font-size : 0 ;
line-height : 0 ;
}
. kg-input-bar : before {
2021-03-09 14:42:54 +03:00
border-top : 9px solid var ( --green ) ;
2019-02-24 07:19:06 +03:00
border-right : 9px solid transparent ;
border-left : 9px solid transparent ;
}
. kg-input-bar : after {
border-top : 8px solid var ( --white ) ;
border-right : 8px solid transparent ;
border-left : 8px solid transparent ;
margin-left : 1px ;
}
/* Action bar styles */
. kg-action-bar {
top : 8px ;
}
. kg-action-bar a {
min-height : 34px ;
}
. kg-action-bar : after {
position : absolute ;
2019-06-18 13:47:21 +03:00
top : 36px ;
2019-02-24 07:19:06 +03:00
left : calc ( 50 % - 8px ) ;
width : 0 ;
border-top : 8px solid var ( --darkgrey-d1 ) ;
border-right : 8px solid transparent ;
border-left : 8px solid transparent ;
content : "" ;
font-size : 0 ;
line-height : 0 ;
transition : left ease 0 . 06s ;
}
. kg-action-bar-divider {
width : 1px ;
}
. kg-cardmenu-card-selected ,
. kg-cardmenu-card-hover : hover {
cursor : pointer ;
background : var ( --whitegrey-l1 ) ;
}
2020-10-26 20:09:09 +03:00
. kg-cardmenu-card-hover . kg-cardmenu-action-icon {
display : flex ;
align-items : center ;
justify-content : center ;
opacity : 0 ;
transition : opacity ease-in-out 0 . 15s ;
2020-10-28 15:14:17 +03:00
padding : 5px ;
2020-10-26 20:09:09 +03:00
margin-top : -2px ;
margin-bottom : -2px ;
2020-11-16 19:34:32 +03:00
margin-left : auto ;
2020-10-28 15:14:17 +03:00
margin-right : 8px ;
2020-10-26 20:09:09 +03:00
border-radius : 3px ;
}
2020-10-28 15:14:17 +03:00
. kg-cardmenu-card-hover : hover svg [ data-selector = "bg" ] {
fill : # fff ;
}
2020-10-26 20:09:09 +03:00
. kg-cardmenu-card-hover : hover . kg-cardmenu-action-icon {
opacity : 1 . 0 ;
}
. kg-cardmenu-card-hover . kg-cardmenu-action-icon : hover {
background : var ( --whitegrey-d1 ) ;
}
. kg-cardmenu-card-hover . kg-cardmenu-action-icon svg {
margin : 0 ;
2022-09-02 18:56:02 +03:00
height : 1 . 6rem ;
2020-10-26 20:09:09 +03:00
}
2019-02-24 07:19:06 +03:00
/* Padded container housing title + editor canvas, scrollable content */
. gh-koenig-editor-pane {
padding : 11vw 92px ;
}
@ media ( min-width : 500px ) and ( max-width : 960px ) {
. gh-koenig-editor-pane {
padding : 15vw 92px ;
}
}
@ media ( max-width : 500px ) {
. gh-koenig-editor-pane {
2021-09-20 18:36:43 +03:00
padding : 20vw 32px ;
2019-02-24 07:19:06 +03:00
}
}
/ * Use flex-grow to fill the available vertical space so clicks outside the
editor content can trigger focus * /
. gh-koenig-editor-pane . koenig-editor {
cursor : text ;
}
. koenig-editor {
2019-06-18 13:47:21 +03:00
max-width : 740px ;
2019-02-24 07:19:06 +03:00
}
2022-09-19 16:48:44 +03:00
. koenig-react-editor {
max-width : 740px ;
margin : 0 auto ;
}
2019-02-24 07:19:06 +03:00
/ * ⨁ menu
/* --------------------------------------------------------------- */
. koenig-plus-menu-button {
margin : -2px 0 0 -66px ;
}
. koenig-plus-menu-button : hover {
border-color : var ( --darkgrey ) ;
}
2022-09-02 18:56:02 +03:00
. koenig-plus-menu-button svg path {
stroke-width : 1 . 2 ;
2019-02-24 07:19:06 +03:00
}
2022-09-02 18:56:02 +03:00
. koenig-plus-menu-button : hover svg path {
stroke : var ( --darkgrey ) ;
}
2019-02-24 07:19:06 +03:00
2022-07-27 12:29:33 +03:00
@ media ( max-width : 500px ) {
2019-02-24 07:19:06 +03:00
. koenig-plus-menu-button {
2022-07-27 12:29:33 +03:00
right : -34px ;
2019-02-24 07:19:06 +03:00
}
}
/* Chrome has a bug with its scrollbars on this element which has been reported here: https://bugs.chromium.org/p/chromium/issues/detail?id=697381 */
. koenig-cardmenu {
2020-10-23 11:36:03 +03:00
width : 312px ;
2020-11-16 19:34:32 +03:00
max-height : 376px ;
2020-10-23 11:36:03 +03:00
padding-top : 0 ;
2019-02-24 07:19:06 +03:00
background-clip : padding-box ;
z-index : 9999999 ; /* have to compete with codemirror */
left : -16px ;
2020-04-08 14:52:48 +03:00
top : -10px ;
2019-02-24 07:19:06 +03:00
}
2020-10-27 11:33:27 +03:00
/*Firefox has a bug with padding-bottom being ignored when using overflow:auto which has been reported here: https://bugzilla.mozilla.org/show_bug.cgi?id=748518. Below solution works cross browsers*/
2020-10-23 12:55:28 +03:00
. koenig-cardmenu : after {
content : "" ;
2020-10-27 11:33:27 +03:00
padding : . 8rem ;
2020-10-23 12:55:28 +03:00
display : block ;
}
2021-11-19 22:07:40 +03:00
/ * In-line media selector
/* --------------------------------------------------------------- */
. kg-media-selector {
position : absolute ;
width : 90 % ;
height : 600px ;
2021-11-23 18:03:53 +03:00
}
. kg-media-selector-browser {
display : flex ;
flex-direction : column ;
2021-11-25 15:22:27 +03:00
background-color : var ( --whitegrey-l2 ) ;
border : 1px solid var ( --whitegrey ) ;
border-radius : 3px ;
2021-11-23 18:03:53 +03:00
height : 540px ;
/* margin-bottom: 32px; */
}
. kg-media-selector-heading {
padding : 24px ;
}
2021-11-25 15:22:27 +03:00
. kg-media-selector-heading . gh-input-icon svg {
width : 16px ;
height : 16px ;
top : 49 % ;
left : 13px ;
}
2021-11-23 18:03:53 +03:00
. kg-media-selector-searchbox {
width : 100 % ;
2021-11-25 15:22:27 +03:00
height : 38px ;
2021-11-23 18:03:53 +03:00
margin : 0 ;
padding : 0 30px 1px 50px ;
outline : none ;
border : 1px solid color-mod ( var ( --lightgrey ) l ( -2 % ) ) ;
color : var ( --darkgrey ) ;
2021-11-25 15:22:27 +03:00
font-family : var ( --font-family ) ;
font-size : 15px ;
2021-11-23 18:03:53 +03:00
background-color : # fff ;
border-radius : 999px ;
appearance : none ;
}
. kg-media-selector-content {
position : relative ;
height : 100 % ;
overflow : hidden ;
}
. kg-media-selector-mediagrid {
height : 100 % ;
width : 100 % ;
overflow : auto ;
2021-12-01 00:07:07 +03:00
padding : 3px 24px 24px ;
2021-11-19 22:07:40 +03:00
}
2021-11-02 19:25:54 +03:00
/ * Card settings panel
/* --------------------------------------------------------------- */
. kg-settings-panel {
position : fixed ;
2021-11-03 16:25:40 +03:00
width : 320px ;
2021-11-02 19:25:54 +03:00
max-height : 60vh ;
overflow : auto ;
2021-11-03 16:25:40 +03:00
padding : 24px ;
2021-11-02 19:25:54 +03:00
display : flex ;
flex-direction : column ;
gap : 10px ;
background-color : var ( --white ) ;
line-height : 1em ;
z-index : 9999999999 ;
2021-11-03 16:25:40 +03:00
border-radius : 5px ;
font-size : 1 . 3rem ;
box-shadow :
0px -1px 10px rgba ( 0 , 0 , 0 , 0 . 08 ) ,
0px 2 . 8px 2 . 2px rgba ( 0 , 0 , 0 , 0 . 014 ) ,
0px 6 . 7px 5 . 3px rgba ( 0 , 0 , 0 , 0 . 02 ) ,
0px 12 . 5px 10px rgba ( 0 , 0 , 0 , 0 . 025 ) ,
0px 22 . 3px 17 . 9px rgba ( 0 , 0 , 0 , 0 . 03 ) ,
0px 41 . 8px 33 . 4px rgba ( 0 , 0 , 0 , 0 . 036 ) ,
0px 100px 80px rgba ( 0 , 0 , 0 , 0 . 05 )
;
2021-11-02 19:25:54 +03:00
}
. kg-settings-panel-enter-active ,
. kg-settings-panel-leave-active {
transition : opacity . 2s ;
}
. kg-settings-panel-enter ,
. kg-settings-panel-leave-to {
opacity : 0 ;
}
. kg-settings-panel-control {
display : flex ;
flex-direction : column ;
flex-wrap : wrap ;
2021-11-03 16:32:41 +03:00
gap : 8px ;
}
2021-11-02 19:25:54 +03:00
2021-11-03 16:32:41 +03:00
. kg-settings-panel-control : not ( : first-of-type ) : not ( hr + . kg-settings-panel-control ) {
margin-top : 8px ;
2021-11-02 19:25:54 +03:00
}
2021-11-03 16:32:41 +03:00
2021-11-02 19:25:54 +03:00
. kg-settings-panel-control-horizontal {
flex-direction : row ;
align-items : center ;
justify-content : space-between ;
}
2021-12-16 14:25:01 +03:00
. kg-settings-panel-control-horizontal-top {
flex-direction : row ;
align-items : flex-start ;
justify-content : space-between ;
}
. kg-settings-panel-control-horizontal-top . kg-settings-panel-control-label {
margin-top : 8px ;
}
2021-11-02 19:25:54 +03:00
. kg-settings-panel-control-label {
font-weight : 700 ;
}
. kg-settings-panel-control-info {
font-size : 12px ! important ;
font-family : var ( --font-family ) ! important ;
2021-11-03 16:25:40 +03:00
line-height : 1 . 4em ! important ;
2021-11-02 19:25:54 +03:00
color : var ( --middarkgrey ) ;
}
. kg-settings-panel-divider {
2021-11-03 16:32:41 +03:00
margin : 8px -24px ! important ;
2021-11-03 16:25:40 +03:00
border : none ;
border-top : 1px solid var ( --whitegrey ) ;
2021-11-02 19:25:54 +03:00
}
2021-11-03 16:25:40 +03:00
. kg-settings-panel-control-input . gh-input ,
. kg-settings-panel-control-input . gh-select ,
. kg-settings-panel-control-input . ember-power-select-trigger {
font-size : 1 . 4rem ! important ;
padding : 5px 10px ;
font-weight : 500 ;
}
. kg-settings-panel-control-input . ember-power-select-trigger svg {
position : absolute ;
top : 18px ;
right : 12px ;
}
2021-11-03 17:52:05 +03:00
/* TODO: needed to fix right margin - should be somewhere more generic? */
2021-11-02 19:25:54 +03:00
. kg-settings-panel-control . for-switch . x-small . switch {
width : 34px ! important ;
}
2021-11-19 22:07:40 +03:00
2019-02-24 07:19:06 +03:00
/ * Cards
/* --------------------------------------------------------------- */
2020-04-23 14:11:23 +03:00
2020-04-23 15:46:44 +03:00
. kg-card-help {
2021-02-10 16:17:01 +03:00
background : color-mod ( var ( --whitegrey ) l ( + 3 % ) ) ;
2021-09-01 19:41:37 +03:00
margin : 12px -13px -1px ;
2020-04-23 15:46:44 +03:00
padding : 6px ;
}
2020-04-23 14:11:23 +03:00
. kg-card-help p {
text-align : center ;
font-family : sans-serif ;
2020-04-23 15:46:44 +03:00
font-size : 1 . 4rem ;
color : var ( --midlightgrey ) ;
}
. kg-card-help a . kg-card-help-icon-link {
text-decoration : none ;
box-shadow : none ;
padding-bottom : 2px ;
2020-04-23 14:11:23 +03:00
}
2020-04-23 15:46:44 +03:00
2020-04-23 14:11:23 +03:00
. kg-card-help svg {
2020-04-23 15:46:44 +03:00
width : 1 . 4rem ;
2020-04-23 14:11:23 +03:00
}
2019-08-27 17:10:31 +03:00
. kg-bookmark-card {
width : 100 % ;
box-sizing : border-box ;
2021-12-13 21:08:55 +03:00
border : 1px solid rgba ( 124 , 139 , 154 , 0 . 25 ) ;
2019-08-27 17:10:31 +03:00
background : var ( --white ) ;
2021-12-13 21:08:55 +03:00
border-radius : var ( --border-radius ) ;
2019-08-27 17:10:31 +03:00
}
2021-02-01 21:46:53 +03:00
. kg-bookmark-container {
2019-08-27 17:10:31 +03:00
display : flex ;
color : var ( --darkgrey ) ;
text-decoration : none ;
box-shadow : none ;
min-height : 120px ; /* Just to make sure it's not a super-tiny box */
}
. kg-bookmark-content {
display : flex ;
flex-direction : column ;
flex-grow : 1 ;
flex-basis : 100 % ;
align-items : flex-start ;
justify-content : flex-start ;
padding : 20px ;
}
. kg-bookmark-title {
font-size : 1 . 5rem ;
line-height : 1 . 5em ;
font-weight : 600 ;
2022-07-21 10:58:22 +03:00
letter-spacing : 0 ;
2019-08-27 17:10:31 +03:00
}
. kg-bookmark-container : hover . kg-bookmark-title {
color : var ( --blue ) ;
}
. kg-bookmark-description {
display : -webkit-box ;
font-size : 1 . 4rem ;
line-height : 1 . 5em ;
2020-07-06 19:23:29 +03:00
margin-top : 3px ;
2019-08-27 17:10:31 +03:00
color : var ( --middarkgrey ) ;
font-weight : 400 ;
max-height : 44px ;
overflow-y : hidden ;
-webkit-line-clamp : 2 ;
-webkit-box-orient : vertical ;
}
. kg-bookmark-thumbnail {
position : relative ;
flex-grow : 1 ;
min-width : 33 % ;
}
. kg-bookmark-thumbnail img {
width : 100 % ;
height : 100 % ;
object-fit : cover ;
2019-02-24 07:19:06 +03:00
position : absolute ;
top : 0 ;
2019-08-27 17:10:31 +03:00
left : 0 ;
2021-12-13 21:08:55 +03:00
border-radius : 0 2px 2px 0 ;
2019-08-27 17:10:31 +03:00
}
. kg-bookmark-metadata {
color : var ( --darkgrey ) ;
font-size : 1 . 4rem ;
font-weight : 500 ;
display : flex ;
align-items : center ;
2020-07-06 19:23:29 +03:00
margin-top : 22px ;
2019-08-27 17:10:31 +03:00
}
. kg-bookmark-icon {
width : 20px ;
height : 20px ;
margin-right : 6px ;
}
. kg-bookmark-publisher {
2019-08-27 21:38:42 +03:00
text-overflow : ellipsis ;
overflow : hidden ;
max-width : 240px ;
white-space : nowrap ;
display : block ;
2019-08-28 12:02:56 +03:00
line-height : 1 . 65em ;
2019-02-24 07:19:06 +03:00
}
2020-08-21 12:40:52 +03:00
. kg-bookmark-author : before {
content : "•" ;
color : var ( --darkgrey ) ;
margin : 0 6px ;
}
. kg-bookmark-author {
color : var ( --middarkgrey ) ;
font-weight : 400 ;
}
2020-04-06 12:56:40 +03:00
. kg-email-card p : first-of-type {
margin-top : 0 ;
}
2021-02-17 17:18:12 +03:00
. kg-paywall-separator {
display : flex ;
align-items : center ;
height : 1em ;
text-align : center ;
2021-02-18 16:58:35 +03:00
color : var ( --midlightgrey-d1 ) ;
text-transform : uppercase ;
font-size : 1 . 2rem ;
font-weight : 600 ;
2021-03-02 22:50:19 +03:00
white-space : pre ;
2021-02-17 17:18:12 +03:00
}
. kg-paywall-separator :: before ,
. kg-paywall-separator :: after {
content : '' ;
flex : 1 ;
border-top : 1px solid # dfe1e3 ;
}
. kg-paywall-separator : not ( : empty ) :: before {
margin-right : . 5em ;
}
. kg-paywall-separator : not ( : empty ) :: after {
margin-left : . 5em ;
}
2021-11-10 16:46:23 +03:00
/ * Email CTA card
/* --------------------------------------------------------------- */
2021-11-03 16:59:09 +03:00
. kg-email-cta-card {
padding-bottom : 24px ;
}
2021-11-10 16:46:23 +03:00
/ * Email-CTA card
/* -------------------------------------------------------------------------- */
. kg-email-cta-card . border-top {
margin : -1 . 6rem 0 5rem ;
}
. kg-email-cta-card . border-top . edit-mode {
margin : 2 . 4rem 0 5rem ;
}
. kg-email-cta-card . border-bottom {
margin : 5rem 0 0 ;
}
. kg-email-cta-card . kg-card-help {
margin : 0 -13px 16px ;
padding : 8px 12px ;
border-bottom : 1px solid var ( --whitegrey ) ;
background : var ( --whitegrey-l2 ) ;
}
. kg-email-cta-card . kg-card-help p {
color : var ( --midgrey ) ;
text-align : left ;
}
. kg-email-cta-card . kg-card-help . ember-power-select-trigger : not ( . gh-setting-dropdown ) : not ( . ember-power-select-multiple-trigger ) svg {
width : 8px ;
height : 6px ;
margin-top : 0 ;
}
. kg-email-cta-card . kg-card-help . ember-basic-dropdown-content {
width : 200px ! important ;
}
. kg-email-cta-card . kg-card-help . ember-power-select-inline {
padding : 0 2px ;
color : var ( --darkgrey ) ;
}
. email-cta-toolbar {
display : flex ;
margin : 24px -13px 0 ;
padding : . 8rem 1rem ;
border-top : 1px solid var ( --whitegrey ) ;
}
. email-cta-toolbar . borders {
margin-right : 1rem ;
border-right : 1px solid var ( --whitegrey-d2 ) ;
border-radius : 0 ;
}
. gh-btn-group . email-cta-align {
background : none ;
margin-right : 1rem ;
padding-right : 1rem ;
border-right : 1px solid var ( --whitegrey-d2 ) ;
}
. gh-btn-group . email-cta-align . gh-btn span {
padding : 0 4px ;
}
. gh-btn-group . email-cta-align . gh-btn-group-selected span {
box-shadow : none ;
}
. gh-btn-group . email-cta-align . gh-btn-group-selected svg {
fill : var ( --green-d1 ) ;
}
. gh-btn-group . email-cta-align . gh-btn svg {
width : 18px ;
height : 18px ;
}
. gh-btn . email-cta-toolbar-item {
margin-right : 1rem ;
box-shadow : none ;
}
. gh-btn . email-cta-toolbar-item svg {
width : 18px ;
height : 18px ;
margin-right : 0 ;
}
. gh-btn . email-cta-toolbar-item span {
margin-top : 2px ;
padding : 0 8px ;
}
. gh-btn . email-cta-toolbar-item svg path {
stroke : none ;
}
. email-cta-button {
margin-top : 2rem ;
padding : 4px ;
border : 0 ;
font-size : 1 . 5rem ;
2022-07-21 10:58:22 +03:00
letter-spacing : 0 ;
2021-11-10 16:46:23 +03:00
font-weight : 500 ;
text-align : center ;
user-select : auto ;
}
. email-cta-button-text-input {
width : auto ;
max-width : 200px ;
margin-right : . 8rem ;
color : var ( --black ) ;
font-size : 1 . 5rem ;
2022-07-21 10:58:22 +03:00
letter-spacing : 0 ;
2021-11-10 16:46:23 +03:00
font-weight : 400 ;
user-select : auto ;
}
. email-cta-button-url-input {
width : 100 % ;
padding : 4px 12px ;
color : var ( --black ) ;
font-size : 1 . 5rem ;
2022-07-21 10:58:22 +03:00
letter-spacing : 0 ;
2021-11-10 16:46:23 +03:00
font-weight : 400 ;
}
. gh-member-segment-select-dropdown {
border-top : 1px solid var ( --input-border-color ) ! important ;
border-radius : 3px ! important ;
}
. kg-email-cta-card . gh-btn-accent {
margin-top : 2 . 4rem ;
}
. kg-email-cta-card . gh-btn-accent span {
font-size : 1 . 5rem ;
2022-07-21 10:58:22 +03:00
letter-spacing : 0 ;
2021-11-10 16:46:23 +03:00
height : 40px ;
line-height : 40px ;
padding : 0 20px ;
}
. gh-email-cta-segment-indicator p {
padding : 6px 0 29px ! important ;
color : var ( --midlightgrey-d1 ) ;
2022-07-21 10:58:22 +03:00
font-family : "Inter" , -apple-system , BlinkMacSystemFont , 'Segoe UI' , Roboto , Oxygen , Ubuntu , Cantarell , 'Open Sans' , 'Helvetica Neue' , sans-serif ;
2021-11-10 16:46:23 +03:00
text-transform : uppercase ;
font-size : 1 . 2rem ;
font-weight : 600 ;
}
/ * Callout card
/* --------------------------------------------------------------- */
2021-12-01 17:23:47 +03:00
. kg-callout-card-container {
2021-11-09 17:29:13 +03:00
position : relative ;
min-height : 4rem ;
min-width : 100 % ;
margin : 0 ;
padding : 0 ;
}
2021-12-01 17:23:47 +03:00
. kg-callout-card {
2021-11-09 17:09:28 +03:00
display : flex ;
2021-11-15 13:17:21 +03:00
padding : 20px 28px ;
2021-11-09 17:09:28 +03:00
background : var ( --whitegrey-l1 ) ;
border-radius : var ( --border-radius ) ;
}
2021-12-01 17:23:47 +03:00
. kg-callout-card-grey {
2021-11-16 20:32:22 +03:00
background : rgba ( 124 , 139 , 154 , 0 . 13 ) ;
2021-11-11 17:48:07 +03:00
}
2021-12-01 17:23:47 +03:00
. kg-callout-card-white {
2021-11-16 20:32:22 +03:00
background : transparent ;
box-shadow : inset 0 0 0 1px rgba ( 124 , 139 , 154 , 0 . 25 ) ;
2021-11-11 17:48:07 +03:00
}
2021-12-01 17:23:47 +03:00
. kg-callout-card-blue {
2021-11-16 20:32:22 +03:00
background : rgba ( 33 , 172 , 232 , 0 . 12 ) ;
2021-11-11 17:48:07 +03:00
}
2021-12-01 17:23:47 +03:00
. kg-callout-card-green {
2021-11-16 20:32:22 +03:00
background : rgba ( 52 , 183 , 67 , 0 . 12 ) ;
2021-11-11 17:48:07 +03:00
}
2021-12-01 17:23:47 +03:00
. kg-callout-card-yellow {
2021-11-16 20:32:22 +03:00
background : rgba ( 240 , 165 , 15 , 0 . 13 ) ;
2021-11-11 17:48:07 +03:00
}
2021-12-01 17:23:47 +03:00
. kg-callout-card-red {
2021-11-16 20:32:22 +03:00
background : rgba ( 209 , 46 , 46 , 0 . 11 ) ;
2021-11-11 17:48:07 +03:00
}
2021-12-01 17:23:47 +03:00
. kg-callout-card-pink {
2021-11-16 20:32:22 +03:00
background : rgba ( 225 , 71 , 174 , 0 . 11 ) ;
2021-11-11 17:48:07 +03:00
}
2021-12-01 17:23:47 +03:00
. kg-callout-card-purple {
2021-11-16 20:32:22 +03:00
background : rgba ( 135 , 85 , 236 , 0 . 12 ) ;
2021-11-11 17:48:07 +03:00
}
2021-12-01 17:23:47 +03:00
. kg-callout-card-accent {
2021-11-11 17:48:07 +03:00
background : var ( --adjusted-accent-color ) ;
}
2021-12-01 17:23:47 +03:00
. kg-callout-card-accent p ,
. kg-callout-card-accent a {
2021-11-22 12:43:58 +03:00
color : var ( --white ) ! important ;
2021-11-11 17:48:07 +03:00
}
2021-11-09 17:09:28 +03:00
. kg-callout-emoji {
2021-11-16 21:57:05 +03:00
height : 32px ;
2021-11-16 15:34:36 +03:00
margin-right : 8px ;
margin-left : -8px ;
padding : 0 8px ;
2021-11-09 17:09:28 +03:00
font-size : 2rem ;
2021-11-16 15:34:36 +03:00
line-height : 1 . 6 ;
2021-11-15 16:18:55 +03:00
cursor : pointer ;
2021-11-16 15:34:36 +03:00
border-radius : var ( --border-radius ) ;
}
2021-11-18 11:23:33 +03:00
. kg-callout-emoji : hover ,
. kg-emoji-picker-active {
background : rgba ( 124 , 139 , 154 , 0 . 13 ) ;
2021-11-09 17:09:28 +03:00
}
2019-02-24 07:19:06 +03:00
2021-11-11 17:48:07 +03:00
. kg-callout-palette {
display : flex ;
justify-content : space-between ;
margin-top : . 4rem ;
}
. kg-callout-palette-swatch {
display : inline-block ;
cursor : pointer ;
width : 2 . 4rem ;
height : 2 . 4rem ;
padding : 3px ;
border-radius : 3px ;
}
. kg-callout-palette-swatch : hover {
box-shadow : inset 0 0 0 1px var ( --green ) ;
}
. kg-callout-palette-swatch . selected-swatch {
box-shadow : inset 0 0 0 1px var ( --green ) ;
}
. kg-callout-palette-swatch-grey {
2021-11-16 20:32:22 +03:00
background : rgba ( 124 , 139 , 154 , 0 . 25 ) ;
box-shadow : inset 0 0 0 1px rgba ( 124 , 139 , 154 , 0 . 3 ) ;
2021-11-11 17:48:07 +03:00
}
. kg-callout-palette-swatch-white {
2021-11-16 20:32:22 +03:00
background : transparent ;
border : 1px solid rgba ( 124 , 139 , 154 , 0 . 45 ) ;
2021-11-11 17:48:07 +03:00
}
. kg-callout-palette-swatch-blue {
2021-11-16 20:32:22 +03:00
background : rgba ( 33 , 172 , 232 , 0 . 25 ) ;
box-shadow : inset 0 0 0 1px rgba ( 33 , 172 , 232 , 0 . 3 ) ;
2021-11-11 17:48:07 +03:00
}
. kg-callout-palette-swatch-green {
2021-11-16 20:32:22 +03:00
background : rgba ( 52 , 183 , 67 , 0 . 25 ) ;
box-shadow : inset 0 0 0 1px rgba ( 52 , 183 , 67 , 0 . 3 ) ;
2021-11-11 17:48:07 +03:00
}
. kg-callout-palette-swatch-yellow {
2021-11-16 20:32:22 +03:00
background : rgba ( 240 , 165 , 15 , 0 . 25 ) ;
box-shadow : inset 0 0 0 1px rgba ( 240 , 165 , 15 , 0 . 3 ) ;
2021-11-11 17:48:07 +03:00
}
. kg-callout-palette-swatch-red {
2021-11-16 20:32:22 +03:00
background : rgba ( 209 , 46 , 46 , 0 . 25 ) ;
box-shadow : inset 0 0 0 1px rgba ( 209 , 46 , 46 , 0 . 3 ) ;
2021-11-11 17:48:07 +03:00
}
. kg-callout-palette-swatch-pink {
2021-11-16 20:32:22 +03:00
background : rgba ( 225 , 71 , 174 , 0 . 25 ) ;
box-shadow : inset 0 0 0 1px rgba ( 225 , 71 , 174 , 0 . 3 ) ;
2021-11-11 17:48:07 +03:00
}
. kg-callout-palette-swatch-purple {
2021-11-16 20:32:22 +03:00
background : rgba ( 135 , 85 , 236 , 0 . 25 ) ;
box-shadow : inset 0 0 0 1px rgba ( 135 , 85 , 236 , 0 . 3 ) ;
2021-11-11 17:48:07 +03:00
}
. kg-callout-palette-swatch-accent {
background : var ( --adjusted-accent-color ) ;
}
2021-11-16 15:34:36 +03:00
. emoji-picker__wrapper {
margin-top : 1rem ! important ;
}
. emoji-picker {
2021-11-16 20:32:22 +03:00
background : var ( --white ) ! important ;
2021-11-16 15:34:36 +03:00
border : 0 ! important ;
font-family : var ( --font-family ) ! important ;
box-shadow :
0px -1px 10px rgba ( 0 , 0 , 0 , 0 . 08 ) ,
0px 2 . 8px 2 . 2px rgba ( 0 , 0 , 0 , 0 . 014 ) ,
0px 6 . 7px 5 . 3px rgba ( 0 , 0 , 0 , 0 . 02 ) ,
0px 12 . 5px 10px rgba ( 0 , 0 , 0 , 0 . 025 ) ,
0px 22 . 3px 17 . 9px rgba ( 0 , 0 , 0 , 0 . 03 ) ,
0px 41 . 8px 33 . 4px rgba ( 0 , 0 , 0 , 0 . 036 ) ,
0px 100px 80px rgba ( 0 , 0 , 0 , 0 . 05 )
;
}
. emoji-picker__search-container {
margin : 0 ! important ;
}
. emoji-picker__search {
padding : 24px 16px ! important ;
color : var ( --middarkgrey ) ! important ;
border : 0 ! important ;
border-bottom : 1px solid var ( --whitegrey-d1 ) ! important ;
font-family : var ( --font-family ) ! important ;
font-size : 1 . 45rem ! important ;
border-radius : 0 ! important ;
}
. emoji-picker__search-icon {
top : calc ( 50 % - . 4rem ) ! important ;
right : 1 . 8rem ! important ;
color : var ( --lightgrey ) ! important ;
}
button . emoji-picker__category-button {
color : var ( --midlightgrey ) ! important ;
}
button . emoji-picker__category-button . active {
color : var ( --darkgrey ) ! important ;
border-bottom : var ( --category-border-bottom-size ) solid transparent ! important ;
}
. emoji-picker__content {
margin-top : 2rem ! important ;
}
. emoji-picker__emojis {
padding : 0 8px ! important ;
}
2021-11-16 20:32:22 +03:00
. emoji-picker__emoji : hover ,
. emoji-picker__emoji : focus {
background : var ( --whitegrey ) ! important ;
border-radius : var ( --border-radius ) ! important ;
}
2021-11-16 15:34:36 +03:00
. emoji-picker__category-name {
margin : . 8rem 0 1rem ! important ;
color : var ( --darkgrey ) ! important ;
font-family : var ( --font-family ) ! important ;
font-size : 1 . 3rem ! important ;
font-weight : 600 ! important ;
letter-spacing : 0 ! important ;
}
2021-12-02 22:22:46 +03:00
/ * Toggle card
2021-11-10 16:46:23 +03:00
/* --------------------------------------------------------------- */
2021-12-02 22:22:46 +03:00
. kg-toggle-card-container {
2021-11-10 11:13:53 +03:00
position : relative ;
min-height : 4rem ;
min-width : 100 % ;
margin : 0 ;
padding : 0 ;
}
2021-12-02 22:22:46 +03:00
. kg-toggle-card {
2021-11-10 11:13:53 +03:00
display : flex ;
padding : 16px 24px ;
2021-11-19 20:34:49 +03:00
background : transparent ;
box-shadow : inset 0 0 0 1px rgba ( 124 , 139 , 154 , 0 . 25 ) ;
2021-11-11 17:05:49 +03:00
border-radius : 4px ;
2021-11-10 11:13:53 +03:00
flex-direction : column ;
}
2021-12-02 22:22:46 +03:00
. kg-toggle-card-header {
2021-11-18 11:56:52 +03:00
display : flex ;
justify-content : space-between ;
align-items : flex-start ;
}
2021-12-02 22:22:46 +03:00
. kg-toggle-card-heading {
2021-11-16 23:14:06 +03:00
margin-right : 16px ;
2021-12-03 22:15:31 +03:00
width : 100 % ;
2021-11-10 11:13:53 +03:00
}
2021-12-02 22:22:46 +03:00
. kg-toggle-card-heading :: after {
2021-11-18 11:56:52 +03:00
font-weight : 600 ! important ;
2021-11-10 21:43:58 +03:00
font-size : 2rem ! important ;
letter-spacing : . 02rem ;
line-height : 1 . 6em ;
2021-11-10 11:13:53 +03:00
}
2021-12-02 22:22:46 +03:00
. kg-toggle-card-content :: after {
2021-11-10 21:43:58 +03:00
line-height : 1 . 6em ;
}
2021-12-02 22:22:46 +03:00
. kg-toggle-card-content {
2021-11-16 23:14:06 +03:00
margin-top : 8px ;
}
2021-12-02 22:22:46 +03:00
. kg-toggle-card-arrow-container {
2021-11-18 11:56:52 +03:00
width : 24px ;
height : 24px ;
display : flex ;
justify-content : center ;
align-items : center ;
}
2021-12-02 22:22:46 +03:00
. kg-toggle-card-arrow {
2021-11-18 11:56:52 +03:00
width : 14px ;
2021-11-19 20:34:49 +03:00
color : rgba ( 124 , 139 , 154 , 0 . 5 )
2021-11-18 11:56:52 +03:00
}
2021-11-29 21:16:21 +03:00
/ * Product card
/* --------------------------------------------------------------- */
. kg-product-card {
display : flex ;
background : transparent ;
box-shadow : inset 0 0 0 1px rgb ( 124 139 154 / 25 % ) ;
border-radius : 5px ;
flex-direction : column ;
text-decoration : none ;
2021-12-08 15:55:10 +03:00
max-width : 550px ;
width : 100 % ;
2021-12-07 03:16:41 +03:00
padding : 20px ;
2021-11-29 21:16:21 +03:00
}
2021-12-08 00:34:15 +03:00
. kg-product-card-image-container {
2021-12-07 17:39:36 +03:00
margin-bottom : 1 . 6rem ;
2021-12-08 16:05:57 +03:00
display : flex ;
flex-direction : column ;
width : 100 % ;
2021-12-09 15:36:30 +03:00
align-items : center ;
2021-12-07 17:39:36 +03:00
}
2021-11-30 19:31:36 +03:00
. kg-product-card-trash-icon svg {
width : 16px ;
height : 16px ;
}
. kg-product-card-trash-icon path {
fill : # 15171a ;
}
2021-12-07 03:16:41 +03:00
. kg-product-card-header {
display : flex ;
align-items : flex-start ;
2021-12-08 15:55:10 +03:00
justify-content : space-between ;
gap : 8px ;
2021-11-29 21:16:21 +03:00
}
2021-12-07 15:14:31 +03:00
. kg-product-card-title-container {
width : 100 % ;
}
2021-12-07 17:39:36 +03:00
. kg-product-card-title , . kg-product-card-title h4 {
2021-11-29 21:16:21 +03:00
text-decoration : none ;
2022-07-21 10:58:22 +03:00
font-family : "Inter" , -apple-system , BlinkMacSystemFont , Segoe UI , Roboto , Oxygen , Ubuntu , Droid Sans , Helvetica Neue , sans-serif ;
2021-12-07 17:39:36 +03:00
font-weight : 700 ! important ;
2021-11-29 21:16:21 +03:00
}
2021-11-30 19:31:36 +03:00
. kg-product-card-title :: after {
2021-12-07 17:39:36 +03:00
font-weight : 700 ! important ;
2022-01-04 15:29:25 +03:00
font-size : 2 . 2rem ! important ;
2022-07-21 10:58:22 +03:00
font-family : "Inter" , -apple-system , BlinkMacSystemFont , Segoe UI , Roboto , Oxygen , Ubuntu , Droid Sans , Helvetica Neue , sans-serif ;
2021-11-30 19:31:36 +03:00
letter-spacing : . 02rem ;
2021-12-07 19:23:38 +03:00
line-height : 1 . 4em ;
2021-11-30 19:31:36 +03:00
}
2021-12-08 21:33:49 +03:00
. kg-product-card-description {
margin-top : 8px ! important ;
}
2021-12-13 14:22:35 +03:00
. kg-product-card-description p , . kg-product-card-description li {
2021-12-08 15:55:10 +03:00
font-size : 1 . 6rem ! important ;
2021-12-13 14:22:35 +03:00
line-height : 1 . 4em ! important ;
2022-07-21 10:58:22 +03:00
font-family : "Inter" , -apple-system , BlinkMacSystemFont , Segoe UI , Roboto , Oxygen , Ubuntu , Droid Sans , Helvetica Neue , sans-serif ! important ;
2021-11-29 21:16:21 +03:00
color : # 656E7A ;
}
2021-12-13 14:22:35 +03:00
. kg-product-card-description li + li {
margin-top : 0 ! important ;
}
2021-11-30 19:31:36 +03:00
. kg-product-card-description :: after {
2021-12-08 21:33:49 +03:00
font-size : 1 . 6rem ! important ;
2021-11-30 19:31:36 +03:00
line-height : 1 . 6em ;
2022-07-21 10:58:22 +03:00
font-family : "Inter" , -apple-system , BlinkMacSystemFont , Segoe UI , Roboto , Oxygen , Ubuntu , Droid Sans , Helvetica Neue , sans-serif ! important ;
2021-11-30 19:31:36 +03:00
}
. kg-product-card-button {
width : 100 % ;
margin-top : 24px ;
}
2021-12-07 17:39:36 +03:00
. kg-product-card-rating-star {
2021-12-07 15:14:31 +03:00
display : flex ;
align-items : center ;
justify-content : center ;
2021-12-08 15:55:10 +03:00
height : 30px ;
width : 20px ;
2021-12-07 15:14:31 +03:00
}
. kg-product-card-rating-star svg {
2021-12-07 17:39:36 +03:00
width : 16px ;
height : 16px ;
2021-12-07 15:14:31 +03:00
fill : # fff ;
}
2021-12-08 19:18:22 +03:00
. kg-product-card-rating-star-hovered {
2021-12-07 03:16:41 +03:00
opacity : 0 . 7 ;
}
. kg-product-card-rating-edit {
background : none ;
display : flex ;
2021-12-07 17:39:36 +03:00
align-items : center ;
2021-12-07 03:16:41 +03:00
}
2021-12-07 15:14:31 +03:00
. kg-product-card-rating-preview {
display : flex ;
}
2021-12-06 18:53:01 +03:00
. kg-product-card-rating-star path {
2021-12-07 03:16:41 +03:00
fill : var ( --whitegrey ) ;
2021-11-30 20:02:44 +03:00
}
2021-12-06 18:53:01 +03:00
. kg-product-card-rating-active . kg-product-card-rating-star path {
2021-12-07 03:16:41 +03:00
fill : var ( --darkgrey ) ;
2021-11-30 20:02:44 +03:00
}
2021-11-10 16:46:23 +03:00
/ * Button card
/* --------------------------------------------------------------- */
. kg-button-card {
padding : 12px ;
}
. kg-button-card . gh-btn span {
font-size : 1 . 5rem ;
2022-07-21 10:58:22 +03:00
letter-spacing : 0 ;
2021-11-10 16:46:23 +03:00
height : 40px ;
line-height : 40px ;
padding : 0 20px ;
}
2021-11-12 15:57:16 +03:00
/ * NFT card
/* --------------------------------------------------------------- */
2021-11-18 19:29:07 +03:00
. kg-nft-card a {
2021-11-12 15:57:16 +03:00
display : flex ;
flex : auto ;
flex-direction : column ;
2021-11-18 19:29:07 +03:00
text-decoration : none ! important ;
2021-11-12 15:57:16 +03:00
font-size : 1 . 4rem ;
font-weight : 400 ;
width : 100 % ;
2021-11-17 16:05:51 +03:00
min-width : 440px ;
2021-11-12 17:55:35 +03:00
max-width : 512px ;
2021-11-12 15:57:16 +03:00
border : 1px solid var ( --whitegrey ) ;
border-radius : 5px ;
2021-11-18 19:38:28 +03:00
color : # 15171A ! important ;
2021-11-12 15:57:16 +03:00
background : # fff ;
border-radius : 5px ;
}
2021-11-18 19:29:07 +03:00
. kg-nft-image {
border-radius : 5px 5px 0 0 ;
width : 100 % ;
}
2021-11-12 15:57:16 +03:00
. kg-nft-card : hover {
color : inherit ;
}
. kg-nft-card * {
position : static ;
}
. kg-nft-metadata {
padding : 20px ;
}
2021-11-17 19:16:52 +03:00
. kg-nft-card . kg-nft-image {
2021-11-12 15:57:16 +03:00
border-radius : 5px 5px 0 0 ;
}
. kg-nft-title {
display : flex ;
justify-content : space-between ;
2021-11-17 19:16:52 +03:00
align-items : flex-start ;
2021-11-12 15:57:16 +03:00
}
2021-11-18 19:38:28 +03:00
. kg-nft-title {
2021-11-12 15:57:16 +03:00
font-size : 1 . 9rem ;
font-weight : 700 ;
2021-11-18 19:29:07 +03:00
line-height : 1 . 3em ;
2021-11-12 15:57:16 +03:00
min-width : unset ;
max-width : unset ;
2021-11-18 19:38:28 +03:00
color : # 15171A ! important ;
2021-11-12 15:57:16 +03:00
}
2021-11-17 19:16:52 +03:00
. kg-nft-opensea-logo {
margin-top : 4px ;
2021-11-12 15:57:16 +03:00
width : 100px ;
2021-11-17 19:16:52 +03:00
object-fit : scale-down ;
2021-11-12 15:57:16 +03:00
}
. kg-nft-creator {
2021-11-18 19:29:07 +03:00
margin-top : 2px ;
2021-11-18 19:38:28 +03:00
color : # 626D79 ;
2021-11-18 19:29:07 +03:00
line-height : 1 . 4em ;
2021-11-12 15:57:16 +03:00
}
. kg-nft-creator span {
font-weight : 500 ;
2021-11-18 19:38:28 +03:00
color : # 15171A ;
2021-11-12 15:57:16 +03:00
}
. kg-nft-card div + p {
font-family : var ( --font-family ) ;
font-size : 1 . 4rem ;
margin-top : 20px ;
}
2021-12-13 21:31:23 +03:00
/ * Header card
/* --------------------------------------------------------------- */
. kg-header-card {
2021-12-16 17:37:20 +03:00
padding : 12vmin 8em ;
2021-12-15 20:42:45 +03:00
min-height : 60vh ;
2021-12-15 13:41:05 +03:00
display : flex ;
flex-direction : column ;
align-items : center ;
justify-content : center ;
2021-12-15 20:42:45 +03:00
text-align : center ;
2021-12-15 15:21:19 +03:00
transition : background-color var ( --animation-speed-fast ) ease-in-out ;
2021-12-13 21:31:23 +03:00
}
2021-12-15 13:41:05 +03:00
2021-12-17 11:49:40 +03:00
. kg-header-card . __mobiledoc-editor . __has-no-content h2 ,
. kg-header-card . __mobiledoc-editor . __has-no-content h3 {
text-align : left ;
}
/* Setting placeholder cursor to left */
. kg-header-card . __mobiledoc-editor . __has-no-content h2 {
padding-left : calc ( ( 100 % - 710px ) / 2 ) ;
}
. kg-header-card . __mobiledoc-editor . __has-no-content h3 {
padding-left : calc ( ( 40em - 255px ) / 2 ) ;
}
@ media ( max-width : 1292px ) {
. kg-header-card . __mobiledoc-editor . __has-no-content h3 {
padding-left : calc ( ( 100 % - 255px ) / 2 ) ;
}
}
. kg-header-card . kg-size-small . __mobiledoc-editor . __has-no-content h2 {
padding-left : calc ( ( 100 % - 570px ) / 2 ) ;
}
. kg-header-card . kg-size-small . __mobiledoc-editor . __has-no-content h3 {
padding-left : calc ( ( 40em - 212px ) / 2 ) ;
}
@ media ( max-width : 1122px ) {
. kg-header-card . kg-size-small . __mobiledoc-editor . __has-no-content h3 {
padding-left : calc ( ( 100 % - 212px ) / 2 ) ;
}
}
. kg-header-card . kg-size-large . __mobiledoc-editor . __has-no-content h2 {
padding-left : calc ( ( 100 % - 850px ) / 2 ) ;
}
. kg-header-card . kg-size-large . __mobiledoc-editor . __has-no-content h3 {
padding-left : calc ( ( 40em - 292px ) / 2 ) ;
}
@ media ( max-width : 1462px ) {
. kg-header-card . kg-size-large . __mobiledoc-editor . __has-no-content h3 {
padding-left : calc ( ( 100 % - 292px ) / 2 ) ;
}
}
2021-12-16 19:59:18 +03:00
. kg-header-card a {
pointer-events : none ;
}
2021-12-14 20:40:44 +03:00
. kg-header-card . kg-size-small {
2021-12-16 15:03:24 +03:00
padding-top : 14vmin ;
padding-bottom : 14vmin ;
2021-12-15 20:42:45 +03:00
min-height : 40vh ;
2021-12-14 18:00:55 +03:00
}
2021-12-15 13:41:05 +03:00
2021-12-14 20:40:44 +03:00
. kg-header-card . kg-size-large {
2021-12-16 15:03:24 +03:00
padding-top : 18vmin ;
padding-bottom : 18vmin ;
2021-12-15 20:42:45 +03:00
min-height : 80vh ;
2021-12-15 13:41:05 +03:00
}
2021-12-15 21:39:39 +03:00
. kg-header-card . kg-width-full {
padding-left : 4em ;
padding-right : 4em ;
}
2021-12-14 20:40:44 +03:00
. kg-header-card . kg-align-left {
2021-12-13 21:31:23 +03:00
text-align : left ;
2021-12-15 13:41:05 +03:00
align-items : flex-start ;
2021-12-13 21:31:23 +03:00
}
2021-12-15 13:41:05 +03:00
2021-12-16 20:22:08 +03:00
. kg-header-card . kg-style-dark {
2021-12-16 18:32:54 +03:00
background : # 15171A ;
color : # fff ;
2021-12-15 15:21:19 +03:00
}
2021-12-16 20:22:08 +03:00
. kg-header-card . kg-style-light {
2021-12-16 18:32:54 +03:00
background-color : # fafafb ;
}
2021-12-16 20:22:08 +03:00
. kg-header-card . kg-style-light h2 ,
. kg-header-card . kg-style-light h3 {
2021-12-16 18:32:54 +03:00
color : # 15171A ! important ;
2021-12-14 18:00:55 +03:00
}
2021-12-15 13:41:05 +03:00
2021-12-14 20:40:44 +03:00
. kg-header-card . kg-style-accent {
2021-12-14 18:00:55 +03:00
background-color : var ( --accent-color ) ;
}
2021-12-15 13:41:05 +03:00
2021-12-14 20:40:44 +03:00
. kg-header-card . kg-style-image {
2021-12-15 13:41:05 +03:00
background-color : # e7e7eb ;
2021-12-14 18:00:55 +03:00
background-size : cover ;
background-position : center center ;
2021-12-13 21:31:23 +03:00
}
2021-12-09 18:00:15 +03:00
2021-12-16 18:11:19 +03:00
. kg-header-card-header . __mobiledoc-editor . __has-no-content : after ,
2021-12-15 20:42:45 +03:00
. kg-header-card h2 {
font-size : 5em ;
font-weight : 700 ;
line-height : 1 . 1em ;
2022-09-02 17:22:26 +03:00
letter-spacing : -0 . 03em ;
2021-12-16 18:11:19 +03:00
}
. kg-header-card h2 {
2021-12-15 20:42:45 +03:00
margin : 0 ;
}
. kg-header-card h2 strong {
font-weight : 800 ;
}
2021-12-16 18:11:19 +03:00
. kg-header-card . kg-size-small . kg-header-card-header . __mobiledoc-editor . __has-no-content : after ,
2021-12-15 20:42:45 +03:00
. kg-header-card . kg-size-small h2 {
font-size : 4em ;
2022-09-02 17:22:26 +03:00
letter-spacing : -0 . 03em ;
2021-12-15 20:42:45 +03:00
}
2021-12-16 18:11:19 +03:00
. kg-header-card . kg-size-large . kg-header-card-header . __mobiledoc-editor . __has-no-content : after ,
2021-12-15 20:42:45 +03:00
. kg-header-card . kg-size-large h2 {
font-size : 6em ;
}
2021-12-16 20:22:08 +03:00
. kg-header-card-subheader . __mobiledoc-editor . __has-no-content : after ,
2021-12-15 20:42:45 +03:00
. kg-header-card h3 {
font-size : 1 . 5em ;
font-weight : 500 ;
2021-12-16 17:37:20 +03:00
line-height : 1 . 4em ;
2021-12-17 05:56:10 +03:00
margin : 0 . 35em auto 0 ! important ;
2021-12-16 17:37:20 +03:00
max-width : 40em ;
2022-09-02 17:22:26 +03:00
letter-spacing : -0 . 025em ;
2021-12-16 18:11:19 +03:00
}
. kg-header-card h3 {
2021-12-16 17:37:20 +03:00
opacity : 0 . 85 ;
2021-12-16 18:11:19 +03:00
min-width : unset ;
2021-12-15 20:42:45 +03:00
}
. kg-header-card h3 strong {
font-weight : 600 ;
}
2021-12-16 18:11:19 +03:00
. kg-header-card . kg-size-small . kg-header-card-subheader . __mobiledoc-editor . __has-no-content : after ,
2021-12-15 20:42:45 +03:00
. kg-header-card . kg-size-small h3 {
font-size : 1 . 25em ;
}
2021-12-17 05:56:10 +03:00
. kg-header-card . kg-header-card-subheader . __mobiledoc-editor . __has-no-content : after {
margin-top : 0 ! important ;
}
2021-12-16 18:11:19 +03:00
. kg-header-card . kg-size-large . kg-header-card-subheader . __mobiledoc-editor . __has-no-content : after ,
2021-12-15 20:42:45 +03:00
. kg-header-card . kg-size-large h3 {
font-size : 1 . 75em ;
2021-12-16 17:37:20 +03:00
line-height : 1 . 35em ;
2022-09-02 17:22:26 +03:00
letter-spacing : -0 . 03em ;
2021-12-15 20:42:45 +03:00
}
2021-12-16 20:22:08 +03:00
. kg-header-card : not ( . kg-style-light ) h2 ,
. kg-header-card : not ( . kg-style-light ) h3 {
2021-12-16 18:32:54 +03:00
color : # fff ;
2021-12-15 20:42:45 +03:00
}
2021-12-16 17:37:20 +03:00
. kg-header-card . kg-style-accent h3 ,
. kg-header-card . kg-style-image h3 {
opacity : 1 . 0 ;
}
2021-12-16 18:58:53 +03:00
. kg-header-card . kg-style-accent h2 a ,
. kg-header-card . kg-style-accent h3 a ,
. kg-header-card . kg-style-image h2 a ,
. kg-header-card . kg-style-image h3 a {
color : # fff ! important ;
}
2021-12-15 13:41:05 +03:00
. kg-header-card-button {
margin-top : 1 . 75em ;
2021-12-16 14:59:03 +03:00
background-color : var ( --white ) ;
2021-12-15 13:41:05 +03:00
}
2021-12-15 20:42:45 +03:00
. kg-header-card-button span {
2021-12-16 17:37:20 +03:00
font-size : 1 . 55rem ;
height : 44px ;
line-height : 44px ;
padding : 0 24px ;
2021-12-15 13:41:05 +03:00
}
. kg-size-small . kg-header-card-button {
margin-top : 1 . 5em ;
}
2021-12-16 17:37:20 +03:00
. kg-size-small . kg-header-card-button span {
height : 38px ;
line-height : 38px ;
font-size : 1 . 45rem ;
}
2021-12-15 20:42:45 +03:00
. kg-size-large . kg-header-card-button {
margin-top : 2em ;
2021-12-15 13:41:05 +03:00
}
2021-12-16 17:37:20 +03:00
. kg-size-large . kg-header-card-button span {
height : 52px ;
line-height : 52px ;
font-size : 1 . 65rem ;
padding : 0 28px ;
}
2021-12-16 20:22:08 +03:00
. kg-style-light . kg-header-card-button {
2021-12-16 18:32:54 +03:00
background-color : var ( --accent-color ) ! important ;
color : # fff ! important ;
2021-12-16 14:59:03 +03:00
}
2021-12-15 13:41:05 +03:00
. kg-style-accent . kg-header-card-button {
2021-12-16 18:32:54 +03:00
color : # 15171A ! important ;
2021-12-16 14:59:03 +03:00
}
. kg-style-image {
position : relative ;
}
. kg-style-image :: before {
position : absolute ;
display : block ;
content : "" ;
top : 0 ;
right : 0 ;
bottom : 0 ;
left : 0 ;
background : linear-gradient ( 0deg , rgba ( 0 , 0 , 0 , 0 ) , rgba ( 0 , 0 , 0 , 0 . 2 ) ) ;
}
. kg-style-image h2 ,
. kg-style-image h3 ,
. kg-style-image . kg-header-card-button {
z-index : 999 ;
2021-12-15 13:41:05 +03:00
}
2021-12-16 18:11:19 +03:00
. kg-header-card-header . koenig-basic-html-input__editor . __has-no-content {
font-weight : 700 ;
}
. kg-header-card-subheader . koenig-basic-html-input__editor {
2021-12-17 05:56:10 +03:00
display : block ;
text-align : center ;
2021-12-16 18:11:19 +03:00
}
. kg-header-card-subheader . koenig-basic-html-input__editor-wrappper {
width : 100 % ;
}
2021-12-16 18:15:42 +03:00
. kg-header-card . __mobiledoc-editor . __has-no-content : after {
opacity : 0 . 5 ;
color : # fff ! important ;
}
2021-12-16 20:22:08 +03:00
. kg-header-card . kg-style-light . __mobiledoc-editor . __has-no-content : after {
2021-12-16 18:32:54 +03:00
color : # 15171A ! important ;
2021-12-16 18:15:42 +03:00
}
2021-12-16 18:58:53 +03:00
. kg-header-card . kg-link-input {
color : var ( --middarkgrey ) ;
}
2021-12-17 12:09:38 +03:00
@ media ( max-width : 1150px ) {
2022-01-05 06:42:07 +03:00
. kg-header-card . kg-size-large . kg-header-card-header . __mobiledoc-editor . __has-no-content : after ,
2021-12-17 12:09:38 +03:00
. kg-header-card . kg-size-large h2 {
font-size : 4 . 8em ;
}
2021-12-17 11:49:40 +03:00
. kg-header-card . kg-size-large . __mobiledoc-editor . __has-no-content h2 {
padding-left : calc ( ( 100 % - 680px ) / 2 ) ;
}
2021-12-17 12:09:38 +03:00
}
@ media ( max-width : 980px ) {
. kg-header-card {
padding : 8vmin 4vmin ;
}
. kg-header-card-header . __mobiledoc-editor . __has-no-content : after ,
. kg-header-card h2 {
font-size : 3 . 8em ;
}
2021-12-17 11:49:40 +03:00
. kg-header-card . __mobiledoc-editor . __has-no-content h2 {
padding-left : calc ( ( 100 % - 540px ) / 2 ) ;
}
2022-01-05 06:42:07 +03:00
. kg-header-card . kg-size-large . kg-header-card-header . __mobiledoc-editor . __has-no-content : after ,
2021-12-17 12:09:38 +03:00
. kg-header-card . kg-size-large h2 {
font-size : 4 . 0em ;
}
2021-12-17 11:49:40 +03:00
. kg-header-card . kg-size-large . __mobiledoc-editor . __has-no-content h2 {
padding-left : calc ( ( 100 % - 568px ) / 2 ) ;
}
2021-12-17 12:09:38 +03:00
}
@ media ( max-width : 680px ) {
. kg-header-card-header . __mobiledoc-editor . __has-no-content : after ,
. kg-header-card h2 {
font-size : 3 . 0em ;
}
2021-12-17 11:49:40 +03:00
. kg-header-card . __mobiledoc-editor . __has-no-content h2 {
padding-left : calc ( ( 100 % - 430px ) / 2 ) ;
}
2022-01-05 06:42:07 +03:00
. kg-header-card . kg-size-small . kg-header-card-header . __mobiledoc-editor . __has-no-content : after ,
2021-12-17 12:09:38 +03:00
. kg-header-card . kg-size-small h2 {
font-size : 2 . 8em ;
}
2021-12-17 11:49:40 +03:00
. kg-header-card . kg-size-small . __mobiledoc-editor . __has-no-content h2 {
padding-left : calc ( ( 100 % - 404px ) / 2 ) ;
}
2022-01-05 06:42:07 +03:00
. kg-header-card . kg-size-large . kg-header-card-header . __mobiledoc-editor . __has-no-content : after ,
2021-12-17 12:09:38 +03:00
. kg-header-card . kg-size-large h2 {
font-size : 3 . 2em ;
}
2021-12-17 11:49:40 +03:00
. kg-header-card . kg-size-large . __mobiledoc-editor . __has-no-content h2 {
padding-left : calc ( ( 100 % - 460px ) / 2 ) ;
}
2021-12-17 12:09:38 +03:00
}
2021-12-10 21:17:11 +03:00
/ * Upload cards : audio and file
2021-12-01 17:07:05 +03:00
/* --------------------------------------------------------------- */
2021-12-10 21:17:11 +03:00
. kg-upload-container {
2021-12-01 17:07:05 +03:00
display : flex ;
2021-12-07 22:13:23 +03:00
width : 100 % ;
2021-12-01 17:07:05 +03:00
border-radius : var ( --border-radius ) ;
box-shadow : inset 0 0 0 1px rgba ( 124 , 139 , 154 , 0 . 25 ) ;
}
2021-12-10 21:17:11 +03:00
. kg-upload-container-empty {
2021-12-01 17:07:05 +03:00
display : flex ;
justify-content : center ;
2021-12-08 18:34:25 +03:00
align-items : center ;
height : 96px ;
background : var ( --whitegrey-l2 ) ;
2021-12-01 17:07:05 +03:00
}
2021-12-10 21:17:11 +03:00
. kg-upload-container-empty svg {
2021-12-08 18:34:25 +03:00
width : 24px ;
height : auto ;
margin-right : 8px ;
fill : var ( --midgrey-l2 ) ;
2021-12-01 17:07:05 +03:00
opacity : 0 . 85 ;
2021-12-08 18:34:25 +03:00
transition : var ( --animation-speed-fast ) ease-out ;
2021-12-01 17:07:05 +03:00
transform : scale ( 1 . 0 ) ;
2021-12-08 18:34:25 +03:00
}
2021-12-02 22:22:46 +03:00
2021-12-10 21:17:11 +03:00
. kg-upload-container-empty : hover svg {
2021-12-01 17:07:05 +03:00
opacity : 1 . 0 ;
2021-12-08 18:34:25 +03:00
transform : scale ( 1 . 04 ) ;
}
2021-12-01 17:07:05 +03:00
2021-12-10 21:17:11 +03:00
. kg-upload-container-empty . gh-progress-container-progress {
2021-12-08 18:34:25 +03:00
width : 30 % ;
background : linear-gradient ( to bottom , var ( --whitegrey-l1 ) , var ( --whitegrey ) ) ;
2021-12-01 17:07:05 +03:00
}
2021-12-10 21:17:11 +03:00
. kg-upload-placeholder-text {
2021-12-01 17:07:05 +03:00
color : var ( --midgrey ) ;
font-family : var ( --font-family ) ;
font-size : 1 . 45rem ;
font-weight : 400 ;
2021-12-08 18:34:25 +03:00
line-height : 1 . 6em ;
2021-12-01 17:07:05 +03:00
}
2021-11-10 16:46:23 +03:00
2021-12-10 21:17:11 +03:00
. kg-upload-container-empty : hover . kg-upload-placeholder-text {
2021-12-08 18:34:25 +03:00
color : var ( --midgrey-d2 ) ;
}
2021-12-07 22:13:23 +03:00
2021-12-08 18:34:25 +03:00
. kg-media-container {
position : relative ;
2021-12-07 22:13:23 +03:00
display : flex ;
2021-12-08 18:34:25 +03:00
justify-content : center ;
align-items : center ;
2021-12-07 22:13:23 +03:00
width : 100 % ;
2021-12-08 18:34:25 +03:00
height : 80px ;
max-width : 80px ;
margin : 8px ;
background : var ( --accent-color ) ;
2021-12-14 19:41:37 +03:00
border-radius : 2px ;
2021-12-07 22:13:23 +03:00
}
2021-12-10 21:17:11 +03:00
. kg-media-container . light {
background : var ( --whitegrey ) ;
color : var ( --pink ) ;
}
2021-12-14 19:41:37 +03:00
. kg-file-card . kg-media-container {
color : var ( --accent-color ) ;
}
2021-12-08 18:34:25 +03:00
. kg-media-container . gh-progress-container-progress {
background : rgba ( 225 , 225 , 225 , . 2 ) ;
}
2021-12-10 21:17:11 +03:00
. kg-upload-button {
2021-12-08 18:34:25 +03:00
display : flex ;
align-items : center ;
justify-content : center ;
2021-12-07 22:13:23 +03:00
width : 80px ;
2021-12-08 18:34:25 +03:00
height : 80px ;
2021-12-13 18:18:32 +03:00
cursor : auto ;
2021-12-08 18:34:25 +03:00
}
2021-12-14 11:37:39 +03:00
. kg-upload-button . kg-replace-icon {
2021-12-08 18:34:25 +03:00
width : 18px ;
height : 18px ;
margin : . 6rem . 8rem ;
2021-12-07 22:13:23 +03:00
}
2021-12-10 21:17:11 +03:00
. kg-upload-button . image-overlay {
2021-12-08 18:34:25 +03:00
position : absolute ;
top : 0 ;
right : 0 ;
bottom : 0 ;
left : 0 ;
padding : 6px ;
color : # fff ;
background-image : linear-gradient ( 180deg , rgba ( 0 , 0 , 0 , 0 . 2 ) 0 , transparent 70 % , transparent 100 % ) ;
opacity : 0 ;
transition : all 0 . 15s ease-in-out ;
2021-12-10 21:17:11 +03:00
}
2021-12-08 18:34:25 +03:00
2021-12-10 21:17:11 +03:00
. kg-upload-button : hover . image-overlay {
2021-12-08 18:34:25 +03:00
opacity : 1 ;
2021-12-10 21:17:11 +03:00
}
2021-12-08 18:34:25 +03:00
2021-12-14 19:41:37 +03:00
. kg-upload-button . kg-audio-icon ,
. kg-upload-button . kg-file-icon {
2021-12-08 18:34:25 +03:00
width : 24px ;
height : 24px ;
2021-12-14 19:41:37 +03:00
fill : # fff ;
2021-12-08 18:34:25 +03:00
transition : all 0 . 15s ease-in-out ;
2021-12-10 21:17:11 +03:00
}
2021-12-08 18:34:25 +03:00
2021-12-10 21:17:11 +03:00
. kg-upload-button : hover . kg-audio-icon {
2021-12-08 18:34:25 +03:00
opacity : . 6 ;
2021-12-10 21:17:11 +03:00
}
2021-12-08 18:34:25 +03:00
2021-12-13 21:08:55 +03:00
. kg-upload-button . kg-audio-upload-icon {
width : 24px ;
height : 24px ;
transition : var ( --animation-speed-fast ) ease-out ;
transform : scale ( 1 . 0 ) ;
}
. kg-upload-button . kg-audio-upload-icon path {
stroke : var ( --white ) ;
stroke-width : 1 . 5 ;
}
. kg-upload-button : hover . kg-audio-upload-icon {
width : 24px ;
height : 24px ;
transform : scale ( 1 . 06 ) ;
}
2021-12-10 21:17:11 +03:00
. kg-upload-button img {
2021-12-08 18:34:25 +03:00
width : 100 % ;
height : 100 % ;
object-fit : cover ;
2021-12-14 19:41:37 +03:00
border-radius : 2px ;
2021-12-08 21:38:23 +03:00
background : var ( --white ) ;
2021-12-10 21:17:11 +03:00
}
2021-12-08 18:34:25 +03:00
2021-12-07 22:13:23 +03:00
. kg-player-container {
position : relative ;
display : flex ;
flex-direction : column ;
justify-content : space-between ;
width : 100 % ;
}
2021-12-10 21:17:11 +03:00
. kg-upload-title ,
. kg-upload-caption {
2021-12-15 19:45:04 +03:00
margin : 4px 4px 0 ;
2022-05-20 13:09:41 +03:00
}
. kg-upload-title ,
. kg-upload-caption ,
. kg-audio-title {
width : 100 % ;
2021-12-15 19:45:04 +03:00
padding : 4px 12px ;
2021-12-07 22:13:23 +03:00
border : none ;
2021-12-13 11:09:27 +03:00
font-size : 1 . 8rem ;
2021-12-07 22:13:23 +03:00
font-weight : 700 ;
background : transparent ;
}
2022-05-20 13:09:41 +03:00
. kg-audio-title {
margin : 4px 0 0 ;
}
2021-12-10 21:17:11 +03:00
. kg-upload-title : focus ,
2022-05-20 13:09:41 +03:00
. kg-upload-caption : focus ,
. kg-audio-title : focus {
2021-12-08 18:34:25 +03:00
box-shadow : none ;
}
2022-05-20 13:09:41 +03:00
. kg-upload-title :: placeholder ,
. kg-audio-title :: placeholder {
2021-12-14 19:55:27 +03:00
font-weight : 700 ;
}
2021-12-10 21:17:11 +03:00
. kg-upload-caption {
2021-12-15 19:45:04 +03:00
font-size : 1 . 6rem ;
2021-12-10 21:17:11 +03:00
font-weight : 500 ;
color : var ( --midgrey ) ;
margin-top : 4px ;
}
. kg-upload-metadata {
line-height : 1em ;
2021-12-15 19:45:04 +03:00
margin : 0 16px 4px ;
2021-12-10 21:17:11 +03:00
font-size : 1 . 4rem ;
font-weight : 500 ;
}
. kg-upload-filesize {
color : var ( --midgrey ) ;
font-weight : 400 ;
}
2021-12-14 13:49:33 +03:00
. kg-player-current-time {
2021-12-07 22:13:23 +03:00
min-width : 38px ;
padding : 0 4px ;
font-family : inherit ;
font-size : . 85em ;
font-weight : 500 ;
line-height : 1 . 4em ;
}
2021-12-14 13:49:33 +03:00
. kg-player-time {
2021-12-07 22:13:23 +03:00
color : # ababab ;
font-family : inherit ;
font-size : . 85em ;
font-weight : 500 ;
line-height : 1 . 4em ;
}
2021-12-14 13:49:33 +03:00
. kg-player-duration {
2021-12-07 22:13:23 +03:00
padding : 0 4px ;
}
2021-12-14 13:49:33 +03:00
. kg-player-play-icon ,
. kg-player-pause-icon {
2021-12-07 22:13:23 +03:00
position : relative ;
padding : 0px 4px 0 0 ;
background : transparent ;
}
2021-12-14 13:49:33 +03:00
. kg-player-play-icon svg ,
. kg-player-pause-icon svg {
2021-12-07 22:13:23 +03:00
width : 14px ;
height : 14px ;
fill : currentColor ;
}
2021-12-14 13:49:33 +03:00
. kg-player-seek-slider {
2021-12-07 22:13:23 +03:00
flex-grow : 1 ;
margin : 0 4px ;
}
2021-12-13 11:09:27 +03:00
@ media ( max-width : 800px ) {
2021-12-14 13:49:33 +03:00
. kg-player-seek-slider {
2021-12-13 11:09:27 +03:00
display : none ;
}
}
2021-12-14 13:49:33 +03:00
. kg-player-playback-rate {
2021-12-07 22:13:23 +03:00
width : 36px ;
padding : 0 4px ;
font-family : inherit ;
font-size : . 85em ;
font-weight : 600 ;
line-height : 1 . 4em ;
text-align : left ;
background : transparent ;
}
2021-12-13 11:09:27 +03:00
@ media ( max-width : 800px ) {
2021-12-14 13:49:33 +03:00
. kg-player-playback-rate {
2021-12-13 11:09:27 +03:00
padding-left : 8px ;
}
}
2021-12-14 13:49:33 +03:00
. kg-player-unmute-icon {
2021-12-07 22:13:23 +03:00
position : relative ;
bottom : -1px ;
padding : 0 4px ;
background : transparent ;
}
2021-12-13 11:09:27 +03:00
@ media ( max-width : 800px ) {
2021-12-14 13:49:33 +03:00
. kg-player-unmute-icon {
2021-12-13 11:09:27 +03:00
margin-left : auto ;
}
}
2021-12-14 13:49:33 +03:00
. kg-player-unmute-icon svg {
2021-12-07 22:13:23 +03:00
width : 16px ;
height : 16px ;
fill : currentColor ;
}
2021-12-14 13:49:33 +03:00
. kg-player-volume-slider {
2021-12-07 22:13:23 +03:00
width : 80px ;
}
2021-12-13 11:09:27 +03:00
@ media ( min-width : 500px ) and ( max-width : 550px ) {
2021-12-14 13:49:33 +03:00
. kg-player-volume-slider {
2021-12-13 11:09:27 +03:00
display : none ;
}
}
@ media ( max-width : 430px ) {
2021-12-14 13:49:33 +03:00
. kg-player-volume-slider {
2021-12-13 11:09:27 +03:00
display : none ;
}
}
2021-12-14 13:49:33 +03:00
. kg-player-seek-slider :: before {
2021-12-07 22:13:23 +03:00
position : absolute ;
content : "" ;
left : 0 ;
2021-12-09 22:56:18 +03:00
width : 0 % ! important ;
2021-12-08 18:34:25 +03:00
height : 4px ;
background-color : currentColor ;
2021-12-07 22:13:23 +03:00
cursor : pointer ;
2021-12-08 18:34:25 +03:00
border-radius : 2px ;
2021-12-07 22:13:23 +03:00
}
2021-12-14 13:49:33 +03:00
. kg-player-volume-slider :: before {
2021-12-07 22:13:23 +03:00
position : absolute ;
content : "" ;
left : 0 ;
width : 70 % ! important ;
2021-12-08 18:34:25 +03:00
height : 4px ;
background-color : currentColor ;
2021-12-07 22:13:23 +03:00
cursor : pointer ;
2021-12-08 18:34:25 +03:00
border-radius : 2px ;
2021-12-07 22:13:23 +03:00
}
2021-12-10 21:17:11 +03:00
. kg-file-data-container {
position : relative ;
display : flex ;
2021-12-15 19:45:04 +03:00
justify-content : space-between ;
2021-12-10 21:17:11 +03:00
flex-direction : column ;
width : 100 % ;
2021-12-15 19:45:04 +03:00
align-items : stretch ;
margin : 6px 0 ;
2021-12-10 21:17:11 +03:00
}
. kg-file-data-container . kg-upload-title {
height : 30px ;
2021-12-15 19:45:04 +03:00
padding-top : 0 ;
padding-bottom : 0px ;
margin-bottom : 0 ;
margin-top : 0 ;
2021-12-10 21:17:11 +03:00
}
. kg-file-data-container . kg-upload-caption {
font-weight : 400 ;
2021-12-15 19:45:04 +03:00
height : 26px ;
padding-top : 0 ;
2021-12-10 21:17:11 +03:00
}
. kg-file-data-container . kg-file-card-caption {
margin-top : 0 ;
}
2021-12-15 19:45:04 +03:00
. kg-file-data-container . kg-upload-title + . kg-upload-caption {
margin-top : -2px ;
}
2021-12-14 19:41:37 +03:00
. kg-file-card . kg-media-container {
order : 2 ;
}
. kg-file-data-container . kg-upload-title . hide ,
. kg-file-data-container . kg-upload-caption . hide {
display : none ;
}
. kg-file-card . kg-upload-container . medium . kg-media-container {
height : 60px ;
}
. kg-file-card . kg-upload-container . medium . kg-upload-metadata {
margin-top : 4px ;
margin-bottom : 0 ;
}
2021-12-15 19:45:04 +03:00
. kg-file-card . kg-upload-container . medium . kg-file-data-container {
padding : 8px 0 ;
}
2021-12-14 19:41:37 +03:00
. kg-file-card . kg-upload-container . medium . kg-upload-title {
margin-top : -4px ;
padding-top : 0 ;
margin-bottom : 2px ;
}
. kg-file-card . kg-upload-container . small . kg-media-container {
height : 40px ;
}
. kg-file-card . kg-upload-container . small . kg-upload-metadata {
margin-top : 0 ;
}
. kg-file-card . kg-upload-container . small . kg-file-inputs {
display : none ;
}
2021-12-14 19:55:27 +03:00
. kg-file-card . kg-upload-container . small . kg-media-container svg {
width : 20px ;
height : 20px ;
}
2021-12-15 19:45:04 +03:00
. kg-file-card . kg-upload-container . small . kg-file-data-container {
justify-content : center ;
}
2021-12-09 19:22:51 +03:00
/ * Video card
2021-12-07 22:13:23 +03:00
/* --------------------------------------------------------------- */
2021-12-09 19:22:51 +03:00
. kg-video-card . kg-player-container {
position : absolute ;
bottom : 0 ;
height : 80px ;
background : linear-gradient ( rgba ( 0 , 0 , 0 , 0 ) , rgba ( 0 , 0 , 0 , . 5 ) ) ;
2021-12-10 22:48:16 +03:00
z-index : 999 ;
2021-12-09 19:22:51 +03:00
}
. kg-video-card . kg-player {
position : absolute ;
bottom : 0 ;
width : 100 % ;
z-index : 9999 ;
2021-12-13 13:43:05 +03:00
padding : 12px 16px ;
}
. kg-video-card . kg-player-full {
padding : 16px 28px ;
2021-12-09 19:22:51 +03:00
}
. kg-placeholder-video {
width : 48px ;
height : 48px ;
fill : var ( --midgrey-l2 ) ;
}
2021-12-14 21:49:29 +03:00
. kg-upload-error {
display : flex ;
align-items : center ;
max-width : 60 % ;
height : auto ;
2023-01-13 11:55:24 +03:00
margin-top : 1 . 2rem ;
2021-12-14 21:49:29 +03:00
color : var ( --red ) ;
2022-07-21 10:58:22 +03:00
font-family : "Inter" , -apple-system , BlinkMacSystemFont , Segoe UI , Roboto , Oxygen , Ubuntu , Droid Sans , Helvetica Neue , sans-serif ;
2023-01-13 11:55:24 +03:00
font-size : 1 . 45rem ;
2022-07-21 10:58:22 +03:00
letter-spacing : 0 ;
2021-12-14 21:49:29 +03:00
font-weight : 600 ;
line-height : 1 . 6em ;
text-align : center ;
}
2021-12-09 19:22:51 +03:00
. kg-video-card . kg-player-container input [ type = "range" ] :: -moz-range-progress {
2021-12-14 13:49:33 +03:00
background : # EBEEF0 ;
}
. kg-video-card . kg-player-container input [ type = "range" ] :: -moz-range-track {
background : rgba ( 255 , 255 , 255 , 0 . 2 ) ;
}
. kg-video-card . kg-player-container input [ type = "range" ] :: -webkit-slider-runnable-track {
background : rgba ( 255 , 255 , 255 , 0 . 2 ) ;
2021-12-09 19:22:51 +03:00
}
2021-12-14 15:13:28 +03:00
. kg-video-card . kg-player-container input [ type = "range" ] :: -webkit-slider-thumb {
box-shadow : 0 0 0 1px rgba ( 0 , 0 , 0 , . 06 ) , 0 1px 4px rgba ( 0 , 0 , 0 , 0 . 2 ) ;
}
. kg-video-card . kg-player-container input [ type = "range" ] :: -moz-range-thumb {
box-shadow : 0 0 0 1px rgba ( 0 , 0 , 0 , . 06 ) , 0 1px 4px rgba ( 0 , 0 , 0 , 0 . 2 ) ;
}
. kg-video-card . kg-player-container input [ type = "range" ] :: -ms-thumb {
box-shadow : 0 0 0 1px rgba ( 0 , 0 , 0 , . 06 ) , 0 1px 4px rgba ( 0 , 0 , 0 , 0 . 2 ) ;
}
2021-12-14 13:49:33 +03:00
. kg-video-card . kg-player-current-time {
2021-12-14 11:37:39 +03:00
color : # fff ;
2021-12-09 19:22:51 +03:00
}
2021-12-14 13:49:33 +03:00
. kg-video-card . kg-player-time {
color : rgba ( 255 , 255 , 255 , 0 . 6 ) ;
}
. kg-video-card . kg-player-playback-rate {
2021-12-14 11:37:39 +03:00
color : # fff ;
2021-12-09 19:22:51 +03:00
}
2021-12-14 13:49:33 +03:00
. kg-video-card . kg-player-play-icon svg ,
. kg-video-card . kg-player-unmute-icon svg {
2021-12-14 11:37:39 +03:00
fill : # fff ;
2021-12-09 19:22:51 +03:00
}
2021-12-14 13:49:33 +03:00
. kg-video-card . kg-player-volume-slider :: before {
background-color : # EBEEF0 ;
}
2021-12-09 19:22:51 +03:00
. kg-video-card . kg-large-play-icon {
display : flex ;
justify-content : center ;
align-items : center ;
width : 72px ;
height : 72px ;
padding : 0 ;
background : rgba ( 0 , 0 , 0 , 0 . 5 ) ;
border-radius : 50 % ;
}
. kg-video-card . kg-large-play-icon svg {
width : 20px ;
height : auto ;
margin-left : 2px ;
2021-12-14 11:37:39 +03:00
fill : # fff ;
2021-12-09 19:22:51 +03:00
}
. kg-video-card . image-overlay {
position : absolute ;
top : 0 ;
right : 0 ;
bottom : 0 ;
left : 0 ;
display : flex ;
justify-content : center ;
align-items : center ;
background-image : linear-gradient ( 180deg , rgba ( 0 , 0 , 0 , 0 . 3 ) 0 , transparent 70 % , transparent 100 % ) ;
2021-12-10 22:48:16 +03:00
z-index : 999 ;
2021-12-09 19:22:51 +03:00
}
. kg-settings-panel-control-info . video {
width : 75 % ;
margin-top : -10px ;
}
2021-12-14 11:37:39 +03:00
. kg-settings-panel . kg-upload-thumbnail-xl {
display : flex ;
justify-content : center ;
align-items : center ;
width : 100 % ;
height : 120px ;
border : 1px dashed var ( --whitegrey-d2 ) ;
2021-12-14 21:49:29 +03:00
background : var ( --whitegrey-l2 ) ;
2021-12-14 11:37:39 +03:00
}
. kg-settings-panel . kg-upload-thumbnail-xl : hover {
2021-12-14 21:49:29 +03:00
background : var ( --whitegrey-l2 ) ;
2021-12-14 11:37:39 +03:00
}
. kg-settings-panel . kg-upload-thumbnail-xl svg {
width : 20px ;
height : auto ;
fill : var ( --midgrey ) ;
transition : var ( --animation-speed-fast ) ease-out ;
transform : scale ( 1 . 0 ) ;
}
. kg-settings-panel . kg-upload-thumbnail-xl : hover svg {
transform : scale ( 1 . 08 ) ;
}
. kg-settings-panel . kg-thumbnail-xl-container {
display : flex ;
justify-content : center ;
align-items : center ;
width : 100 % ;
height : 120px ;
background-image : url ( "data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3ERectangle%3C/title%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath fill='%23E6EEF2' d='M0 0h24v24H0z'/%3E%3Cpath fill='%23D8E2E8' d='M0 0h12v12H0zM12 12h12v12H12z'/%3E%3C/g%3E%3C/svg%3E" ) ;
border-radius : var ( --border-radius ) ;
}
2021-12-16 14:25:01 +03:00
. kg-settings-panel . kg-upload-thumbnail-xl . with-label {
flex-direction : column ;
}
. kg-settings-panel . kg-upload-thumbnail-xl . with-label span {
display : inline-block ;
margin-top : -4px ;
font-weight : 400 ;
2021-12-16 14:39:27 +03:00
color : var ( --midgrey ) ;
2021-12-16 14:25:01 +03:00
}
2021-12-14 11:37:39 +03:00
. kg-settings-panel . kg-thumbnail-xl {
width : 100 % ;
height : auto ;
max-height : 120px ;
object-fit : cover ;
border-radius : var ( --border-radius ) ;
}
. kg-settings-panel . kg-replace-icon {
width : 18px ;
height : 18px ;
margin : . 6rem . 8rem ;
}
. kg-settings-panel . kg-thumbnail-xl-container . image-overlay {
position : absolute ;
top : 0 ;
right : 0 ;
bottom : 0 ;
left : 0 ;
padding : 6px ;
color : # fff ;
background-image : linear-gradient ( 180deg , rgba ( 0 , 0 , 0 , 0 . 2 ) 0 , transparent 70 % , transparent 100 % ) ;
opacity : 0 ;
transition : all 0 . 15s ease-in-out ;
}
. kg-settings-panel . kg-thumbnail-xl-container : hover . image-overlay {
opacity : 1 ;
}
2021-12-16 14:25:01 +03:00
. kg-settings-headerstyle-btn-group {
2021-12-16 18:32:54 +03:00
background : none ! important ;
2021-12-16 14:25:01 +03:00
}
. kg-settings-headerstyle-btn-group . gh-btn {
background : var ( --white ) ! important ;
width : 26px ;
height : 26px ;
border : 1px solid var ( --whitegrey ) ;
border-radius : 999px ;
margin-right : 5px ;
}
. kg-settings-headerstyle-btn-group . kg-headerstyle-btn-dark {
2021-12-16 18:32:54 +03:00
background : # 08090c ! important ;
2021-12-16 14:25:01 +03:00
}
. kg-settings-headerstyle-btn-group . kg-headerstyle-btn-light {
background : # F9F9F9 ! important ;
}
. kg-settings-headerstyle-btn-group . kg-headerstyle-btn-accent {
background : var ( --accent-color ) ! important ;
}
. kg-settings-headerstyle-btn-group . kg-headerstyle-btn-image {
2021-12-16 18:32:54 +03:00
background : transparent ! important ;
2021-12-16 14:25:01 +03:00
margin-right : 0 ;
}
. kg-settings-headerstyle-btn-group . kg-headerstyle-btn-image svg {
width : 12px ;
height : 12px ;
}
2021-12-16 18:32:54 +03:00
. kg-settings-headerstyle-btn-group . kg-headerstyle-btn-image svg path {
2022-09-02 18:56:02 +03:00
stroke-width : 1 . 5 ;
2021-12-16 18:32:54 +03:00
}
2021-12-16 14:25:01 +03:00
. kg-settings-headerstyle-btn-group . gh-btn-group-selected {
position : relative ;
}
. kg-settings-headerstyle-btn-group . gh-btn-group-selected :: before {
position : absolute ;
content : "" ;
display : block ;
top : -4px ;
right : -4px ;
bottom : -4px ;
left : -4px ;
border : 2px solid var ( --green ) ;
border-radius : 999px ;
}
2021-12-09 19:22:51 +03:00
/ * Multimedia player UI
/* --------------------------------------------------------------- */
. kg-player {
display : flex ;
flex-grow : 1 ;
align-items : center ;
padding : 8px 12px ;
pointer-events : none ;
}
/* Reset default browser styling */
2021-12-07 22:13:23 +03:00
. kg-player-container input [ type = range ] {
position : relative ;
-webkit-appearance : none ;
background : transparent ;
}
. kg-player-container input [ type = range ] : focus {
outline : none ;
}
. kg-player-container input [ type = range ] :: -webkit-slider-thumb {
-webkit-appearance : none ;
}
. kg-player-container input [ type = range ] :: -ms-track {
cursor : pointer ;
border-color : transparent ;
color : transparent ;
background : transparent ;
}
2021-12-09 19:22:51 +03:00
/* Player Chrome & Safari styles */
2021-12-07 22:13:23 +03:00
. kg-player-container input [ type = "range" ] :: -webkit-slider-runnable-track {
width : 100 % ;
height : 4px ;
cursor : pointer ;
2021-12-14 11:37:39 +03:00
background : rgba ( 124 , 139 , 154 , 0 . 3 ) ;
2021-12-07 22:13:23 +03:00
border-radius : 2px ;
}
. kg-player-container input [ type = "range" ] :: -webkit-slider-thumb {
position : relative ;
box-sizing : content-box ;
2021-12-14 13:49:33 +03:00
width : 13px ;
height : 13px ;
2021-12-07 22:13:23 +03:00
margin : -5px 0 0 0 ;
border : 0 ;
cursor : pointer ;
background : # fff ;
border-radius : 50 % ;
box-shadow : 0 0 0 1px rgba ( 0 , 0 , 0 , . 08 ) , 0 1px 4px rgba ( 0 , 0 , 0 , 0 . 24 ) ;
}
. kg-player-container input [ type = "range" ] : active :: -webkit-slider-thumb {
transform : scale ( 1 . 2 ) ;
}
2021-12-09 19:22:51 +03:00
/* Player Firefox styles */
2021-12-07 22:13:23 +03:00
. kg-player-container input [ type = "range" ] :: -moz-range-track {
width : 100 % ;
height : 4px ;
cursor : pointer ;
2021-12-14 11:37:39 +03:00
background : rgba ( 124 , 139 , 154 , 0 . 3 ) ;
2021-12-07 22:13:23 +03:00
border-radius : 2px ;
}
. kg-player-container input [ type = "range" ] :: -moz-range-progress {
background : currentColor ;
border-radius : 2px ;
}
. kg-player-container input [ type = "range" ] :: -moz-range-thumb {
box-sizing : content-box ;
2021-12-14 13:49:33 +03:00
width : 13px ;
height : 13px ;
2021-12-07 22:13:23 +03:00
border : 0 ;
cursor : pointer ;
background : # fff ;
border-radius : 50 % ;
box-shadow : 0 0 0 1px rgba ( 0 , 0 , 0 , . 08 ) , 0 1px 4px rgba ( 0 , 0 , 0 , 0 . 24 ) ;
}
. kg-player-container input [ type = "range" ] : active :: -moz-range-thumb {
transform : scale ( 1 . 2 ) ;
}
2021-12-09 19:22:51 +03:00
/* Player Edge & IE styles */
2021-12-07 22:13:23 +03:00
. kg-player-container input [ type = "range" ] :: -ms-track {
width : 100 % ;
height : 3px ;
border : solid transparent ;
color : transparent ;
cursor : pointer ;
background : transparent ;
}
. kg-player-container input [ type = "range" ] :: -ms-fill-lower {
background : # fff ;
}
. kg-player-container input [ type = "range" ] :: -ms-fill-upper {
background : currentColor ;
}
. kg-player-container input [ type = "range" ] :: -ms-thumb {
box-sizing : content-box ;
2021-12-14 13:49:33 +03:00
width : 13px ;
height : 13px ;
2021-12-07 22:13:23 +03:00
border : 0 ;
cursor : pointer ;
background : # fff ;
border-radius : 50 % ;
box-shadow : 0 0 0 1px rgba ( 0 , 0 , 0 , . 08 ) , 0 1px 4px rgba ( 0 , 0 , 0 , 0 . 24 ) ;
}
. kg-player-container input [ type = "range" ] : active :: -ms-thumb {
transform : scale ( 1 . 2 ) ;
2021-12-08 18:34:25 +03:00
2021-12-07 22:13:23 +03:00
}
2019-02-24 07:19:06 +03:00
/ * Codemirror overrides
/* --------------------------------------------------------------- */
. koenig-editor . CodeMirror pre {
2019-04-30 17:46:29 +03:00
font-size : 1 . 6rem ;
2019-02-24 07:19:06 +03:00
white-space : pre ;
}
. koenig-editor . CodeMirror-wrap pre {
white-space : pre-wrap ;
}
. koenig-card-html--editor . CodeMirror {
min-height : 170px ;
padding : 0 ;
overflow : auto ;
background-color : # ffffff ;
}
2019-04-30 17:46:29 +03:00
. koenig-card-code--editor . CodeMirror {
2021-02-10 16:17:01 +03:00
background : color-mod ( var ( --whitegrey ) lightness ( + 4 % ) ) ;
2019-04-30 17:46:29 +03:00
}
2019-02-24 07:19:06 +03:00
. koenig-card-html--editor . CodeMirror : hover {
cursor : text ;
}
. koenig-card-html--editor . CodeMirror-scroll {
min-height : 170px ;
overflow : hidden ! important ;
margin-right : 0 ;
}
. koenig-editor . gh-markdown-editor . CodeMirror {
min-height : 130px ;
/* margin to account for absolutely positioned toolbar */
margin-bottom : 49px ;
}
. koenig-editor . gh-markdown-editor . CodeMirror-scroll {
min-height : 130px ;
}
/ * 1 . 0 Markdown editor overrides
/* --------------------------------------------------------------- */
. koenig-editor . gh-markdown-editor {
position : static ;
overflow : visible ;
padding-top : 2px ;
}
. koenig-editor . gh-markdown-editor . editor-toolbar {
display : flex ;
position : absolute ;
bottom : 0 ;
left : 0 ;
right : 0 ;
border-left : none ;
border-right : none ;
border-radius : 0 0 . 4rem . 4rem ;
2021-12-14 21:49:29 +03:00
z-index : 99999 ;
2019-02-24 07:19:06 +03:00
background-color : # fff ;
opacity : 1 ;
padding : 6px ;
border-top : 1px solid # E5EFF5 ;
}
. koenig-editor . gh-markdown-editor . editor-toolbar . fa-check {
margin-left : auto ;
}
. koenig-editor . gh-markdown-editor . editor-toolbar . separator : last-of-type {
display : none ;
}
2021-09-03 12:45:29 +03:00
/ * Special Koenig styles
/* --------------------------------------------------------------- */
. koenig-gallery-trash-icon {
width : 16px ;
height : 16px ;
}
. koenig-gallery-trash-icon path {
fill : # 15171A ;
}
2019-02-24 07:19:06 +03:00
/ * Mobiledoc-kit base styles
/ * NOTE : adapted from https : / / github . com / bustle / mobiledoc-kit / blob / master / src / css / mobiledoc-kit . css
/* --------------------------------------------------------------- */
. __mobiledoc-editor {
position : relative ;
resize : none ;
min-height : 1em ;
}
. __mobiledoc-editor : focus {
outline : none ;
}
. __mobiledoc-editor > * {
position : relative ;
}
. __mobiledoc-editor i {
display : inline ;
}
. __mobiledoc-card {
display : inline-block ;
width : 100 % ;
}
. __mobiledoc-editor . __has-no-content : after {
min-width : 100 % ;
content : attr ( data-placeholder ) ;
cursor : text ;
position : absolute ;
top : 0 ;
left : 0 ;
color : var ( --midlightgrey ) ;
2021-12-16 20:22:08 +03:00
}