even more style changes
This commit is contained in:
@@ -118,7 +118,7 @@ $button_border_radius: $DEFAULT_BORDER_RADIUS !default;
|
||||
$button_margin: $SMALL_PADDING $ZERO_PADDING !default;
|
||||
%button-base {
|
||||
cursor: default;
|
||||
font-size: 1rem;
|
||||
font-size: 1em;
|
||||
font-family: "Cadman", sans-serif;
|
||||
text-decoration: none;
|
||||
border: $button_border;
|
||||
@@ -178,6 +178,13 @@ body {
|
||||
color: $DEFAULT_FONT_COLOR;
|
||||
}
|
||||
|
||||
$body_portrait_margin: $BIG_PADDING $ZERO_PADDING !default;
|
||||
@media (orientation: portrait) {
|
||||
body {
|
||||
margin: $body_portrait_margin;
|
||||
}
|
||||
}
|
||||
|
||||
$link_color: #c11c1c !default;
|
||||
$link_color_visited: #730c0c !default;
|
||||
:where(a:link){
|
||||
@@ -188,7 +195,7 @@ $link_color_visited: #730c0c !default;
|
||||
}
|
||||
|
||||
.big {
|
||||
font-size: 1.8rem;
|
||||
font-size: 1.8em;
|
||||
}
|
||||
|
||||
$topnav_color: $ACCENT_COLOR !default;
|
||||
@@ -224,7 +231,7 @@ $user_actions_gap: $MEDIUM_BIG_PADDING !default;
|
||||
}
|
||||
|
||||
$site_title_margin: $ZERO_PADDING $BIG_PADDING !default;
|
||||
$site_title_size: 3rem !default;
|
||||
$site_title_size: 3em !default;
|
||||
$site_title_color: $DEFAULT_FONT_COLOR !default;
|
||||
.site-title {
|
||||
font-family: "site-title";
|
||||
@@ -235,7 +242,7 @@ $site_title_color: $DEFAULT_FONT_COLOR !default;
|
||||
}
|
||||
|
||||
$thread_title_margin: $ZERO_PADDING !default;
|
||||
$thread_title_size: 1.5rem !default;
|
||||
$thread_title_size: 1.5em !default;
|
||||
.thread-title {
|
||||
margin: $thread_title_margin;
|
||||
font-size: $thread_title_size;
|
||||
@@ -373,7 +380,7 @@ $code_border_left: $MEDIUM_PADDING solid $LIGHT_2 !default;
|
||||
pre code {
|
||||
display: block;
|
||||
background-color: $code_background_color;
|
||||
font-size: 1rem;
|
||||
font-size: 1em;
|
||||
color: $code_font_color;
|
||||
border-bottom-right-radius: $code_border_radius;
|
||||
border-bottom-left-radius: $code_border_radius;
|
||||
@@ -497,7 +504,7 @@ $inline_code_padding: $SMALL_PADDING $MEDIUM_PADDING !default;
|
||||
display: inline-block;
|
||||
margin: $inline_code_margin;
|
||||
border-radius: $inline_code_border_radius;
|
||||
font-size: 1rem;
|
||||
font-size: 1em;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
@@ -648,7 +655,7 @@ input[type="file"]::file-selector-button {
|
||||
margin: $MEDIUM_PADDING;
|
||||
}
|
||||
|
||||
$para_margin: $MEDIUM_BIG_PADDING $ZERO_PADDING !default;
|
||||
$para_margin: $MEDIUM_PADDING $ZERO_PADDING !default;
|
||||
p {
|
||||
margin: $para_margin;
|
||||
}
|
||||
@@ -701,7 +708,7 @@ input[type="text"], input[type="password"], textarea, select {
|
||||
resize: vertical;
|
||||
color: $text_input_font_color;
|
||||
background-color: $text_input_background;
|
||||
font-size: 100%;
|
||||
font-size: 1em;
|
||||
font-family: inherit;
|
||||
|
||||
&:focus {
|
||||
@@ -1042,7 +1049,7 @@ $post_editing_context_margin: $BIG_PADDING $ZERO_PADDING !default;
|
||||
}
|
||||
|
||||
.babycode-preview-errors-container {
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
$tab_button_color: $BUTTON_COLOR !default;
|
||||
@@ -1200,10 +1207,6 @@ $babycode_button_min_width: $accordion_button_size !default;
|
||||
.babycode-button {
|
||||
padding: $babycode_button_padding;
|
||||
min-width: $babycode_button_min_width;
|
||||
|
||||
&> * {
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
$quote_fragment_background_color: #00000080 !default;
|
||||
|
||||
Reference in New Issue
Block a user