225 lines
No EOL
4.1 KiB
SCSS
225 lines
No EOL
4.1 KiB
SCSS
$palette1-color1: #212A3E;
|
|
$palette1-color2: #394867;
|
|
$palette1-color3: #9BA4B5;
|
|
$palette1-color4: #F1F6F9;
|
|
|
|
$palette2-color1: #1B262C;
|
|
$palette2-color2: #0F4C75;
|
|
$palette2-color3: #3282B8;
|
|
$palette2-color4: #BBE1FA;
|
|
|
|
// Forgejo like color palette
|
|
$palette3-color0: #10161d;
|
|
$palette3-color1: #131a21;
|
|
$palette3-color2: #171e26;
|
|
$palette3-color3: #2b3642;
|
|
$palette3-color4: #d2e0f0;
|
|
$palette3-accent: #fb923c;
|
|
|
|
|
|
$cur-color0: $palette3-color0;
|
|
$cur-color1: $palette3-color1;
|
|
$cur-color2: $palette3-color2;
|
|
$cur-color3: $palette3-color3;
|
|
$cur-color4: $palette3-color4;
|
|
$accent-color: $palette3-accent;
|
|
|
|
.HID {
|
|
display: none;
|
|
}
|
|
|
|
html, body {
|
|
background-color: $cur-color1;
|
|
a {
|
|
background-color: transparent;
|
|
text-decoration: none;
|
|
&:link{
|
|
color: $accent-color;
|
|
}
|
|
&:visited {
|
|
color: $accent-color;
|
|
}
|
|
&:hover{
|
|
color: $accent-color;
|
|
text-decoration: underline;
|
|
}
|
|
&:active {
|
|
color: $cur-color3;
|
|
}
|
|
}
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
box-sizing: border-box;
|
|
height: 100%;
|
|
padding: 0;
|
|
margin: 0;
|
|
|
|
header {
|
|
//WIP
|
|
|
|
flex-grow: 0;
|
|
flex-shrink: 0;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
|
|
min-height: 50px;
|
|
background-color: $cur-color0;
|
|
border-bottom: $accent-color 1px solid;
|
|
|
|
#hlogo {
|
|
max-width: 50px;
|
|
max-height: 50px;
|
|
box-sizing: border-box;
|
|
|
|
>img {
|
|
max-width: 50px;
|
|
max-height: 50px;
|
|
}
|
|
}
|
|
|
|
.tmpinfo {
|
|
//TMP
|
|
color: $cur-color4;
|
|
}
|
|
}
|
|
|
|
article {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
align-items: start;
|
|
|
|
width: 100%;
|
|
height: calc(100% - 50px);
|
|
padding: 10px;
|
|
box-sizing: border-box;
|
|
|
|
background-color: $cur-color2;
|
|
color: $cur-color4;
|
|
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
.title {
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
align-self: center;
|
|
margin: 0;
|
|
padding-bottom: 10px;
|
|
}
|
|
}
|
|
|
|
.block-out {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-grow: 1;
|
|
width: 90%;
|
|
@media only screen and (min-width: 768px) {
|
|
margin: 0rem 5rem;
|
|
}
|
|
|
|
align-self: center;
|
|
|
|
.block-in {
|
|
background-color: $cur-color3;
|
|
color: $cur-color4;
|
|
|
|
border-radius: 10px;
|
|
|
|
padding: 1rem 0.5rem;
|
|
margin: 1rem 0;
|
|
|
|
.list-header {
|
|
text-align: center;
|
|
}
|
|
|
|
.basic-list {
|
|
list-style-type: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
padding: 0px;
|
|
|
|
|
|
>.block-list-in {
|
|
padding: 0rem 0;
|
|
margin: 0.5rem 0;
|
|
|
|
text-align: center;
|
|
|
|
background-color: $cur-color2;
|
|
border-radius: 10px;
|
|
border-style: dotted;
|
|
|
|
width: fit-content;
|
|
min-width: 50%;
|
|
|
|
@media only screen and (max-width: 768px) {
|
|
min-width: 90%;
|
|
}
|
|
|
|
.in-p {
|
|
margin: 0px;
|
|
padding: 1rem;
|
|
font-size: x-large;
|
|
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
|
|
}
|
|
|
|
|
|
|
|
// >a {
|
|
// color: $cur-color4;
|
|
|
|
// &:hover {
|
|
// color: $cur-color3;
|
|
// }
|
|
|
|
// &:visited {
|
|
// color: adjust-color($color: $cur-color3, $red: 10, $green: -100, $blue: -100, $alpha: 1.0);
|
|
// }
|
|
// }
|
|
|
|
}
|
|
|
|
>.block-hover {
|
|
transition: transform 1.2s cubic-bezier(0.075, 0.82, 0.165, 1);
|
|
|
|
&:hover {
|
|
transform: scale(1.1);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
footer {
|
|
flex-grow: 0;
|
|
flex-shrink: 0;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
// margin-top:auto;
|
|
|
|
min-height: 50px;
|
|
background-color: $cur-color0;
|
|
border-top: $accent-color 1px solid;
|
|
|
|
.tmpinfo {
|
|
//TMP
|
|
color: $cur-color4;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.HID {
|
|
display: none;
|
|
} |