deblan.io-murph/assets/css/app.scss

1384 lines
22 KiB
SCSS
Raw Permalink Normal View History

2022-09-25 18:06:39 +02:00
@tailwind base;
@tailwind components;
@tailwind utilities;
2022-09-25 20:43:24 +02:00
@import "app/config";
@import 'app/prism';
@import "app/typo";
2022-10-01 10:53:04 +02:00
@import "~tingle.js/src/tingle.css";
2022-09-25 20:43:24 +02:00
@font-face {
2022-09-11 20:31:01 +02:00
font-family: "MainFont";
2022-09-11 13:46:32 +02:00
src:
2022-09-11 20:46:29 +02:00
url('../fonts/ubuntu/ubuntu-light.woff2?20211108') format('woff2'),
url('../fonts/ubuntu/ubuntu-light.woff?20211108') format('woff');
// url('../fonts/atkinson/WOFF2/Atkinson-Hyperlegible-Regular-102a.woff2?20220911') format('woff2'),
// url('../fonts/atkinson/WOFF/Atkinson-Hyperlegible-Regular-102.woff?20211108w20220911') format('woff');
}
@font-face {
2022-09-11 20:31:01 +02:00
font-family: "deblan-icon";
2022-09-11 13:46:32 +02:00
src: url('../fonts/deblan/deblan-icon.eot?20211108');
src:
url('../fonts/deblan/deblan-icon.woff2?20211108') format('woff2'),
url('../fonts/deblan/deblan-icon.woff?20211108') format('woff'),
url('../fonts/deblan/deblan-icon.ttf?20211108') format('truetype');
2022-09-11 13:46:32 +02:00
font-style: normal;
font-weight: normal;
text-rendering: optimizeLegibility;
}
@mixin make-pre {
2022-10-09 16:20:48 +02:00
padding: 10px 1em;
2022-09-11 13:46:32 +02:00
border: 1px solid $color-code-border;
overflow: auto;
background: $color-code-background;
color: $color-code-text;
2022-10-09 16:20:48 +02:00
font-size: 1em;
box-shadow: 1px 1px .5em black inset;
border-radius: 15px;
}
@mixin make-pre-code {
2022-09-11 13:46:32 +02:00
color: $color-code-text;
display: inline-block;
max-width: 100%;
}
html, body {
2022-09-11 13:46:32 +02:00
scroll-behavior: smooth;
}
2021-11-22 23:35:39 +01:00
body {
2022-09-25 18:06:39 +02:00
// font-size: 1.7em;
2021-11-22 23:35:39 +01:00
}
2022-03-04 23:56:59 +01:00
$dicons: coffee server search project share contact list response twitter diaspora github code rss linkedin mastodon pixelfed gpg matrix murph cube link;
2021-06-05 19:11:51 +02:00
.d-none {
2022-09-11 13:46:32 +02:00
display: none;
2021-06-05 19:11:51 +02:00
}
2022-09-21 10:55:43 +02:00
.text-right {
text-align: right;
}
2022-09-25 20:43:24 +02:00
.list--inline {
li {
display: inline-block;
}
}
.deblan-icon {
2022-09-11 13:46:32 +02:00
font-family: 'deblan-icon';
vertical-align: middle;
2022-09-11 13:46:32 +02:00
@each $dicon in $dicons {
&-#{$dicon}::before {
content: "#{$dicon}";
}
2022-09-11 13:46:32 +02:00
}
}
2021-04-05 21:28:25 +02:00
.deblan-icon-svg svg {
2022-09-11 13:46:32 +02:00
vertical-align: middle;
margin-top: -4px;
margin-right: 3px;
2021-04-05 21:28:25 +02:00
}
.button .deblan-icon {
2022-09-11 13:46:32 +02:00
margin-right: 5px;
margin-left: -3px;
}
li, p {
2022-09-11 13:46:32 +02:00
-webkit-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
-o-hyphens: auto;
hyphens: auto;
}
code mark {
2022-09-11 13:46:32 +02:00
color: inherit;
background: $color-code-mark-background;
}
a:focus .logo-svg * {
2022-09-11 13:46:32 +02:00
fill: $color-grey;
}
2021-04-09 12:58:48 +02:00
pre[class*="language-"] {
2022-10-09 15:34:29 +02:00
border-radius: 15px !important;
&.with-title {
border-top-left-radius: 0 !important;
border-top-right-radius: 0 !important;
}
2021-04-09 12:58:48 +02:00
}
2022-09-25 20:43:24 +02:00
.blog {
2022-09-11 13:46:32 +02:00
min-height: 100vh;
background: $color-white;
font-family: "MainFont";
}
2022-09-25 20:43:24 +02:00
// .form .field {
// input[type=text],
// input[type=email],
// input[type=url],
// textarea {
// border-radius: 10px;
// }
//
2022-09-27 20:30:16 +02:00
2022-10-01 10:53:04 +02:00
.tingle-modal-box--mesh {
.tingle-modal-box__content {
padding: 0;
line-height: 0;
iframe {
margin: 0;
padding: 0;
height: 90vh;
width: 100%;
}
}
}
2022-09-27 20:30:16 +02:00
.captcha_image {
margin-bottom: 5px;
}
2022-09-25 22:50:37 +02:00
.captcha_reload {
width: 50px !important;
padding-left: 50px;
height: 50px;
overflow: hidden;
display: inline-block;
2022-09-27 20:30:16 +02:00
margin-bottom: -19px;i
2022-09-25 22:50:37 +02:00
&:active, &:focus {
background: none;
}
&::after {
content: ' ';
display: block;
width: 50px;
height: 50px;
margin-left: -50px;
margin-top: -23px;
background: url(../images/Refresh_icon.svg);
}
}
2022-09-25 20:43:24 +02:00
//
// &-captcha {
// label {
// display: block;
// }
//
// img {
// vertical-align: middle;
// margin-right: 5px;
// border-radius: 10px;
// width: auto;
// }
//
// input {
// display: inline-block;
// width: 100px !important;
// height: 50px !important;
// margin-bottom: -1px;
// margin-left: 5px;
// }
//
// .form-error-icon {
// display: none;
// }
//
// .form-error-message {
// display: block;
// color: red;
// }
// }
// }
2021-11-22 23:40:45 +01:00
2022-09-25 18:06:39 +02:00
// .button, .btn, input[type="submit"], input[type="button"] {
// border-radius: 10px;
// }
2021-11-22 23:40:45 +01:00
.no-margin {
2022-09-11 13:46:32 +02:00
margin: 0;
}
2022-03-18 15:03:37 +01:00
.avatar {
2022-09-11 13:46:32 +02:00
width: 50%;
2022-03-18 15:03:37 +01:00
}
.navigation {
2022-09-11 13:46:32 +02:00
font-size: 15px;
margin-top: 15px;
.deblan-icon {
margin-right: 13px;
color: $color-very-light-grey;
background: darken($color-navigation-item-background, 3%);
border-radius: 6px;
padding: 5px;
}
ul {
margin: 0;
padding: 0;
list-style: none;
}
2022-09-11 13:46:32 +02:00
li {
padding: 0;
}
2022-09-11 13:46:32 +02:00
a {
color: $color-white;
display: block;
padding: 12px 15px;
2022-09-11 13:46:32 +02:00
&:hover, &.active, &:focus {
background: $color-navigation-item-background-active;
2022-04-20 22:21:00 +02:00
2022-09-11 13:46:32 +02:00
.deblan-icon {
background: $color-navigation-item-background-active;
}
}
2022-09-11 13:46:32 +02:00
}
}
.small-menu {
2022-09-11 13:46:32 +02:00
$radius: 8px;
background: $color-small-menu-background;
padding: 0 0 5px 0;
position: fixed;
bottom: 0;
width: 100%;
z-index: 2000;
border-top-right-radius: $radius + 5;
border-top-left-radius: $radius + 5;
.navigation {
padding-top: 0;
margin-bottom: 10px;
margin-top: 0;
max-height: 0;
overflow: hidden;
transition: max-height 0.8s ease-in-out;
2022-09-11 13:46:32 +02:00
li {
&:first-child, &:first-child a {
border-top-right-radius: $radius;
border-top-left-radius: $radius;
}
}
2022-09-11 13:46:32 +02:00
}
2022-09-11 13:46:32 +02:00
&.is-open .navigation {
max-height: 800px;
transition: max-height 0.8s ease-in-out;
}
2022-04-20 23:39:12 +02:00
2022-09-11 13:46:32 +02:00
.logo-svg {
margin-left: 10px;
margin-top: 13px;
}
}
.wide-menu {
2022-09-11 13:46:32 +02:00
width: 230px;
background: linear-gradient(to bottom, $color-wide-menu-background-from 0%, $color-wide-menu-background-to 500px);
padding: 10px 0;
min-height: calc(100vh - 130px);
}
@keyframes gradientBackground {
2022-09-11 13:46:32 +02:00
0% {
background-position: 0 0%;
}
50% {
background-position: 0 75%;
}
100% {
background-position: 0 0%;
}
}
.header {
2023-01-16 20:25:38 +01:00
background: linear-gradient(45deg, $color-header-background-step0 0%, $color-header-background-step1 29%, $color-header-background-step2 66%, $color-header-background-step3 100%);
2022-09-11 13:46:32 +02:00
background-size: 400% 400%;
animation: HeaderGradient 15s ease infinite;
display: flex;
flex-direction: column;
align-items: stretch;
justify-content: space-evenly;
overflow: hidden;
position: relative;
text-shadow: 0px 0px 6px #274298;
}
2021-11-22 23:18:54 +01:00
.header-wrapper {
2022-09-11 13:46:32 +02:00
max-width: $content-max-width;
padding: 30px 40px;
margin: auto;
text-align: center;
2022-09-11 15:07:57 +02:00
z-index: 1000;
2022-12-29 13:43:36 +01:00
p, ul {
background: rgba(255, 255, 255, 0.7);
padding: 7px 15px;
border-radius: 20px;
text-shadow: none;
color: #333;
display: inline-block;
margin: auto;
}
2022-09-11 13:46:32 +02:00
}
2022-09-11 15:51:51 +02:00
.header-shadow {
width: 100%;
height: 10px;
2022-12-29 13:43:36 +01:00
background: rgb(0, 0, 0);
2022-09-11 15:51:51 +02:00
background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(255,255,255,0) 100%);
}
2022-09-11 13:46:32 +02:00
@keyframes HeaderGradient {
0% {
background-position: 0 50%
}
50% {
background-position: 100% 50%
}
100% {
background-position: 0 50%
}
}
@keyframes HeaderMorph {
0% {
border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%;
}
100% {
border-radius: 40% 60%;
}
2021-11-22 23:18:54 +01:00
}
.fixed-menu {
2022-09-11 13:46:32 +02:00
position: fixed;
width: 230px;
}
.content {
2022-09-25 20:43:24 +02:00
background: $color-content-background;
2022-09-11 13:46:32 +02:00
width: calc(100% - 230px);
2022-09-25 20:43:24 +02:00
> .content-wrapper {
min-height: calc(100vh - 105px);
}
2022-09-25 22:56:33 +02:00
img {
display: inline;
height: inherit;
2022-09-25 22:58:08 +02:00
width: inherit;
2022-09-25 22:56:33 +02:00
}
}
.header {
2022-09-11 13:46:32 +02:00
color: $color-header-text;
2022-09-11 13:46:32 +02:00
p, h1, ul {
2022-09-25 22:50:37 +02:00
position: relative !important;
2022-09-11 13:46:32 +02:00
z-index: 1000;
}
2022-09-11 13:46:32 +02:00
#particles {
width: 100%;
top: 0;
overflow: hidden;
position: absolute;
z-index: 50;
}
2022-09-11 13:46:32 +02:00
.h1 {
font-weight: normal;
font-size: 40px;
2024-04-18 22:48:19 +02:00
font-family: MainFont;
2024-01-27 19:47:49 +01:00
text-shadow: none;
color: hsla(0, 0%, 100%, 0.7);
2022-09-11 13:46:32 +02:00
}
2022-09-11 13:46:32 +02:00
.h3 {
font-size: 17px;
font-weight: normal;
}
2022-09-11 13:46:32 +02:00
a {
2022-12-29 13:43:36 +01:00
// color: $color-header-text !important;
color: #222;
font-weight: bold;
2022-09-11 13:46:32 +02:00
&:focus {
2022-12-29 13:43:36 +01:00
// color: $color-blue !important;
// background: $color-white;
text-decoration: underline;
}
2022-09-11 13:46:32 +02:00
}
2022-10-20 12:09:11 +02:00
li {
padding-left: 5px;
padding-right: 5px;
}
}
.body {
2022-09-11 13:46:32 +02:00
padding: 25px 40px;
max-width: $content-max-width;
width: 100%;
2022-09-09 20:10:51 +02:00
2022-09-11 13:46:32 +02:00
&.body--posts {
padding-top: 0;
padding-bottom: 0;
}
2022-09-09 20:10:51 +02:00
2022-09-11 13:46:32 +02:00
margin-left: auto;
margin-right: auto;
2022-09-11 13:46:32 +02:00
iframe {
margin-bottom: 25px;
border: none;
}
2022-09-11 13:46:32 +02:00
img {
2022-09-25 23:00:14 +02:00
width: inherit;
2022-09-11 13:46:32 +02:00
cursor: zoom-in;
}
2022-09-11 23:18:54 +02:00
a > img {
cursor: pointer;
}
2023-01-05 19:53:34 +01:00
a:not(.button), h1, h2, h3, h4, h5, p, ul:not(.btn-group) {
2022-09-11 13:46:32 +02:00
color: $color-body-text;
}
2023-01-05 19:53:34 +01:00
ul.btn-group a {
color: #fff;
}
2023-02-19 19:04:38 +01:00
p a:not(.btn), ul:not(.btn-group) a:not(.btn) {
2023-01-16 21:54:17 +01:00
background: url('../images/link.svg') bottom left repeat-x;
padding-bottom: 5px;
2022-09-11 13:46:32 +02:00
}
2022-09-11 13:46:32 +02:00
.pager a {
border-bottom: 0;
}
2022-02-04 09:52:23 +01:00
2022-09-11 13:46:32 +02:00
blockquote {
border-left: 2px solid $color-blockquote-border;
margin: 10px;
padding: 5px 20px;
2022-09-11 13:46:32 +02:00
p {
margin: 0;
padding: 0;
}
2022-09-11 13:46:32 +02:00
}
2022-09-11 13:46:32 +02:00
code {
color: $code-color;
2023-01-16 20:36:57 +01:00
font-size: 1.1em;
2022-09-11 13:46:32 +02:00
}
2022-04-21 11:40:17 +02:00
2022-09-11 13:46:32 +02:00
pre {
@include make-pre;
2022-04-21 11:40:17 +02:00
2022-09-11 13:46:32 +02:00
code {
@include make-pre-code;
}
2022-04-21 11:40:17 +02:00
2022-09-11 13:46:32 +02:00
&.with-title {
margin-top: 0;
border-top-right-radius: 0;
border-top-left-radius: 0;
}
2022-04-21 11:40:17 +02:00
2022-09-11 13:46:32 +02:00
&[class*="language-"] {
padding-bottom: 10px;
padding-top: 10px;
2022-10-09 15:34:29 +02:00
border: 1px solid $color-code-border;
2022-10-23 15:06:15 +02:00
// overflow: hidden;
//
// &:hover {
// overflow: auto;
// }
2022-04-21 11:40:17 +02:00
}
2022-09-11 13:46:32 +02:00
}
}
2023-08-19 18:23:20 +02:00
.post-author-wrapper {
.post-author-avatar {
vertical-align: top;
width: 100px;
padding: 10px;
display: inline-block;
}
.post-author {
display: inline-block;
width: calc(100% - 100px);
padding: 10px 10px 10px 30px;
}
@media screen and (max-width: 774px) {
.post-author-avatar {
display: block;
margin: auto;
}
.post-author {
display: block;
width: 100%;
padding-right: 20px;
}
}
}
2022-04-05 13:45:39 +02:00
.content hr, .content .hr {
2022-09-11 13:46:32 +02:00
border: 0;
border-bottom: 1px dashed $color-hr-border;
background: $color-hr-background;
max-width: 300px;
margin: 20px auto;
}
.reviews {
2022-09-11 13:46:32 +02:00
padding: 0 40px;
max-width: $content-max-width;
margin-left: auto;
margin-right: auto;
2022-09-11 13:46:32 +02:00
hr:first-child {
margin-bottom: 30px;
}
2022-09-11 13:46:32 +02:00
blockquote {
border-left: 2px solid $color-blockquote-border;
margin: 10px;
padding: 5px 20px;
2022-09-11 13:46:32 +02:00
p {
margin: 0;
padding: 0;
}
2022-09-11 13:46:32 +02:00
}
}
.review-body {
2022-09-11 13:46:32 +02:00
code {
color: $code-color;
}
2022-09-11 13:46:32 +02:00
pre {
@include make-pre;
2022-09-11 13:46:32 +02:00
code {
@include make-pre-code;
}
2022-09-11 13:46:32 +02:00
}
2021-04-08 20:28:28 +02:00
2022-09-11 13:46:32 +02:00
img {
width: auto;
}
2022-09-25 22:50:37 +02:00
*:first-child {
margin-top: 0;
}
}
@for $i from 1 through 6 {
2022-09-11 13:46:32 +02:00
.review.offset-#{$i} {
margin-left: 5% * $i - 1%;
width: 100% - ($i * 5%);
}
}
.review {
2022-09-11 13:46:32 +02:00
width: 100%;
2023-05-22 18:05:31 +02:00
max-width: calc($content-max-width - 60px - 2rem);
overflow: auto;
2022-09-25 22:50:37 +02:00
.review-avatar, .review-avatar img {
2022-09-11 13:46:32 +02:00
width: 60px;
2022-09-25 22:50:37 +02:00
max-width: 60px;
2022-09-11 13:46:32 +02:00
}
2022-09-11 19:46:04 +02:00
&.review--post {
padding-top: 15px;
padding-left: 15px;
padding-right: 15px;
margin-bottom: 15px;
border-radius: 10px;
border: 1px solid $color-hr-border;
.review-content p {
margin-top: 0;
}
> ul {
padding-bottom: 0;
}
2022-09-11 18:50:04 +02:00
}
2022-09-11 13:46:32 +02:00
.review-content {
display: inline-block;
width: calc(100% - 75px);
}
2022-09-11 13:46:32 +02:00
ul {
margin: 0;
padding: 0 0 25px 0;
}
2022-09-11 13:46:32 +02:00
a svg {
display: inline-block;
height: 21px;
width: 15px;
vertical-align: middle;
margin-right: 3px;
}
2022-09-11 13:46:32 +02:00
.review-header {
border-bottom: 1px solid $color-very-light-grey;
padding-bottom: 5px;
margin-bottom: 5px;
color: $color-dark-grey;
2022-09-11 13:46:32 +02:00
.review-anchor-link {
color: $color-dark-grey;
}
2022-09-11 13:46:32 +02:00
}
2022-09-11 13:46:32 +02:00
.review-body {
color: $color-dark-grey;
margin-bottom: 10px;
2022-09-11 13:46:32 +02:00
ul {
margin: 0 !important;
padding: 0 0 10px 10px !important;
}
2022-09-11 13:46:32 +02:00
li {
list-style: disc;
margin: 0 0 0 15px;
padding: 0;
}
2022-09-11 13:46:32 +02:00
}
}
.code-title {
2022-09-11 13:46:32 +02:00
background: $color-code-title-background;
2022-10-09 16:05:28 +02:00
padding: 0 15px;
2022-09-11 13:46:32 +02:00
color: $color-code-title-text;
2022-10-09 16:05:28 +02:00
line-height: 50px;
border-top-left-radius: 1rem;
border-top-right-radius: 1rem;
}
2022-02-07 14:14:36 +01:00
.code-window {
2022-10-09 15:34:29 +02:00
height: 50px;
2022-09-11 13:46:32 +02:00
background: $color-code-title-background url('../images/window.svg') no-repeat center right;
padding-left: 15px;
font-family: Monospace;
color: #ccc;
2022-10-09 15:34:29 +02:00
line-height: 50px;
border-top-left-radius: 1rem;
border-top-right-radius: 1rem;
2022-02-07 14:14:36 +01:00
}
.body-content {
2022-09-11 13:46:32 +02:00
line-height: 30px;
2022-09-25 20:43:24 +02:00
ul {
list-style: initial;
}
}
2022-09-21 10:55:43 +02:00
.quick {
$image-size: 250px;
.ejs-link--anchor--with-image .ejs-link-content {
width: calc(100% - $image-size - 5px);
2022-09-11 13:46:32 +02:00
}
2022-09-21 10:55:43 +02:00
.ejs-link--image {
width: $image-size;
height: $image-size;
}
2022-09-11 13:46:32 +02:00
2022-09-21 10:55:43 +02:00
&-image {
img {
width: 100%;
height: 450px;
background-position: center center;
background: #f2f2f2 url('../images/quick-post-load.png') no-repeat center center;
2022-10-01 10:39:52 +02:00
// border: 2px solid $color-very-light-grey;
2022-09-21 10:55:43 +02:00
border-bottom: 0;
cursor: pointer;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
}
&-video {
.video-ratio {
2022-10-01 10:39:52 +02:00
// border: 2px solid $color-very-light-grey;
// border-bottom: 0;
// border-top-left-radius: 5px;
// border-top-right-radius: 5px;
2022-09-21 10:55:43 +02:00
iframe {
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
}
2022-09-11 13:46:32 +02:00
}
2022-09-21 10:55:43 +02:00
&-more {
margin-bottom: 15px;
}
&-body {
word-break: break-all;
}
}
.video-ratio {
2022-09-11 13:46:32 +02:00
position: relative;
width: 100%;
height: 0;
2022-09-11 13:46:32 +02:00
iframe {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
}
}
.error_list {
2022-09-11 13:46:32 +02:00
color: $color-red !important;
padding: 4px 0 !important;
}
2022-10-08 20:11:19 +02:00
.post-author {
p:not(:last-child) {
margin-bottom: 20px;
}
}
.content-footer {
2022-09-11 13:46:32 +02:00
font-size: 14px;
background: darken($color-dark-grey, 10%);
text-align: center;
border-top: 1px dotted $color-very-dark-grey;
color: $color-white;
padding-top: 20px;
padding-bottom: 20px;
a {
font-weight: bold;
color: $color-white;
2022-09-11 13:46:32 +02:00
}
2022-09-11 13:46:32 +02:00
ul {
margin: 0;
padding: 0 0 10px 0;
}
2022-09-11 13:46:32 +02:00
li {
padding: 0;
margin: 0;
2022-09-11 13:46:32 +02:00
&::after {
content: '-';
margin: 0 5px;
}
2022-09-11 13:46:32 +02:00
&:last-child::after {
display: none;
}
2022-09-11 13:46:32 +02:00
}
p {
margin-bottom: 0;
margin-top: 10px;
padding: 0;
}
}
.links {
2022-09-11 13:46:32 +02:00
margin: 0;
padding: 15px 0 0 0;
text-align: center;
2022-09-18 23:52:15 +02:00
.link:first-child a, .link:first-child {
border-bottom-left-radius: 7px;
border-top-left-radius: 7px;
}
.link:last-child a, .link:last-child {
border-bottom-right-radius: 7px;
border-top-right-radius: 7px;
}
}
.link {
2022-09-11 20:31:01 +02:00
margin: 0 1px;
2022-09-11 13:46:32 +02:00
display: inline-block;
2022-11-13 19:08:22 +01:00
text-decoration: none;
2022-09-11 13:46:32 +02:00
a {
display: block;
2022-09-18 23:52:15 +02:00
font-size: 17px;
2022-09-11 13:46:32 +02:00
padding-top: 1px;
2022-09-18 23:52:15 +02:00
padding-right: 0px;
height: 25px;
width: 25px;
2022-09-11 13:46:32 +02:00
overflow: hidden;
color: $color-white;
2022-09-25 20:43:24 +02:00
text-decoration: none;
2022-09-11 13:46:32 +02:00
span {
display: none;
}
2022-09-11 13:46:32 +02:00
}
}
.links a:focus, .wide-menu a:focus .fixed {
2022-09-11 13:46:32 +02:00
border: 1px solid $color-white;
}
$links: (
2022-09-11 13:46:32 +02:00
twitter: #20b8ff,
rss: #fd9f13,
linkedin: #006699,
diaspora: #90b92e,
github: #8cc345,
code: #51d066,
mastodon: #2984d2,
pixelfed: #e72151,
matrix: #1a588a,
gpg: #42a73b,
murph: #19b4db
);
@each $site, $bg in $links {
2022-09-11 13:46:32 +02:00
.link-#{$site} {
2022-09-11 20:31:01 +02:00
background-color: $bg;
2022-09-11 13:46:32 +02:00
&:hover a, &:focus a, a:focus, a:hover {
color: $color-very-light-grey;
}
2022-09-11 13:46:32 +02:00
}
}
.preview-button {
2022-09-11 13:46:32 +02:00
cursor: pointer;
margin-left: 3px;
}
.content-footer, .body, .review, form {
2022-09-11 13:46:32 +02:00
a:focus {
background: $color-blue;
color: $color-white;
}
}
.button {
2022-09-11 13:46:32 +02:00
&:focus {
background: $color-very-dark-grey;
}
2021-10-20 14:32:34 +02:00
2022-09-11 13:46:32 +02:00
&.alt {
color: #444;
}
}
2022-09-25 18:06:39 +02:00
// .button, .btn, input[type="submit"], input[type="button"] {
// background: $color-blue;
// }
//
// .button:hover, .btn:hover, input:hover[type="submit"], input:hover[type="button"] {
// background: $color-blue2;
// }
//
// .button:focus, .btn:focus, input:focus[type="submit"], input:focus[type="button"] {
// background: $color-blue2;
// }
2022-09-25 20:43:24 +02:00
//
// .pager {
// padding: 20px 20px 0 20px;
// text-align: center;
//
// .pager-page {
// padding: 0 2px 2px 2px;
//
// &.active {
// .button {
// color: #000;
// font-weight: bold;
// }
// }
// }
//
// .button {
// padding: 8px;
// }
// }
.pager {
2022-09-11 13:46:32 +02:00
text-align: center;
2022-09-25 20:43:24 +02:00
.btn-md {
padding-left: 0;
padding-right: 0;
2022-09-25 20:43:24 +02:00
a {
display: block;
padding-left: 1rem;
padding-right: 1rem;
line-height: 3rem;
}
2022-09-11 13:46:32 +02:00
}
2022-09-25 20:43:24 +02:00
}
2023-01-15 15:39:51 +01:00
.card {
transition: transform .2s;
&:hover {
transform: scale(1.02);
2022-09-25 20:43:24 +02:00
}
2022-09-11 13:46:32 +02:00
2023-01-15 15:39:51 +01:00
figure {
a {
display: block;
width: 100%;
}
img {
height: 200px;
width: 100%;
}
2022-09-11 13:46:32 +02:00
}
}
@keyframes bounceIn {
2022-09-11 13:46:32 +02:00
0%{
opacity: 0;
}
50%{
opacity: 0.9;
}
80%{
opacity: 1;
}
100%{
opacity: 1;
}
}
@keyframes knmc {
2022-09-11 13:46:32 +02:00
0%{
left: -256px;;
}
100%{
left: 150vw;
}
}
.knmc {
2022-09-11 13:46:32 +02:00
animation-name: knmc;
animation-duration: 15s;
animation-iteration-count: 1;
}
.logo-svg {
2022-09-11 13:46:32 +02:00
animation-name: bounceIn;
animation-duration: 1s;
}
.logo-svg {
2022-09-11 13:46:32 +02:00
animation-name: bounceIn;
animation-duration: 1s;
}
2021-07-09 23:42:38 +02:00
.modal-open {
2022-09-11 13:46:32 +02:00
overflow: hidden;
2021-07-09 23:42:38 +02:00
2022-09-11 13:46:32 +02:00
.modal {
overflow-x: hidden;
overflow-y: auto;
}
2021-07-09 23:42:38 +02:00
}
2022-09-25 18:06:39 +02:00
.modal-mesh {
iframe {
margin: 0;
2022-09-11 13:46:32 +02:00
padding: 0;
2022-09-25 18:06:39 +02:00
height: 80vh;
width: 100%;
2022-09-11 13:46:32 +02:00
}
2021-07-09 23:42:38 +02:00
}
2022-09-25 18:06:39 +02:00
// .card {
// border: 1px solid $color-hr-border;
// border-radius: 10px;
// margin: 20px;
//
// &-preview {
// img {
// border-top-left-radius: 10px;
// border-top-right-radius: 10px;
// width: 100%;
// }
// }
//
// &-title {
// font-size: 20px;
// padding: 10px;
// color: $color-body-text;
// }
//
// &-description {
// padding-left: 10px;
// padding-right: 10px;
// }
//
// &-file {
// ul {
// margin-top: 0;
// }
//
// li {
// padding-left: 0;
// }
// }
//
// .button {
// margin-top: 4px;
// }
// }
//
//
// .cards {
// padding: 0 20px 20px 20px;
//
// &--posts {
// padding-left: 0;
// padding-right: 0;
//
// .card-preview {
// img {
// max-height: 200px;
// width: 100%;
// }
// }
//
2022-10-01 10:53:04 +02:00
// .row > .col-4:nth-child(1) .{card {
2022-09-25 18:06:39 +02:00
// margin-left: 0;
// }
//
// .row > .col-4:nth-child(3) .card {
// margin-right: 0;
// }
// }
// }
2022-09-11 13:46:32 +02:00
.ejs-link {
margin: 10px auto;
2023-05-12 20:56:54 +02:00
width: 80%;
margin-bottom: 20px;
2022-03-26 14:31:37 +01:00
2022-09-11 13:46:32 +02:00
&--anchor {
display: block;
2022-12-22 21:01:07 +01:00
width: 100%;
2022-09-11 13:46:32 +02:00
padding: 30px;
}
2022-03-26 14:31:37 +01:00
2022-09-11 13:46:32 +02:00
&-content {
display: inline-block;
vertical-align: top;
word-break: break-all;
2022-03-26 14:31:37 +01:00
2022-09-11 13:46:32 +02:00
&--title {
font-weight: bold;
2022-03-26 14:31:37 +01:00
}
2022-09-11 13:46:32 +02:00
&--description {
font-size: 15px;
2022-04-20 23:39:12 +02:00
}
2022-09-11 13:46:32 +02:00
&--link {
padding-top: 10px;
font-size: 14px;
line-height: 20px;
2022-04-20 23:39:12 +02:00
2022-09-11 13:46:32 +02:00
.deblan-icon {
margin-right: 10px;
}
2022-04-20 23:39:12 +02:00
}
2022-12-14 22:34:06 +01:00
ul {
list-style: initial;
}
2022-09-11 13:46:32 +02:00
}
2022-04-20 23:39:12 +02:00
2022-09-11 13:46:32 +02:00
$image-size: 85px;
2022-04-20 23:39:12 +02:00
2022-09-11 13:46:32 +02:00
&--anchor--with-image &-content {
width: calc(100% - $image-size - 5px);
2022-09-27 23:12:49 +02:00
padding-right: 55px;
2022-09-11 13:46:32 +02:00
}
2022-04-20 23:39:12 +02:00
2022-09-11 13:46:32 +02:00
&--image {
display: inline-block;
width: $image-size;
height: $image-size;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
}
2022-09-21 10:55:43 +02:00
.quick-more {
margin-top: -20px;
margin-left: 30px;
}
2022-09-11 13:46:32 +02:00
}
2022-04-20 23:39:12 +02:00
2022-09-11 13:46:32 +02:00
.menu-opener {
background-color: transparent;
border: none;
cursor: pointer;
display: flex;
padding: 0;
width: 50px;
float: right;
.line {
fill: none;
stroke: $color-white;
stroke-width: 6;
transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.line1 {
stroke-dasharray: 60 207;
stroke-width: 6;
}
.line2 {
stroke-dasharray: 60 60;
stroke-width: 6;
}
.line3 {
stroke-dasharray: 60 207;
stroke-width: 6;
}
&.is-open .line1 {
stroke-dasharray: 90 207;
stroke-dashoffset: -134;
stroke-width: 6;
}
&.is-open .line2 {
stroke-dasharray: 1 60;
stroke-dashoffset: -30;
stroke-width: 6;
}
&.is-open .line3 {
stroke-dasharray: 90 207;
stroke-dashoffset: -134;
stroke-width: 6;
}
2022-04-20 23:39:12 +02:00
}
2021-07-10 00:04:15 +02:00
@media screen and (max-width: 1280px) {
2022-09-11 13:46:32 +02:00
.card-wrapper {
width: 100%;
}
2022-09-10 11:12:14 +02:00
2022-09-11 13:46:32 +02:00
.cards--posts .card {
margin-left: 0;
margin-right: 0;
}
2021-07-10 00:03:14 +02:00
}
@media screen and (max-width: 980px) {
2022-09-11 13:46:32 +02:00
.quick-image img {
height: 200px;
}
.ejs-link {
2023-05-12 20:56:54 +02:00
width: auto;
2022-09-21 10:55:43 +02:00
&-content {
2022-09-11 13:46:32 +02:00
display: block;
2022-09-21 10:55:43 +02:00
width: 100% !important;
2022-09-27 22:57:59 +02:00
padding-right: 0 !important;
}
2022-03-27 16:44:15 +02:00
2022-09-11 13:46:32 +02:00
&--image {
display: block;
margin: 30px auto 0 auto;
width: 120px;
height: 120px;
2022-03-27 16:44:15 +02:00
}
2022-09-11 13:46:32 +02:00
}
}
@media screen and (max-width: 719px) {
2022-09-11 13:46:32 +02:00
.content-footer {
margin-bottom: 40px;
}
}
@media screen and (max-width: 550px) {
2022-09-11 13:46:32 +02:00
.body {
padding: 10px 10px 20px 10px;
}
2022-09-11 13:46:32 +02:00
.reviews {
padding: 10px 10px 20px 10px;
}
2022-09-20 11:59:23 +02:00
.cards {
padding: 0;
}
}
2023-01-06 09:18:19 +01:00
@media screen and (max-width: 967px) {
2022-09-11 13:46:32 +02:00
.content {
width: 100%;
}
2022-09-11 13:46:32 +02:00
.review {
.review-avatar {
display: none;
}
2022-09-11 13:46:32 +02:00
.review-content {
width: 100%;
margin: 0;
}
2022-09-11 13:46:32 +02:00
}
}
@media screen and (max-width: 380px) {
2022-09-11 13:46:32 +02:00
.navigation {
a {
padding: 7px 10px;
}
2022-09-11 13:46:32 +02:00
}
2022-09-11 13:46:32 +02:00
.small-menu {
img {
width: 20px;
margin-top: 11px;
padding: 0;
}
2022-09-11 13:46:32 +02:00
}
}
2022-09-25 20:43:24 +02:00
.bg-box {
2023-01-05 19:53:34 +01:00
background: #f1f1f1;
2022-09-25 20:43:24 +02:00
}
2022-10-02 23:26:29 +02:00
.invalid-feedback {
color: red;
padding-left: 10px;
padding-right: 10px;
.form-error-icon {
display: none;
}
}
@media (prefers-color-scheme: dark) {
2022-09-25 20:43:24 +02:00
.bg-box {
background: #343c53;
}
2022-11-24 18:47:52 +01:00
.body, .review .review-body {
2022-12-26 16:31:04 +01:00
color: #fff !important;
2022-11-24 18:43:22 +01:00
a:not(.button), h1, h2, h3, h4, h5, p, ul, div {
color: #fff !important;
2022-09-25 20:43:24 +02:00
}
p a, ul a {
2023-01-16 21:54:17 +01:00
/* border-bottom: 2px dotted $color-blue2; */
2022-09-25 20:43:24 +02:00
}
blockquote {
border-left: 2px solid $color-blockquote-border;
}
code {
color: $code-color;
}
}
.content {
background: #242b3d;
}
2022-09-25 22:50:37 +02:00
.content hr, .content .hr {
background: none;
border-color: darken($color-wide-menu-background-to, 10%) !important;
}
2022-09-25 20:43:24 +02:00
.header-shadow {
background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(255,255,255,0) 100%);
}
}
2022-04-20 21:57:30 +02:00
@media all and (max-height: 600px) {
2022-09-11 13:46:32 +02:00
.wide-menu {
.navigation {
max-height: calc(100vh - 215px);
padding-top: 10px;
overflow: auto;
}
2022-09-11 13:46:32 +02:00
}
}
2023-09-10 22:49:31 +02:00
.deprecated {
color: #fff;
background: #3abff8;
padding: 1rem;
border-radius: var(--rounded-box, 1rem);
text-align: center;
svg {
display: inline-block;
height: 25px;
vertical-align: top;
margin-right: 8px;
}
}