make the sass file extendable
This commit is contained in:
		@@ -8,7 +8,7 @@
 | 
			
		||||
  {% else %}
 | 
			
		||||
    <title>{{config.SITE_NAME}}</title>
 | 
			
		||||
  {% endif %}
 | 
			
		||||
  <link rel="stylesheet" href="{{ "/static/style.css" | cachebust }}">
 | 
			
		||||
  <link rel="stylesheet" href="{{ "/static/css/style.css" | cachebust }}">
 | 
			
		||||
  <link rel="icon" type="image/png" href="/static/favicon.png">
 | 
			
		||||
</head>
 | 
			
		||||
<body>
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										13
									
								
								build-themes.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										13
									
								
								build-themes.sh
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
set -e
 | 
			
		||||
 | 
			
		||||
sass_dir="sass"
 | 
			
		||||
css_dir="data/static/css"
 | 
			
		||||
 | 
			
		||||
#build default first
 | 
			
		||||
sass --no-source-map "$sass_dir/_default.scss" "$css_dir/style.css"
 | 
			
		||||
 | 
			
		||||
for file in "$sass_dir"/*.scss; do
 | 
			
		||||
  [[ $(basename "$file") = _* ]] && continue
 | 
			
		||||
  sass --no-source-map "$file" "$css_dir/theme-$(basename "$file" .scss).css"
 | 
			
		||||
done
 | 
			
		||||
@@ -28,12 +28,11 @@
 | 
			
		||||
}
 | 
			
		||||
.reaction-button.active, .tab-button, .currentpage, .pagebutton, input[type=file]::file-selector-button, button.warn, input[type=submit].warn, .linkbutton.warn, button.critical, input[type=submit].critical, .linkbutton.critical, button, input[type=submit], .linkbutton {
 | 
			
		||||
  cursor: default;
 | 
			
		||||
  color: black;
 | 
			
		||||
  font-size: 0.9em;
 | 
			
		||||
  font-family: "Cadman";
 | 
			
		||||
  text-decoration: none;
 | 
			
		||||
  border: 1px solid black;
 | 
			
		||||
  border-radius: 3px;
 | 
			
		||||
  border-radius: 4px;
 | 
			
		||||
  padding: 5px 20px;
 | 
			
		||||
  margin: 10px 0;
 | 
			
		||||
}
 | 
			
		||||
@@ -42,6 +41,14 @@ body {
 | 
			
		||||
  font-family: "Cadman";
 | 
			
		||||
  margin: 20px 100px;
 | 
			
		||||
  background-color: rgb(173.5214173228, 183.6737007874, 161.0262992126);
 | 
			
		||||
  color: black;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
a:link {
 | 
			
		||||
  color: #c11c1c;
 | 
			
		||||
}
 | 
			
		||||
a:visited {
 | 
			
		||||
  color: #730c0c;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.big {
 | 
			
		||||
@@ -50,6 +57,7 @@ body {
 | 
			
		||||
 | 
			
		||||
#topnav {
 | 
			
		||||
  padding: 10px;
 | 
			
		||||
  margin: 0;
 | 
			
		||||
  display: flex;
 | 
			
		||||
  justify-content: end;
 | 
			
		||||
  background-color: #c1ceb1;
 | 
			
		||||
@@ -59,6 +67,7 @@ body {
 | 
			
		||||
 | 
			
		||||
#bottomnav {
 | 
			
		||||
  padding: 10px;
 | 
			
		||||
  margin: 0;
 | 
			
		||||
  display: flex;
 | 
			
		||||
  justify-content: end;
 | 
			
		||||
  background-color: rgb(143.7039271654, 144.3879625984, 142.8620374016);
 | 
			
		||||
@@ -81,7 +90,7 @@ body {
 | 
			
		||||
  font-size: 3rem;
 | 
			
		||||
  margin: 0 20px;
 | 
			
		||||
  text-decoration: none;
 | 
			
		||||
  color: black;
 | 
			
		||||
  color: black !important;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.thread-title {
 | 
			
		||||
@@ -120,7 +129,7 @@ body {
 | 
			
		||||
  display: grid;
 | 
			
		||||
  grid-template-columns: 1fr;
 | 
			
		||||
  grid-template-rows: min-content 1fr min-content;
 | 
			
		||||
  gap: 0px 0px;
 | 
			
		||||
  gap: 0;
 | 
			
		||||
  grid-auto-flow: row;
 | 
			
		||||
  grid-template-areas: "post-info" "post-content" "post-reactions";
 | 
			
		||||
  grid-area: post-content-container;
 | 
			
		||||
@@ -185,6 +194,30 @@ pre code {
 | 
			
		||||
  tab-size: 4;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.copy-code-container {
 | 
			
		||||
  position: sticky;
 | 
			
		||||
  width: calc(100% - 4px);
 | 
			
		||||
  display: flex;
 | 
			
		||||
  justify-content: space-between;
 | 
			
		||||
  align-items: last baseline;
 | 
			
		||||
  font-family: "Cadman";
 | 
			
		||||
  border-top-right-radius: 8px;
 | 
			
		||||
  border-top-left-radius: 8px;
 | 
			
		||||
  background-color: #c1ceb1;
 | 
			
		||||
  border-left: 2px solid black;
 | 
			
		||||
  border-right: 2px solid black;
 | 
			
		||||
  border-top: 2px solid black;
 | 
			
		||||
}
 | 
			
		||||
.copy-code-container::before {
 | 
			
		||||
  content: "code block";
 | 
			
		||||
  font-style: italic;
 | 
			
		||||
  margin-left: 10px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.copy-code {
 | 
			
		||||
  margin-right: 10px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.inline-code {
 | 
			
		||||
  background-color: rgb(38.5714173228, 40.9237007874, 35.6762992126);
 | 
			
		||||
  color: white;
 | 
			
		||||
@@ -193,6 +226,7 @@ pre code {
 | 
			
		||||
  margin: 4px;
 | 
			
		||||
  border-radius: 4px;
 | 
			
		||||
  font-size: 1rem;
 | 
			
		||||
  white-space: pre;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#delete-dialog, .lightbox-dialog {
 | 
			
		||||
@@ -230,30 +264,6 @@ pre code {
 | 
			
		||||
  align-items: center;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.copy-code-container {
 | 
			
		||||
  position: sticky;
 | 
			
		||||
  width: calc(100% - 4px);
 | 
			
		||||
  display: flex;
 | 
			
		||||
  justify-content: space-between;
 | 
			
		||||
  align-items: last baseline;
 | 
			
		||||
  font-family: "Cadman";
 | 
			
		||||
  border-top-right-radius: 8px;
 | 
			
		||||
  border-top-left-radius: 8px;
 | 
			
		||||
  background-color: #c1ceb1;
 | 
			
		||||
  border-left: 2px solid black;
 | 
			
		||||
  border-right: 2px solid black;
 | 
			
		||||
  border-top: 2px solid black;
 | 
			
		||||
}
 | 
			
		||||
.copy-code-container::before {
 | 
			
		||||
  content: "code block";
 | 
			
		||||
  font-style: italic;
 | 
			
		||||
  margin-left: 10px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.copy-code {
 | 
			
		||||
  margin-right: 10px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
blockquote {
 | 
			
		||||
  padding: 10px 20px;
 | 
			
		||||
  margin: 10px;
 | 
			
		||||
@@ -290,9 +300,9 @@ blockquote {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.user-page-posts {
 | 
			
		||||
  border-left: solid 1px black;
 | 
			
		||||
  border-right: solid 1px black;
 | 
			
		||||
  border-bottom: solid 1px black;
 | 
			
		||||
  border-left: 1px solid black;
 | 
			
		||||
  border-right: 1px solid black;
 | 
			
		||||
  border-bottom: 1px solid black;
 | 
			
		||||
  background-color: #c1ceb1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@@ -319,6 +329,7 @@ blockquote {
 | 
			
		||||
button, input[type=submit], .linkbutton {
 | 
			
		||||
  display: inline-block;
 | 
			
		||||
  background-color: rgb(177, 206, 204.5);
 | 
			
		||||
  color: black !important;
 | 
			
		||||
}
 | 
			
		||||
button:hover, input[type=submit]:hover, .linkbutton:hover {
 | 
			
		||||
  background-color: rgb(192.6, 215.8, 214.6);
 | 
			
		||||
@@ -334,8 +345,8 @@ button.reduced, input[type=submit].reduced, .linkbutton.reduced {
 | 
			
		||||
  padding: 5px;
 | 
			
		||||
}
 | 
			
		||||
button.critical, input[type=submit].critical, .linkbutton.critical {
 | 
			
		||||
  color: white;
 | 
			
		||||
  background-color: red;
 | 
			
		||||
  color: white !important;
 | 
			
		||||
}
 | 
			
		||||
button.critical:hover, input[type=submit].critical:hover, .linkbutton.critical:hover {
 | 
			
		||||
  background-color: #ff3333;
 | 
			
		||||
@@ -352,6 +363,7 @@ button.critical.reduced, input[type=submit].critical.reduced, .linkbutton.critic
 | 
			
		||||
}
 | 
			
		||||
button.warn, input[type=submit].warn, .linkbutton.warn {
 | 
			
		||||
  background-color: #fbfb8d;
 | 
			
		||||
  color: black !important;
 | 
			
		||||
}
 | 
			
		||||
button.warn:hover, input[type=submit].warn:hover, .linkbutton.warn:hover {
 | 
			
		||||
  background-color: rgb(251.8, 251.8, 163.8);
 | 
			
		||||
@@ -369,7 +381,8 @@ button.warn.reduced, input[type=submit].warn.reduced, .linkbutton.warn.reduced {
 | 
			
		||||
 | 
			
		||||
input[type=file]::file-selector-button {
 | 
			
		||||
  background-color: rgb(177, 206, 204.5);
 | 
			
		||||
  margin: 10px 10px;
 | 
			
		||||
  color: black !important;
 | 
			
		||||
  margin: 10px;
 | 
			
		||||
}
 | 
			
		||||
input[type=file]::file-selector-button:hover {
 | 
			
		||||
  background-color: rgb(192.6, 215.8, 214.6);
 | 
			
		||||
@@ -391,6 +404,7 @@ p {
 | 
			
		||||
 | 
			
		||||
.pagebutton {
 | 
			
		||||
  background-color: rgb(177, 206, 204.5);
 | 
			
		||||
  color: black !important;
 | 
			
		||||
  padding: 5px 5px;
 | 
			
		||||
  margin: 0;
 | 
			
		||||
  display: inline-block;
 | 
			
		||||
@@ -425,7 +439,7 @@ p {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.login-container > * {
 | 
			
		||||
  width: 25%;
 | 
			
		||||
  width: 40%;
 | 
			
		||||
  margin: auto;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@@ -443,7 +457,7 @@ p {
 | 
			
		||||
 | 
			
		||||
input[type=text], input[type=password], textarea, select {
 | 
			
		||||
  border: 1px solid black;
 | 
			
		||||
  border-radius: 3px;
 | 
			
		||||
  border-radius: 4px;
 | 
			
		||||
  padding: 7px 10px;
 | 
			
		||||
  width: 100%;
 | 
			
		||||
  box-sizing: border-box;
 | 
			
		||||
@@ -480,7 +494,7 @@ input[type=text]:focus, input[type=password]:focus, textarea:focus, select:focus
 | 
			
		||||
  display: grid;
 | 
			
		||||
  grid-template-columns: 96px 1.6fr 96px;
 | 
			
		||||
  grid-template-rows: 1fr;
 | 
			
		||||
  gap: 0px 0px;
 | 
			
		||||
  gap: 0;
 | 
			
		||||
  grid-auto-flow: row;
 | 
			
		||||
  min-height: 96px;
 | 
			
		||||
  grid-template-areas: "thread-sticky-container thread-info-container thread-locked-container";
 | 
			
		||||
@@ -519,8 +533,8 @@ input[type=text]:focus, input[type=password]:focus, textarea:focus, select:focus
 | 
			
		||||
 | 
			
		||||
.post-image {
 | 
			
		||||
  object-fit: contain;
 | 
			
		||||
  max-width: 300px;
 | 
			
		||||
  max-height: 300px;
 | 
			
		||||
  max-width: 400px;
 | 
			
		||||
  max-height: 400px;
 | 
			
		||||
  min-width: 200px;
 | 
			
		||||
  min-height: 200px;
 | 
			
		||||
  flex: 1 1 0%;
 | 
			
		||||
@@ -559,7 +573,7 @@ input[type=text]:focus, input[type=password]:focus, textarea:focus, select:focus
 | 
			
		||||
  display: grid;
 | 
			
		||||
  grid-template-columns: 1.5fr 300px;
 | 
			
		||||
  grid-template-rows: 1fr;
 | 
			
		||||
  gap: 0px 0px;
 | 
			
		||||
  gap: 0;
 | 
			
		||||
  grid-auto-flow: row;
 | 
			
		||||
  grid-template-areas: "guide-topics guide-toc";
 | 
			
		||||
}
 | 
			
		||||
@@ -626,7 +640,7 @@ input[type=text]:focus, input[type=password]:focus, textarea:focus, select:focus
 | 
			
		||||
  display: grid;
 | 
			
		||||
  grid-template-columns: 1.5fr 96px;
 | 
			
		||||
  grid-template-rows: 1fr;
 | 
			
		||||
  gap: 0px 0px;
 | 
			
		||||
  gap: 0;
 | 
			
		||||
  grid-auto-flow: row;
 | 
			
		||||
  grid-template-areas: "topic-info-container topic-locked-container";
 | 
			
		||||
}
 | 
			
		||||
@@ -650,9 +664,9 @@ input[type=text]:focus, input[type=password]:focus, textarea:focus, select:focus
 | 
			
		||||
  user-select: none;
 | 
			
		||||
  background-color: #c1ceb1;
 | 
			
		||||
  padding: 20px;
 | 
			
		||||
  margin: 12px 0;
 | 
			
		||||
  border-top: 6px outset rgb(217.26, 220.38, 213.42);
 | 
			
		||||
  border-bottom: 6px outset rgb(135.1928346457, 145.0974015748, 123.0025984252);
 | 
			
		||||
  margin: 15px 0;
 | 
			
		||||
  border-top: 5px outset rgb(217.26, 220.38, 213.42);
 | 
			
		||||
  border-bottom: 5px outset rgb(135.1928346457, 145.0974015748, 123.0025984252);
 | 
			
		||||
}
 | 
			
		||||
.draggable-topic.dragged {
 | 
			
		||||
  background-color: rgb(177, 206, 204.5);
 | 
			
		||||
@@ -690,6 +704,7 @@ input[type=text]:focus, input[type=password]:focus, textarea:focus, select:focus
 | 
			
		||||
 | 
			
		||||
.tab-button {
 | 
			
		||||
  background-color: rgb(177, 206, 204.5);
 | 
			
		||||
  color: black !important;
 | 
			
		||||
  border-bottom: none;
 | 
			
		||||
  border-bottom-left-radius: 0;
 | 
			
		||||
  border-bottom-right-radius: 0;
 | 
			
		||||
@@ -722,9 +737,9 @@ input[type=text]:focus, input[type=password]:focus, textarea:focus, select:focus
 | 
			
		||||
  background-color: rgb(191.3137931034, 189.7, 193.3);
 | 
			
		||||
  border: 1px solid black;
 | 
			
		||||
  padding: 10px;
 | 
			
		||||
  border-top-right-radius: 3px;
 | 
			
		||||
  border-bottom-right-radius: 3px;
 | 
			
		||||
  border-bottom-left-radius: 3px;
 | 
			
		||||
  border-top-right-radius: 4px;
 | 
			
		||||
  border-bottom-right-radius: 4px;
 | 
			
		||||
  border-bottom-left-radius: 4px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ul, ol {
 | 
			
		||||
@@ -740,7 +755,7 @@ ul, ol {
 | 
			
		||||
  position: fixed;
 | 
			
		||||
  bottom: 80px;
 | 
			
		||||
  right: 80px;
 | 
			
		||||
  border: 2px solid black;
 | 
			
		||||
  border: 1px solid black;
 | 
			
		||||
  background-color: #81a3e6;
 | 
			
		||||
  padding: 20px 15px;
 | 
			
		||||
  border-radius: 4px;
 | 
			
		||||
@@ -753,8 +768,8 @@ ul, ol {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.accordion {
 | 
			
		||||
  border-top-right-radius: 3px;
 | 
			
		||||
  border-top-left-radius: 3px;
 | 
			
		||||
  border-top-right-radius: 4px;
 | 
			
		||||
  border-top-left-radius: 4px;
 | 
			
		||||
  box-sizing: border-box;
 | 
			
		||||
  border: 1px solid black;
 | 
			
		||||
  margin: 10px 5px;
 | 
			
		||||
@@ -837,6 +852,7 @@ footer {
 | 
			
		||||
 | 
			
		||||
.reaction-button.active {
 | 
			
		||||
  background-color: #beb1ce;
 | 
			
		||||
  color: black !important;
 | 
			
		||||
}
 | 
			
		||||
.reaction-button.active:hover {
 | 
			
		||||
  background-color: rgb(203, 192.6, 215.8);
 | 
			
		||||
@@ -857,7 +873,7 @@ footer {
 | 
			
		||||
  margin: 0;
 | 
			
		||||
  border: none;
 | 
			
		||||
  border-radius: 4px;
 | 
			
		||||
  background-color: rgba(0, 0, 0, 0.6901960784);
 | 
			
		||||
  background-color: rgba(0, 0, 0, 0.5019607843);
 | 
			
		||||
  padding: 5px 10px;
 | 
			
		||||
  width: 250px;
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										1080
									
								
								sass/_default.scss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1080
									
								
								sass/_default.scss
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										858
									
								
								sass/style.scss
									
									
									
									
									
								
							
							
						
						
									
										858
									
								
								sass/style.scss
									
									
									
									
									
								
							@@ -1,858 +0,0 @@
 | 
			
		||||
@use "sass:color";
 | 
			
		||||
 | 
			
		||||
@font-face {
 | 
			
		||||
  font-family: "site-title";
 | 
			
		||||
  src: url("/static/fonts/ChicagoFLF.woff2");
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin cadman($var) {
 | 
			
		||||
  font-family: "Cadman";
 | 
			
		||||
  src: url("/static/fonts/Cadman_#{$var}.woff2");
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@font-face {
 | 
			
		||||
  @include cadman("Roman");
 | 
			
		||||
  font-weight: normal;
 | 
			
		||||
  font-style: normal;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@font-face {
 | 
			
		||||
  @include cadman("Bold");
 | 
			
		||||
  font-weight: bold;
 | 
			
		||||
  font-style: normal;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@font-face {
 | 
			
		||||
  @include cadman("Italic");
 | 
			
		||||
  font-weight: normal;
 | 
			
		||||
  font-style: italic;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@font-face {
 | 
			
		||||
  @include cadman("BoldItalic");
 | 
			
		||||
  font-weight: bold;
 | 
			
		||||
  font-style: italic;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
$accent_color: #c1ceb1;
 | 
			
		||||
 | 
			
		||||
$dark_bg: color.scale($accent_color, $lightness: -25%, $saturation: -97%);
 | 
			
		||||
$dark2: color.scale($accent_color, $lightness: -30%, $saturation: -60%);
 | 
			
		||||
$verydark: color.scale($accent_color, $lightness: -80%, $saturation: -70%);
 | 
			
		||||
 | 
			
		||||
$light: color.scale($accent_color, $lightness: 40%, $saturation: -60%);
 | 
			
		||||
$lighter: color.scale($accent_color, $lightness: 60%, $saturation: -60%);
 | 
			
		||||
 | 
			
		||||
$main_bg: color.scale($accent_color, $lightness: -10%, $saturation: -40%);
 | 
			
		||||
$button_color: color.adjust($accent_color, $hue: 90);
 | 
			
		||||
$button_color2: color.adjust($accent_color, $hue: 180);
 | 
			
		||||
$accordion_color: color.adjust($accent_color, $hue: 140, $lightness: -10%, $saturation: -15%);
 | 
			
		||||
 | 
			
		||||
%button-base {
 | 
			
		||||
  cursor: default;
 | 
			
		||||
  color: black;
 | 
			
		||||
  font-size: 0.9em;
 | 
			
		||||
  font-family: "Cadman";
 | 
			
		||||
  text-decoration: none;
 | 
			
		||||
  border: 1px solid black;
 | 
			
		||||
  border-radius: 3px;
 | 
			
		||||
  padding: 5px 20px;
 | 
			
		||||
  margin: 10px 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin button($color) {
 | 
			
		||||
  @extend %button-base;
 | 
			
		||||
  background-color: $color;
 | 
			
		||||
  
 | 
			
		||||
  &:hover {
 | 
			
		||||
    background-color: color.scale($color, $lightness: 20%);
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
  &:active {
 | 
			
		||||
    background-color: color.scale($color, $lightness: -10%, $saturation: -70%);
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
  &:disabled {
 | 
			
		||||
    background-color: color.scale($color, $lightness: 30%, $saturation: -90%);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  &.reduced {
 | 
			
		||||
    margin: 0;
 | 
			
		||||
    padding: 5px;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin navbar($color) {
 | 
			
		||||
  padding: 10px;
 | 
			
		||||
  display: flex;
 | 
			
		||||
  justify-content: end;
 | 
			
		||||
  background-color: $color;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
body {
 | 
			
		||||
  font-family: "Cadman";
 | 
			
		||||
  // font-size: 18px;
 | 
			
		||||
  margin: 20px 100px;
 | 
			
		||||
  background-color: $main_bg;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.big {
 | 
			
		||||
  font-size: 1.8rem;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#topnav {
 | 
			
		||||
  @include navbar($accent_color);
 | 
			
		||||
  justify-content: space-between;
 | 
			
		||||
  align-items: baseline;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#bottomnav {
 | 
			
		||||
  @include navbar($dark_bg);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.darkbg {
 | 
			
		||||
  padding-bottom: 10px;
 | 
			
		||||
  padding-left: 10px;
 | 
			
		||||
  padding-right: 10px;
 | 
			
		||||
  background-color: $dark_bg;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.user-actions {
 | 
			
		||||
  display: flex;
 | 
			
		||||
  column-gap: 15px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.site-title {
 | 
			
		||||
  font-family: "site-title";
 | 
			
		||||
  font-size: 3rem;
 | 
			
		||||
  margin: 0 20px;
 | 
			
		||||
  text-decoration: none;
 | 
			
		||||
  color: black;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.thread-title {
 | 
			
		||||
  margin: 0;
 | 
			
		||||
  font-size: 1.5rem;
 | 
			
		||||
  font-weight: bold;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.post {
 | 
			
		||||
  display: grid;
 | 
			
		||||
  grid-template-columns: 200px 1fr;
 | 
			
		||||
  grid-template-rows: 1fr;
 | 
			
		||||
  gap: 0;
 | 
			
		||||
  grid-auto-flow: row;
 | 
			
		||||
  grid-template-areas:
 | 
			
		||||
    "usercard post-content-container";
 | 
			
		||||
  border: 2px outset $dark2;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.usercard {
 | 
			
		||||
  grid-area: usercard;
 | 
			
		||||
  padding: 20px 10px;
 | 
			
		||||
  border: 4px outset $light;
 | 
			
		||||
  background-color: $dark_bg;
 | 
			
		||||
  border-right: solid 2px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.usercard-inner {
 | 
			
		||||
  display: flex;
 | 
			
		||||
  flex-direction: column;
 | 
			
		||||
  align-items: center;
 | 
			
		||||
  top: 10px;
 | 
			
		||||
  position: sticky;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.post-content-container {
 | 
			
		||||
  display: grid;
 | 
			
		||||
  grid-template-columns: 1fr;
 | 
			
		||||
  grid-template-rows: min-content 1fr min-content;
 | 
			
		||||
  gap: 0px 0px;
 | 
			
		||||
  grid-auto-flow: row;
 | 
			
		||||
  grid-template-areas:
 | 
			
		||||
    "post-info"
 | 
			
		||||
    "post-content"
 | 
			
		||||
    "post-reactions";
 | 
			
		||||
  grid-area: post-content-container;
 | 
			
		||||
 | 
			
		||||
  min-height: 100%;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.post-info {
 | 
			
		||||
  grid-area: post-info;
 | 
			
		||||
  display: flex;
 | 
			
		||||
  min-height: 70px;
 | 
			
		||||
  justify-content: space-between;
 | 
			
		||||
  padding: 5px 20px;
 | 
			
		||||
  align-items: center;
 | 
			
		||||
  border-top: 1px solid black;
 | 
			
		||||
  border-bottom: 1px solid black;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.post-content {
 | 
			
		||||
  grid-area: post-content;
 | 
			
		||||
  padding: 20px 20px 0 20px;
 | 
			
		||||
  display: flex;
 | 
			
		||||
  flex-direction: column;
 | 
			
		||||
  overflow: hidden;
 | 
			
		||||
  background-color: $accent_color;
 | 
			
		||||
 | 
			
		||||
  // min-height: 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.post-reactions {
 | 
			
		||||
  grid-area: post-reactions;
 | 
			
		||||
  min-height: 50px;
 | 
			
		||||
  display: flex;
 | 
			
		||||
  padding: 5px 20px;
 | 
			
		||||
  align-items: center;
 | 
			
		||||
  flex-wrap: wrap;
 | 
			
		||||
  gap: 5px;
 | 
			
		||||
  background-color: $main_bg;
 | 
			
		||||
  border-top: 2px dotted gray;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.post-inner {
 | 
			
		||||
  height: 100%;
 | 
			
		||||
  padding-right: 25%;
 | 
			
		||||
 | 
			
		||||
  &.wider {
 | 
			
		||||
    padding-right: 12.5%;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.signature-container {
 | 
			
		||||
  border-top: 2px dotted gray;
 | 
			
		||||
  padding: 10px 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
pre code {
 | 
			
		||||
  display: block;
 | 
			
		||||
  background-color: $verydark;
 | 
			
		||||
  font-size: 1rem;
 | 
			
		||||
  color: white;
 | 
			
		||||
  border-bottom-right-radius: 8px;
 | 
			
		||||
  border-bottom-left-radius: 8px;
 | 
			
		||||
  border-left: 10px solid $lighter;
 | 
			
		||||
  padding: 20px;
 | 
			
		||||
  overflow: scroll;
 | 
			
		||||
  tab-size: 4;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.inline-code {
 | 
			
		||||
  background-color: $verydark;
 | 
			
		||||
  color: white;
 | 
			
		||||
  padding: 5px 10px;
 | 
			
		||||
  display: inline-block;
 | 
			
		||||
  margin: 4px;
 | 
			
		||||
  border-radius: 4px;
 | 
			
		||||
  font-size: 1rem;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#delete-dialog, .lightbox-dialog {
 | 
			
		||||
  padding: 0;
 | 
			
		||||
  border-radius: 4px;
 | 
			
		||||
  border: 2px solid black;
 | 
			
		||||
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.delete-dialog-inner {
 | 
			
		||||
  display: flex;
 | 
			
		||||
  flex-direction: column;
 | 
			
		||||
  align-items: center;
 | 
			
		||||
  padding: 20px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.lightbox-inner {
 | 
			
		||||
  display: flex;
 | 
			
		||||
  flex-direction: column;
 | 
			
		||||
  padding: 20px;
 | 
			
		||||
  min-width: 400px;
 | 
			
		||||
  background-color: $accent_color;
 | 
			
		||||
  gap: 10px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.lightbox-image {
 | 
			
		||||
  max-width: 70vw;
 | 
			
		||||
  max-height: 70vh;
 | 
			
		||||
  object-fit: scale-down;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.lightbox-nav {
 | 
			
		||||
  display: flex;
 | 
			
		||||
  justify-content: space-between;
 | 
			
		||||
  align-items: center;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.copy-code-container {
 | 
			
		||||
  position: sticky;
 | 
			
		||||
  // width: 100%;
 | 
			
		||||
  width: calc(100% - 4px);
 | 
			
		||||
  display: flex;
 | 
			
		||||
  justify-content: space-between;
 | 
			
		||||
  align-items: last baseline;
 | 
			
		||||
  font-family: "Cadman";
 | 
			
		||||
  border-top-right-radius: 8px;
 | 
			
		||||
  border-top-left-radius: 8px;
 | 
			
		||||
  background-color: $accent_color;
 | 
			
		||||
  border-left: 2px solid black;
 | 
			
		||||
  border-right: 2px solid black;
 | 
			
		||||
  border-top: 2px solid black;
 | 
			
		||||
  
 | 
			
		||||
  &::before {
 | 
			
		||||
    content: "code block";
 | 
			
		||||
    font-style: italic;
 | 
			
		||||
    margin-left: 10px;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.copy-code {
 | 
			
		||||
  margin-right: 10px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
blockquote {
 | 
			
		||||
  padding: 10px 20px;
 | 
			
		||||
  margin: 10px;
 | 
			
		||||
  border-radius: 4px;
 | 
			
		||||
  border-left: 10px solid $lighter;
 | 
			
		||||
  // background-color: $dark2;
 | 
			
		||||
  background-color: #00000026;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.user-info {
 | 
			
		||||
  display: grid;
 | 
			
		||||
  grid-template-columns: 300px 1fr;
 | 
			
		||||
  grid-template-rows: 1fr;
 | 
			
		||||
  gap: 0;
 | 
			
		||||
  grid-template-areas:
 | 
			
		||||
    "user-page-usercard user-page-stats";
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.user-page-usercard {
 | 
			
		||||
  grid-area: user-page-usercard;
 | 
			
		||||
  padding: 20px 10px;
 | 
			
		||||
  border: 4px outset $light;
 | 
			
		||||
  background-color: $dark_bg;
 | 
			
		||||
  border-right: solid 2px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.user-page-stats {
 | 
			
		||||
  grid-area: user-page-stats;
 | 
			
		||||
  padding: 20px 30px;
 | 
			
		||||
  border: 1px solid black;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.user-stats-list {
 | 
			
		||||
  list-style: none;
 | 
			
		||||
  margin: 0 0 10px 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.user-page-posts {
 | 
			
		||||
  border-left: solid 1px black;
 | 
			
		||||
  border-right: solid 1px black;
 | 
			
		||||
  border-bottom: solid 1px black;
 | 
			
		||||
  background-color: $accent_color;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.user-page-post-preview {
 | 
			
		||||
  max-height: 200px;
 | 
			
		||||
  mask-image: linear-gradient(180deg,#000 60%,transparent);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.avatar {
 | 
			
		||||
  width: 90%;
 | 
			
		||||
  height: 90%;
 | 
			
		||||
  object-fit: contain;
 | 
			
		||||
  margin-bottom: 10px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.username-link {
 | 
			
		||||
  overflow-wrap: anywhere;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.user-status {
 | 
			
		||||
  text-align: center;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
button, input[type="submit"], .linkbutton {
 | 
			
		||||
  display: inline-block;
 | 
			
		||||
  @include button($button_color);
 | 
			
		||||
  
 | 
			
		||||
  &.critical {
 | 
			
		||||
    color: white;
 | 
			
		||||
    @include button(red);
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
  &.warn {
 | 
			
		||||
    @include button(#fbfb8d);
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// not sure why this one has to be separate, but if it's included in the rule above everything breaks
 | 
			
		||||
input[type="file"]::file-selector-button {
 | 
			
		||||
  @include button($button_color);
 | 
			
		||||
  margin: 10px 10px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
p {
 | 
			
		||||
  margin: 15px 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.pagebutton {
 | 
			
		||||
  @include button($button_color);
 | 
			
		||||
  padding: 5px 5px;
 | 
			
		||||
  margin: 0;
 | 
			
		||||
  display: inline-block;
 | 
			
		||||
  min-width: 20px;
 | 
			
		||||
  text-align: center;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.currentpage {
 | 
			
		||||
  @extend %button-base;
 | 
			
		||||
  border: none;
 | 
			
		||||
  padding: 5px 5px;
 | 
			
		||||
  margin: 0;
 | 
			
		||||
  display: inline-block;
 | 
			
		||||
  min-width: 20px;
 | 
			
		||||
  text-align: center;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.modform {
 | 
			
		||||
  display: inline;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.login-container > * {
 | 
			
		||||
  width: 25%;
 | 
			
		||||
  margin: auto;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.settings-container > * {
 | 
			
		||||
  width: 40%;
 | 
			
		||||
  margin: auto;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.avatar-form {
 | 
			
		||||
  display: flex;
 | 
			
		||||
  flex-direction: column;
 | 
			
		||||
  align-items: center;
 | 
			
		||||
  padding: 20px 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
input[type="text"], input[type="password"], textarea, select {
 | 
			
		||||
  border: 1px solid black;
 | 
			
		||||
  border-radius: 3px;
 | 
			
		||||
  padding: 7px 10px;
 | 
			
		||||
  width: 100%;
 | 
			
		||||
  box-sizing: border-box;
 | 
			
		||||
  resize: vertical;
 | 
			
		||||
  background-color: color.scale($accent_color, $lightness: 40%);
 | 
			
		||||
  
 | 
			
		||||
  &:focus {
 | 
			
		||||
    background-color: color.scale($accent_color, $lightness: 60%);
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.infobox {
 | 
			
		||||
  border: 2px solid black;
 | 
			
		||||
  background-color: #81a3e6;
 | 
			
		||||
  padding: 20px 15px;
 | 
			
		||||
  
 | 
			
		||||
  &.critical {
 | 
			
		||||
    background-color: rgb(237, 129, 129);
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
  &.warn {
 | 
			
		||||
    background-color: #fbfb8d;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.infobox > span {
 | 
			
		||||
  display: flex;
 | 
			
		||||
  align-items: center;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.infobox-icon-container {
 | 
			
		||||
  min-width: 60px;
 | 
			
		||||
  padding-right: 15px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.thread {
 | 
			
		||||
  display: grid;
 | 
			
		||||
  grid-template-columns: 96px 1.6fr 96px;
 | 
			
		||||
  grid-template-rows: 1fr;
 | 
			
		||||
  gap: 0px 0px;
 | 
			
		||||
  grid-auto-flow: row;
 | 
			
		||||
  min-height: 96px;
 | 
			
		||||
  grid-template-areas:
 | 
			
		||||
    "thread-sticky-container thread-info-container thread-locked-container";
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.thread-sticky-container {
 | 
			
		||||
  grid-area: thread-sticky-container;
 | 
			
		||||
  border: 2px outset $light;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.thread-locked-container {
 | 
			
		||||
  grid-area: thread-locked-container;
 | 
			
		||||
  border: 2px outset $light;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.contain-svg {
 | 
			
		||||
  display: flex;
 | 
			
		||||
  align-items: center;
 | 
			
		||||
  justify-content: center;
 | 
			
		||||
  flex-direction: column;
 | 
			
		||||
  &:not(.full) > svg, &:not(.full) > img {
 | 
			
		||||
    height: 50%;
 | 
			
		||||
    width: 50%;
 | 
			
		||||
  }
 | 
			
		||||
  &.full > svg, &.full > img {
 | 
			
		||||
    height: 100%;
 | 
			
		||||
    width: 100%;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.post-img-container {
 | 
			
		||||
  display: flex;
 | 
			
		||||
  flex-wrap: wrap;
 | 
			
		||||
  gap: 5px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.post-image {
 | 
			
		||||
  object-fit: contain;
 | 
			
		||||
  max-width: 400px;
 | 
			
		||||
  max-height: 400px;
 | 
			
		||||
  min-width: 200px;
 | 
			
		||||
  min-height: 200px;
 | 
			
		||||
  flex: 1 1 0%;
 | 
			
		||||
  width: auto;
 | 
			
		||||
  height: auto;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.thread-info-container {
 | 
			
		||||
  grid-area: thread-info-container;
 | 
			
		||||
  background-color: $accent_color;
 | 
			
		||||
  padding: 5px 20px;
 | 
			
		||||
  border-top: 1px solid black;
 | 
			
		||||
  border-bottom: 1px solid black;
 | 
			
		||||
  display: flex;
 | 
			
		||||
  flex-direction: column;
 | 
			
		||||
  overflow: hidden;
 | 
			
		||||
  max-height: 110px;
 | 
			
		||||
  mask-image: linear-gradient(180deg,#000 60%,transparent);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.thread-info-post-preview {
 | 
			
		||||
  overflow: hidden;
 | 
			
		||||
  text-overflow: ellipsis;
 | 
			
		||||
  display: inline;
 | 
			
		||||
  margin-right: 25%;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.babycode-guide-section {
 | 
			
		||||
  background-color: $accent_color;
 | 
			
		||||
  padding: 5px 20px;
 | 
			
		||||
  border: 1px solid black;
 | 
			
		||||
  padding-right: 25%;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.babycode-guide-container {
 | 
			
		||||
  display: grid;
 | 
			
		||||
  grid-template-columns: 1.5fr 300px;
 | 
			
		||||
  grid-template-rows: 1fr;
 | 
			
		||||
  gap: 0px 0px;
 | 
			
		||||
  grid-auto-flow: row;
 | 
			
		||||
  grid-template-areas:
 | 
			
		||||
    "guide-topics guide-toc";
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.guide-topics {
 | 
			
		||||
  grid-area: guide-topics;
 | 
			
		||||
  overflow: hidden;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.guide-toc {
 | 
			
		||||
  grid-area: guide-toc;
 | 
			
		||||
  position: sticky;
 | 
			
		||||
  top: 100px;
 | 
			
		||||
  align-self: start;
 | 
			
		||||
  padding: 10px;
 | 
			
		||||
  // border-top-right-radius: 16px;
 | 
			
		||||
  border-bottom-right-radius: 8px;
 | 
			
		||||
  background-color: $button_color;
 | 
			
		||||
  border-right: 1px solid black;
 | 
			
		||||
  border-top: 1px solid black;
 | 
			
		||||
  border-bottom: 1px solid black;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.emoji-table tr td {
 | 
			
		||||
  text-align: center;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.emoji-table tr th {
 | 
			
		||||
  padding-left: 50px;
 | 
			
		||||
  padding-right: 50px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.emoji-table {
 | 
			
		||||
  margin: auto;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.emoji-table, th, td {
 | 
			
		||||
  border: 1px solid black;
 | 
			
		||||
  border-collapse: collapse;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.colorful-table {
 | 
			
		||||
  border-collapse: collapse;
 | 
			
		||||
  width: 100%;
 | 
			
		||||
  margin: 10px 0;
 | 
			
		||||
  overflow: hidden;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.colorful-table tr th {
 | 
			
		||||
  background-color: $button_color2;
 | 
			
		||||
  padding: 5px 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.colorful-table tr td {
 | 
			
		||||
  background-color: $button_color;
 | 
			
		||||
  padding: 5px 0;
 | 
			
		||||
  text-align: center;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.colorful-table .small {
 | 
			
		||||
  width: 250px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.topic {
 | 
			
		||||
  display: grid;
 | 
			
		||||
  grid-template-columns: 1.5fr 96px;
 | 
			
		||||
  grid-template-rows: 1fr;
 | 
			
		||||
  gap: 0px 0px;
 | 
			
		||||
  grid-auto-flow: row;
 | 
			
		||||
  grid-template-areas:
 | 
			
		||||
    "topic-info-container topic-locked-container";
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.topic-info-container {
 | 
			
		||||
  grid-area: topic-info-container;
 | 
			
		||||
  background-color: $accent_color;
 | 
			
		||||
  padding: 5px 20px;
 | 
			
		||||
  border: 1px solid black;
 | 
			
		||||
  display: flex;
 | 
			
		||||
  flex-direction: column;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.topic-locked-container {
 | 
			
		||||
  grid-area: topic-locked-container;
 | 
			
		||||
  border: 2px outset $light;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
.draggable-topic {
 | 
			
		||||
  cursor: pointer;
 | 
			
		||||
  user-select: none;
 | 
			
		||||
  background-color: $accent_color;
 | 
			
		||||
  padding: 20px;
 | 
			
		||||
  margin: 12px 0;
 | 
			
		||||
  border-top: 6px outset $light;
 | 
			
		||||
  border-bottom: 6px outset $dark2;
 | 
			
		||||
  
 | 
			
		||||
  &.dragged {
 | 
			
		||||
    background-color: $button_color;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.editing {
 | 
			
		||||
  background-color: $light;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.context-explain {
 | 
			
		||||
  margin: 20px 0;
 | 
			
		||||
  display: flex;
 | 
			
		||||
  justify-content: space-evenly;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.post-edit-form {
 | 
			
		||||
  display: flex;
 | 
			
		||||
  flex-direction: column;
 | 
			
		||||
  align-items: baseline;
 | 
			
		||||
  height: 100%;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.babycode-editor {
 | 
			
		||||
  height: 150px;
 | 
			
		||||
  font-size: 1rem;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.babycode-editor-container {
 | 
			
		||||
  width: 100%;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.babycode-preview-errors-container {
 | 
			
		||||
  font-size: 0.8rem;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.tab-button {
 | 
			
		||||
  @include button($button_color);
 | 
			
		||||
  border-bottom: none;
 | 
			
		||||
  border-bottom-left-radius: 0;
 | 
			
		||||
  border-bottom-right-radius: 0;
 | 
			
		||||
  margin-bottom: 0;
 | 
			
		||||
  
 | 
			
		||||
  &.active {
 | 
			
		||||
    background-color: $button_color2;
 | 
			
		||||
    padding-top: 8px;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.tab-content {
 | 
			
		||||
  display: none;
 | 
			
		||||
  
 | 
			
		||||
  &.active {
 | 
			
		||||
    min-height: 250px;
 | 
			
		||||
    display: block;
 | 
			
		||||
    background-color: color.adjust($button_color2, $saturation: -20%);
 | 
			
		||||
    border: 1px solid black;
 | 
			
		||||
    padding: 10px;
 | 
			
		||||
    border-top-right-radius: 3px;
 | 
			
		||||
    border-bottom-right-radius: 3px;
 | 
			
		||||
    border-bottom-left-radius: 3px;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ul, ol {
 | 
			
		||||
  margin: 10px 0 10px 30px;
 | 
			
		||||
  padding: 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.new-concept-notification.hidden {
 | 
			
		||||
  display: none;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.new-concept-notification {
 | 
			
		||||
  position: fixed;
 | 
			
		||||
  bottom: 80px;
 | 
			
		||||
  right: 80px;
 | 
			
		||||
  border: 2px solid black;
 | 
			
		||||
  background-color: #81a3e6;
 | 
			
		||||
  padding: 20px 15px;
 | 
			
		||||
  border-radius: 4px;
 | 
			
		||||
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.emoji {
 | 
			
		||||
  max-width: 15px;
 | 
			
		||||
  max-height: 15px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.accordion {
 | 
			
		||||
  border-top-right-radius: 3px;
 | 
			
		||||
  border-top-left-radius: 3px;
 | 
			
		||||
  box-sizing: border-box;
 | 
			
		||||
  border: 1px solid black;
 | 
			
		||||
  margin: 10px 5px;
 | 
			
		||||
  overflow: hidden;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.accordion.hidden {
 | 
			
		||||
  border-bottom: none;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.accordion-header {
 | 
			
		||||
  display: flex;
 | 
			
		||||
  align-items: center;
 | 
			
		||||
  background-color: $accordion_color;
 | 
			
		||||
  padding: 0 10px;
 | 
			
		||||
  gap: 10px;
 | 
			
		||||
  border-bottom: 1px solid black;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.accordion-toggle {
 | 
			
		||||
  padding: 0;
 | 
			
		||||
  width: 36px;
 | 
			
		||||
  height: 36px;
 | 
			
		||||
  min-width: 36px;
 | 
			
		||||
  min-height: 36px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.accordion-title {
 | 
			
		||||
  margin-right: auto;
 | 
			
		||||
  overflow: hidden;
 | 
			
		||||
  text-overflow: ellipsis;
 | 
			
		||||
  white-space: nowrap;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.accordion-content {
 | 
			
		||||
  padding: 0 15px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.accordion-content.hidden {
 | 
			
		||||
  display: none;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.post-accordion-content {
 | 
			
		||||
  padding-top: 10px;
 | 
			
		||||
  padding-bottom: 10px;
 | 
			
		||||
  background-color: $main_bg;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.inbox-container {
 | 
			
		||||
  padding: 10px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.babycode-button-container {
 | 
			
		||||
  display: flex;
 | 
			
		||||
  gap: 5px;
 | 
			
		||||
  flex-wrap: wrap;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.babycode-button {
 | 
			
		||||
  padding: 5px 10px;
 | 
			
		||||
  min-width: 36px;
 | 
			
		||||
  
 | 
			
		||||
  &> * {
 | 
			
		||||
    font-size: 1rem;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.quote-popover {
 | 
			
		||||
  position: absolute;
 | 
			
		||||
  transform: translateX(-50%);
 | 
			
		||||
  margin: 0;
 | 
			
		||||
  border: none;
 | 
			
		||||
  border-radius: 4px;
 | 
			
		||||
  background-color: #00000080;
 | 
			
		||||
  padding: 5px 10px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
footer {
 | 
			
		||||
  border-top: 1px solid black;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.reaction-button.active {
 | 
			
		||||
  @include button($button_color2);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.reaction-popover {
 | 
			
		||||
  position: relative;
 | 
			
		||||
  margin: 0;
 | 
			
		||||
  border: none;
 | 
			
		||||
  border-radius: 4px;
 | 
			
		||||
  background-color: #000000b0;
 | 
			
		||||
  padding: 5px 10px;
 | 
			
		||||
  width: 250px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.reaction-popover-inner {
 | 
			
		||||
  display: flex;
 | 
			
		||||
  flex-wrap: wrap;
 | 
			
		||||
  overflow: scroll;
 | 
			
		||||
  margin: auto;
 | 
			
		||||
  justify-content: center;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.babycode-guide-list {
 | 
			
		||||
  border-bottom: 1px dashed;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user