1
0
www.mikescher.com/www/data/css/styles_blogview_aoc.scss

166 lines
2.8 KiB
SCSS
Raw Normal View History

2019-11-03 00:06:25 +01:00
@import 'styles_config';
// ==================== AdventOfCode Blog Listing ==================== //
.aoc_calendar_parent {
display: flex;
justify-content: center;
margin-top: 1em;
padding-bottom: 1.5em;
}
.aoc_calendar_header {
display: flex;
flex-direction: row;
justify-content: space-between;
margin-bottom: 0.5em;
2019-11-08 16:09:42 +01:00
background: $LAYER2_HEADER_BG;
2019-11-03 00:06:25 +01:00
}
.aoc_calendar_header_link {
display: flex;
2019-11-08 16:09:42 +01:00
color: $LAYER2_HEADER_FG;
2019-11-03 00:06:25 +01:00
text-decoration: none;
}
.aoc_calendar_header_title {
flex-grow: 0;
display: flex;
2019-11-08 16:09:42 +01:00
color: $LAYER2_HEADER_FG;
2019-11-03 00:06:25 +01:00
font-family: $FONT_HEADER;
font-weight: bold;
}
2020-01-06 21:58:09 +01:00
.aoc_calendar_header_title a {
color: $LAYER2_HEADER_FG;
font-family: $FONT_HEADER;
text-decoration: none;
}
2019-11-03 00:06:25 +01:00
.aoc_calendar_header_link.aoc_prev {
flex-grow: 0;
padding-left: 0.5em;
}
.aoc_calendar_header_link.aoc_next {
flex-grow: 0;
padding-right: 0.5em;
}
.aoc_calendar_header_link.aoc_link_hidden {
visibility: hidden;
}
.aoc_calendar {
display: flex;
flex-direction: column;
2019-11-08 16:09:42 +01:00
background: $LAYER2_BG;
2019-11-03 00:06:25 +01:00
font-size: xx-large;
font-family: $FONT_CODE;
2019-11-08 16:09:42 +01:00
border: $LAYER2_BORDER;
2019-11-03 00:06:25 +01:00
padding-bottom: 0.5em;
}
2020-08-10 22:25:43 +02:00
@include rdmedia_range(0,1) { .aoc_calendar { transform: scale(0.75); } } // cause I'm lazy
2019-11-03 00:06:25 +01:00
.aoc_calendar_row {
display: flex;
flex-direction: row;
justify-content: center;
margin-left: 0.5em;
margin-right: 0.5em;
}
.aoc_calendar_field {
display: flex;
align-items: center;
justify-content: center;
width: 2em;
height: 2em;
margin: 4px;
text-decoration: none;
font-weight: bold;
}
.aoc_calendar_field.aoc_enabled {
2019-11-08 16:09:42 +01:00
background: $AOC_FIELD_GREEN;
color: $AOC_FIELD_RED;
2019-11-03 00:06:25 +01:00
border: 1px solid #FFFFFF;
2019-11-08 16:09:42 +01:00
text-shadow: 0 0 0.2em #222222;
2019-11-03 00:06:25 +01:00
font-weight: bold;
}
.aoc_calendar_field.aoc_enabled:hover {
2019-11-08 16:09:42 +01:00
background: $AOC_FIELD_GREEN_ALT;
color: $AOC_FIELD_RED;
border: 1px solid $AOC_FIELD_RED;
2019-11-03 00:06:25 +01:00
text-shadow: 0 0 0 #000;
}
.aoc_calendar_field.aoc_disabled {
2019-11-08 16:09:42 +01:00
background: $AOC_FIELD_DISABLED_BG;
color: $AOC_FIELD_DISABLED_FG;
2019-11-03 00:06:25 +01:00
border: 1px solid #888;
cursor: default;
font-weight: normal;
}
// ==================== AdventOfCode Blog - Single Day View ==================== //
2019-11-08 16:09:42 +01:00
.bc_aoc_description_parent {
background-color: $AOC_DESCRIPTION_BG;
color: $AOC_DESCRIPTION_FG;
}
.bc_aoc_description {
font-family: $FONT_CODE;
padding: 1ch;
max-width: 82ch;
}
.bc_aoc_input {
font-family: $FONT_CODE;
2019-11-08 16:09:42 +01:00
border: $LAYER2_BORDER;
padding: 1em;
max-height: 150px;
overflow-y: scroll;
2019-11-08 16:09:42 +01:00
background: $LAYER2_CODE_BG;
color: $LAYER2_CODE_FG;
}
.bc_aoc_solution_parent {
2019-11-08 16:09:42 +01:00
border: $LAYER2_BORDER;
}
.bc_aoc_solution_code {
padding: 0;
}
.bc_aoc_solution_code pre {
2019-11-08 16:09:42 +01:00
margin: 0 !important;
border: none;
}
.bc_aoc_solution_value {
2019-11-08 16:09:42 +01:00
background: $LAYER2_HEADER_BG;
color: $LAYER2_HEADER_FG;
2020-12-02 08:32:04 +01:00
padding-left: 2px;
}
.bc_aoc_solution_value.multi {
border-top: $LAYER2_BORDER;
}