2
// main rem font base and rem calc function
4
@function rem-calc($pxWidth) {
5
@return $pxWidth / $rem-base * 1rem;
8
$row-max-width: rem-calc(1200);
11
$main-font: 'DejaVu Sans Mono', monospace;
12
$main-font-weight: 200;
14
$headers-font: 'DejaVu Sans', Verdana, sans-serif;
16
$headers-transform: none;
20
$color-main-dark: #23222D;
21
$color-main-light: #ffffff;
22
//$color-main-contrast: #FF4D4D;
23
$color-main-contrast: #90A54A;
24
$color-headers: $color-main-dark;
25
$color-comment-header-link: #FFF200;
46
display: inline-block;
47
padding: rem-calc(5) rem-calc(15);
48
background: $color-main-contrast;
49
color: $color-main-light;
51
-webkit-transition: background-color .3s;
52
transition: background-color .3s;
53
border-radius: rem-calc(3);
54
margin-bottom: rem-calc(3);
56
color: $color-main-light;
57
background: lighten($color-main-contrast, 5%);
60
color: $color-main-light;
66
// https://www.w3schools.com/charsets/ref_utf_arrows.asp
69
&:hover, &:focus, &:active {
70
color: darken($color-main-contrast, 10%);
75
box-sizing: content-box;
76
border: $color-main-light 3px solid;
77
background: $color-main-light;
83
border-radius: rem-calc(7);
85
border-radius: rem-calc(6);
89
@mixin read-more-button {
90
margin-top: rem-calc(10);
91
margin-bottom: rem-calc(10);
92
display: inline-block;
93
padding: rem-calc(10) rem-calc(30);
94
border: rem-calc(3) solid $color-main-dark;
96
text-transform: uppercase;
98
color: $color-main-dark;
99
font-size: rem-calc(12);
100
-webkit-transition: background-color .3s;
101
transition: background-color .3s;
103
color: $color-main-light;
104
background-color: $color-main-dark;
105
text-decoration: none;
108
color: $color-main-light;
109
background-color: $color-main-dark;
118
-webkit-transition: fill 0.5s;
119
transition: fill 0.5s;
121
fill: $color-main-contrast;
124
.icon.icon-telegram svg:hover {
127
.icon.icon-rss svg:hover {
130
.icon.icon-mastodon svg:hover {
133
.icon.icon-gitverse svg:hover {
137
@media screen and (-ms-high-contrast: none), (-ms-high-contrast: active) {
144
@mixin flash-messages {
146
padding: 0 rem-calc(15) rem-calc(15);
147
.success-flash-content {
148
background-color: #E3F2C1;
149
color: $color-main-contrast;
150
padding: rem-calc(30);