diff --git a/assets/css/app.scss b/assets/css/app.scss index 3e52b9f..8b6417b 100644 --- a/assets/css/app.scss +++ b/assets/css/app.scss @@ -124,28 +124,28 @@ pre[class*="language-"] { // border-radius: 10px; // } // -// .captcha_reload { -// width: 50px !important; -// padding-left: 50px; -// height: 50px; -// overflow: hidden; -// display: inline-block; -// margin-bottom: -19px; -// -// &:active, &:focus { -// background: none; -// } -// -// &::after { -// content: ' '; -// display: block; -// width: 50px; -// height: 50px; -// margin-left: -50px; -// margin-top: -23px; -// background: url(../images/Refresh_icon.svg); -// } -// } +.captcha_reload { + width: 50px !important; + padding-left: 50px; + height: 50px; + overflow: hidden; + display: inline-block; + margin-bottom: -19px; + + &:active, &:focus { + background: none; + } + + &::after { + content: ' '; + display: block; + width: 50px; + height: 50px; + margin-left: -50px; + margin-top: -23px; + background: url(../images/Refresh_icon.svg); + } +} // // &-captcha { // label { @@ -303,13 +303,7 @@ pre[class*="language-"] { padding: 30px 40px; margin: auto; text-align: center; - background: rgba(255, 255, 255, 0.06); - animation: morph 15s linear infinite alternate, spin 20s linear infinite; z-index: 1000; - will-change: border-radius, transform; - transform-origin: 55% 55%; - animation: HeaderMorph 10s linear infinite alternate, spin 26s linear infinite reverse; - transform-origin: 20% 20%; } .header-shadow { @@ -359,7 +353,7 @@ pre[class*="language-"] { color: $color-header-text; p, h1, ul { - position: relative; + position: relative !important; z-index: 1000; } @@ -512,6 +506,10 @@ pre[class*="language-"] { img { width: auto; } + + *:first-child { + margin-top: 0; + } } @for $i from 1 through 6 { @@ -524,10 +522,9 @@ pre[class*="language-"] { .review { width: 100%; - .review-avatar { - display: inline-block; + .review-avatar, .review-avatar img { width: 60px; - margin-right: 10px; + max-width: 60px; } &.review--post { @@ -1196,7 +1193,7 @@ $links: ( background: #343c53; } - .body { + .body, .review-body { a:not(.button), h1, h2, h3, h4, h5, p, ul { color: #fff; } @@ -1218,6 +1215,11 @@ $links: ( background: #242b3d; } + .content hr, .content .hr { + background: none; + border-color: darken($color-wide-menu-background-to, 10%) !important; + } + .header-shadow { background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(255,255,255,0) 100%); } diff --git a/assets/css/app/config.scss b/assets/css/app/config.scss index fd8202f..d6f2d07 100644 --- a/assets/css/app/config.scss +++ b/assets/css/app/config.scss @@ -41,3 +41,7 @@ $color-code-mark-background: $color-light-blue; $color-code-title-background: #3c3c3c; $color-code-title-text: #999; /* --- */ + +:root { + --p: 195 77% 41%; +} diff --git a/assets/css/app/typo.scss b/assets/css/app/typo.scss index 1359d96..f30e27b 100644 --- a/assets/css/app/typo.scss +++ b/assets/css/app/typo.scss @@ -15,35 +15,35 @@ // margin-top: 0 // } // -// .h1, h1 { -// font-size: 3.6rem; -// line-height: 1.3 -// } -// -// .h2, h2 { -// font-size: 3rem; -// line-height: 1.35 -// } -// -// .h3, h3 { -// font-size: 2.4rem; -// line-height: 1.45 -// } -// -// .h4, h4 { -// font-size: 1.8rem; -// line-height: 1.6 -// } -// -// .h5, h5 { -// font-size: 1.4rem; -// line-height: 1.75 -// } -// -// .h6, h6 { -// font-size: 1.2rem; -// line-height: 1.9 -// } +.h1, h1 { + font-size: 3.2rem; + line-height: 1.32 +} + +.h2, h2 { + font-size: 2.6rem; + line-height: 1.35 +} + +.h3, h3 { + font-size: 2.0rem; + line-height: 1.45 +} + +.h4, h4 { + font-size: 1.4rem; + line-height: 1.6 +} + +.h5, h5 { + font-size: 1.1rem; + line-height: 1.75 +} + +.h6, h6 { + font-size: 1.0rem; + line-height: 1.9 +} // // p { // margin-top: 17px; diff --git a/tailwind.config.js b/tailwind.config.js index 86a591c..42d8cd2 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -5,13 +5,17 @@ module.exports = { "./templates/**/*.html.twig", ], theme: { - extend: {}, + extend: { + }, }, plugins: [ require("daisyui"), require('@tailwindcss/typography'), ], daisyui: { - themes: ["dark"], + themes: [ + "light", + "dark", + ], }, } diff --git a/templates/bot/form_without_javascript.html.twig b/templates/bot/form_without_javascript.html.twig index a72110a..beec9ad 100644 --- a/templates/bot/form_without_javascript.html.twig +++ b/templates/bot/form_without_javascript.html.twig @@ -31,7 +31,7 @@ {% endfor %} - + diff --git a/templates/editorjs/link.html.twig b/templates/editorjs/link.html.twig index 607400e..fde875d 100644 --- a/templates/editorjs/link.html.twig +++ b/templates/editorjs/link.html.twig @@ -3,7 +3,7 @@