85 lines
1.4 KiB
SCSS
85 lines
1.4 KiB
SCSS
@import "defs";
|
|
|
|
.square_boxes {
|
|
display: flex;
|
|
flex: 62%;
|
|
text-align: center;
|
|
font-family: LunaSans;
|
|
gap: 45px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.square_box {
|
|
width: 200px;
|
|
min-height: 200px;
|
|
background: linear-gradient(-0.125turn, $blue, $violet);
|
|
}
|
|
|
|
.square_box-inner-bottom {
|
|
margin: 1px 1px 0 1px;
|
|
border-bottom: 1px solid white;
|
|
min-height: 198px;
|
|
background-color: white;
|
|
}
|
|
|
|
.square_box-inner-top {
|
|
margin: 0 1px 1px 1px;
|
|
min-height: 198px;
|
|
border-top: 1px solid white;
|
|
background-color: white;
|
|
}
|
|
|
|
.square_box-inner-right {
|
|
margin: 1px 0 1px 1px;
|
|
min-width: 198px;
|
|
min-height: 198px;
|
|
border-right: 1px solid white;
|
|
background-color: white;
|
|
}
|
|
|
|
.square_box-inner-left {
|
|
margin: 1px 1px 1px 0;
|
|
min-width: 198px;
|
|
min-height: 198px;
|
|
border-left: 1px solid white;
|
|
background-color: white;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
.square_box-inner {
|
|
color: white;
|
|
background-color: black;
|
|
}
|
|
|
|
.square_box-inner-bottom {
|
|
border-bottom: 1px solid black;
|
|
}
|
|
|
|
.square_box-inner-top {
|
|
border-top: 1px solid black;
|
|
}
|
|
|
|
.square_box-inner-right {
|
|
border-right: 1px solid black;
|
|
}
|
|
|
|
.square_box-inner-left {
|
|
border-left: 1px solid black;
|
|
}
|
|
}
|
|
|
|
.square_box-title {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 16px 6px 6px 6px;
|
|
box-sizing: border-box;
|
|
font-family: Neucha;
|
|
font-size: 175%;
|
|
}
|
|
|
|
.square_box-text {
|
|
padding: 6px;
|
|
}
|