Add header, footer, article basic styles
This commit is contained in:
parent
b0fb9f3a52
commit
59da0e0447
3 changed files with 238 additions and 36 deletions
|
@ -1,71 +1,155 @@
|
||||||
body {
|
.HID {
|
||||||
background-color: #212A3E;
|
display: none;
|
||||||
}
|
}
|
||||||
body .block-out {
|
|
||||||
|
html, body {
|
||||||
|
background-color: #131a21;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
box-sizing: border-box;
|
||||||
|
height: 100%;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
html a, body a {
|
||||||
|
background-color: transparent;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
html a:link, body a:link {
|
||||||
|
color: #fb923c;
|
||||||
|
}
|
||||||
|
html a:visited, body a:visited {
|
||||||
|
color: #fb923c;
|
||||||
|
}
|
||||||
|
html a:hover, body a:hover {
|
||||||
|
color: #fb923c;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
html a:active, body a:active {
|
||||||
|
color: #2b3642;
|
||||||
|
}
|
||||||
|
html header, body header {
|
||||||
|
flex-grow: 0;
|
||||||
|
flex-shrink: 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
min-height: 50px;
|
||||||
|
background-color: #10161d;
|
||||||
|
border-bottom: #fb923c 1px solid;
|
||||||
|
}
|
||||||
|
html header #hlogo, body header #hlogo {
|
||||||
|
max-width: 50px;
|
||||||
|
max-height: 50px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
html header #hlogo > img, body header #hlogo > img {
|
||||||
|
max-width: 50px;
|
||||||
|
max-height: 50px;
|
||||||
|
}
|
||||||
|
html header .tmpinfo, body header .tmpinfo {
|
||||||
|
color: #d2e0f0;
|
||||||
|
}
|
||||||
|
html article, body 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: #171e26;
|
||||||
|
color: #d2e0f0;
|
||||||
|
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";
|
||||||
|
}
|
||||||
|
html article .title, body article .title {
|
||||||
|
font-size: 24px;
|
||||||
|
font-weight: bold;
|
||||||
|
align-self: center;
|
||||||
|
margin: 0;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
}
|
||||||
|
html .block-out, body .block-out {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
flex-grow: 1;
|
||||||
|
width: 90%;
|
||||||
align-self: center;
|
align-self: center;
|
||||||
}
|
}
|
||||||
@media only screen and (min-width: 768px) {
|
@media only screen and (min-width: 768px) {
|
||||||
body .block-out {
|
html .block-out, body .block-out {
|
||||||
margin: 0rem 5rem;
|
margin: 0rem 5rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
body .block-out .block-in {
|
html .block-out .block-in, body .block-out .block-in {
|
||||||
background-color: #173652;
|
background-color: #2b3642;
|
||||||
color: #F1F6F9;
|
color: #d2e0f0;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
border-style: groove;
|
padding: 1rem 0.5rem;
|
||||||
padding: 1rem 0;
|
|
||||||
margin: 1rem 0;
|
margin: 1rem 0;
|
||||||
}
|
}
|
||||||
body .block-out .block-in .list-header {
|
html .block-out .block-in .list-header, body .block-out .block-in .list-header {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
body .block-out .block-in .basic-list {
|
html .block-out .block-in .basic-list, body .block-out .block-in .basic-list {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
body .block-out .block-in .basic-list > .block-list-in {
|
html .block-out .block-in .basic-list > .block-list-in, body .block-out .block-in .basic-list > .block-list-in {
|
||||||
padding: 0rem 0;
|
padding: 0rem 0;
|
||||||
margin: 0.5rem 0;
|
margin: 0.5rem 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #394867;
|
background-color: #171e26;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
border-style: dotted;
|
border-style: dotted;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
min-width: 50%;
|
min-width: 50%;
|
||||||
}
|
}
|
||||||
@media only screen and (max-width: 768px) {
|
@media only screen and (max-width: 768px) {
|
||||||
body .block-out .block-in .basic-list > .block-list-in {
|
html .block-out .block-in .basic-list > .block-list-in, body .block-out .block-in .basic-list > .block-list-in {
|
||||||
min-width: 90%;
|
min-width: 90%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
body .block-out .block-in .basic-list > .block-list-in .in-p {
|
html .block-out .block-in .basic-list > .block-list-in .in-p, body .block-out .block-in .basic-list > .block-list-in .in-p {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
font-size: x-large;
|
font-size: x-large;
|
||||||
font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
|
font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
|
||||||
}
|
}
|
||||||
body .block-out .block-in .basic-list > .block-list-in > a {
|
html .block-out .block-in .basic-list > .block-list-in > a, body .block-out .block-in .basic-list > .block-list-in > a {
|
||||||
color: #F1F6F9;
|
color: #d2e0f0;
|
||||||
}
|
}
|
||||||
body .block-out .block-in .basic-list > .block-list-in > a:hover {
|
html .block-out .block-in .basic-list > .block-list-in > a:hover, body .block-out .block-in .basic-list > .block-list-in > a:hover {
|
||||||
color: #9BA4B5;
|
color: #2b3642;
|
||||||
}
|
}
|
||||||
body .block-out .block-in .basic-list > .block-list-in > a:visited {
|
html .block-out .block-in .basic-list > .block-list-in > a:visited, body .block-out .block-in .basic-list > .block-list-in > a:visited {
|
||||||
color: #a54051;
|
color: #350000;
|
||||||
}
|
}
|
||||||
body .block-out .block-in .basic-list > .block-hover {
|
html .block-out .block-in .basic-list > .block-hover, body .block-out .block-in .basic-list > .block-hover {
|
||||||
transition: transform 1.2s cubic-bezier(0.075, 0.82, 0.165, 1);
|
transition: transform 1.2s cubic-bezier(0.075, 0.82, 0.165, 1);
|
||||||
}
|
}
|
||||||
body .block-out .block-in .basic-list > .block-hover:hover {
|
html .block-out .block-in .basic-list > .block-hover:hover, body .block-out .block-in .basic-list > .block-hover:hover {
|
||||||
transform: scale(1.2);
|
transform: scale(1.2);
|
||||||
}
|
}
|
||||||
body .HID {
|
html footer, body footer {
|
||||||
|
flex-grow: 0;
|
||||||
|
flex-shrink: 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
min-height: 50px;
|
||||||
|
background-color: #10161d;
|
||||||
|
border-top: #fb923c 1px solid;
|
||||||
|
}
|
||||||
|
html footer .tmpinfo, body footer .tmpinfo {
|
||||||
|
color: #d2e0f0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.HID {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
{"version":3,"sourceRoot":"","sources":["../scss/main.scss"],"names":[],"mappings":"AAeA;EACE,kBAhBgB;;AAkBhB;EACE;EACA;EAMA;;AAJA;EAJF;IAKI;;;AAKF;EACE;EACA,OA3BY;EA6BZ;EACA;EAEA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;EACA;EAEA;EACA;;AAGA;EACE;EACA;EAEA;EAEA,kBAxDQ;EAyDR;EACA;EAEA;EACA;;AAEA;EAbF;IAcI;;;AAGF;EACE;EACA;EACA;EACA;;AAKF;EACE,OA3EM;;AA6EN;EACE,OA/EI;;AAkFN;EACE;;AAMN;EACE;;AAEA;EACE;;AAQV;EACE","file":"main.css"}
|
{"version":3,"sourceRoot":"","sources":["../scss/main.scss"],"names":[],"mappings":"AA0BA;EACE;;;AAGF;EACE,kBAnBgB;EAsChB;EACA;EAEA;EACA;EACA;EACA;;AAxBA;EACE;EACA;;AACA;EACE,OApBY;;AAsBd;EACE,OAvBY;;AAyBd;EACE,OA1BY;EA2BZ;;AAEF;EACE,OAhCY;;AA4ChB;EAGE;EACA;EAEA;EACA;EACA;EAGA;EACA,kBA3Dc;EA4Dd;;AAEA;EACE;EACA;EACA;;AAEA;EACE;EACA;;AAIJ;EAEE,OAvEY;;AA2EhB;EACE;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA,kBAxFc;EAyFd,OAvFc;EAyFd;;AACA;EACE;EACA;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;EACA;EAKA;;AAJA;EALF;IAMI;;;AAKF;EACE,kBAhHY;EAiHZ,OAhHY;EAkHZ;EAEA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;EACA;EAEA;EACA;;AAGA;EACE;EACA;EAEA;EAEA,kBA5IQ;EA6IR;EACA;EAEA;EACA;;AAEA;EAbF;IAcI;;;AAGF;EACE;EACA;EACA;EACA;;AAKF;EACE,OA/JM;;AAiKN;EACE,OAnKI;;AAsKN;EACE;;AAMN;EACE;;AAEA;EACE;;AASV;EACE;EACA;EAEA;EACA;EACA;EAGA;EACA,kBAvMc;EAwMd;;AAEA;EAEE,OAxMY;;;AA+MlB;EACE","file":"main.css"}
|
|
@ -8,18 +8,115 @@ $palette2-color2: #0F4C75;
|
||||||
$palette2-color3: #3282B8;
|
$palette2-color3: #3282B8;
|
||||||
$palette2-color4: #BBE1FA;
|
$palette2-color4: #BBE1FA;
|
||||||
|
|
||||||
$cur-color1: $palette1-color1;
|
// Forgejo like color palette
|
||||||
$cur-color2: $palette1-color2;
|
$palette3-color0: #10161d;
|
||||||
$cur-color3: $palette1-color3;
|
$palette3-color1: #131a21;
|
||||||
$cur-color4: $palette1-color4;
|
$palette3-color2: #171e26;
|
||||||
|
$palette3-color3: #2b3642;
|
||||||
|
$palette3-color4: #d2e0f0;
|
||||||
|
$palette3-accent: #fb923c;
|
||||||
|
|
||||||
body {
|
|
||||||
|
$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;
|
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 {
|
.block-out {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
flex-grow: 1;
|
||||||
|
width: 90%;
|
||||||
@media only screen and (min-width: 768px) {
|
@media only screen and (min-width: 768px) {
|
||||||
margin: 0rem 5rem;
|
margin: 0rem 5rem;
|
||||||
}
|
}
|
||||||
|
@ -27,13 +124,12 @@ body {
|
||||||
align-self: center;
|
align-self: center;
|
||||||
|
|
||||||
.block-in {
|
.block-in {
|
||||||
background-color: adjust-color($color: $cur-color1, $red: -10, $green: 12, $blue: 20, $alpha: 0.8);
|
background-color: $cur-color3;
|
||||||
color: $cur-color4;
|
color: $cur-color4;
|
||||||
|
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
border-style: groove;
|
|
||||||
|
|
||||||
padding: 1rem 0;
|
padding: 1rem 0.5rem;
|
||||||
margin: 1rem 0;
|
margin: 1rem 0;
|
||||||
|
|
||||||
.list-header {
|
.list-header {
|
||||||
|
@ -101,7 +197,29 @@ body {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.HID {
|
|
||||||
display: none;
|
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;
|
||||||
|
}
|
Loading…
Reference in a new issue