New styling
This commit is contained in:
parent
0abbfe9088
commit
b26079146c
6 changed files with 341 additions and 129 deletions
|
|
@ -1,33 +0,0 @@
|
|||
.container {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.dividerIcon {
|
||||
margin: 10px 0 15px;
|
||||
position: relative;
|
||||
|
||||
& mdui-icon {
|
||||
font-size: 48px;
|
||||
}
|
||||
}
|
||||
|
||||
.dividerIcon::before,
|
||||
.dividerIcon::after {
|
||||
border-bottom: 0.5rem solid;
|
||||
border-radius: 5em;
|
||||
content: "";
|
||||
margin: 0 1em;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: 6rem;
|
||||
}
|
||||
|
||||
.dividerIcon::before {
|
||||
right: 100%;
|
||||
}
|
||||
|
||||
.dividerIcon::after {
|
||||
left: 100%;
|
||||
}
|
||||
79
src/styles/global.css
Normal file
79
src/styles/global.css
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
:root {
|
||||
--primary: 78, 148, 228;
|
||||
background-image: url(background.svg);
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
[variant="outlined"] {
|
||||
border: 3px solid rgb(var(--primary));
|
||||
}
|
||||
|
||||
body {
|
||||
--circle-color: rgba(var(--primary), 0.8);
|
||||
--bg-color: rgb(var(--mdui-color-background));
|
||||
|
||||
background-repeat: no-repeat;
|
||||
margin: 0;
|
||||
|
||||
background: radial-gradient(
|
||||
circle 1200px at -25vw -20vh,
|
||||
var(--circle-color),
|
||||
transparent
|
||||
),
|
||||
radial-gradient(
|
||||
circle 1000px at 130vw 130vh,
|
||||
var(--circle-color),
|
||||
transparent
|
||||
);
|
||||
}
|
||||
|
||||
mdui-navigation-bar {
|
||||
background: transparent;
|
||||
:root:not([data-scroll="0"]) & {
|
||||
backdrop-filter: blur(5px);
|
||||
}
|
||||
}
|
||||
|
||||
main {
|
||||
flex-direction: column;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 2em;
|
||||
}
|
||||
|
||||
mdui-divider {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
mdui-icon {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
spacer {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
img,
|
||||
mdui-icon {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
:not(:defined) {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
#dark {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
& #light {
|
||||
display: none;
|
||||
}
|
||||
|
||||
& #dark {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
57
src/styles/index.css
Normal file
57
src/styles/index.css
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
section {
|
||||
width: 100%;
|
||||
max-width: 1000px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
& div {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 1.5em;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
gap: 0.5em;
|
||||
padding: 1em 2em;
|
||||
|
||||
& h2 {
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
& p {
|
||||
font-size: 1.3em;
|
||||
}
|
||||
|
||||
&#home {
|
||||
font-size: 2em;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding-bottom: 1em;
|
||||
|
||||
& img {
|
||||
max-width: 35rem;
|
||||
height: min-content;
|
||||
}
|
||||
|
||||
& span {
|
||||
display: flex;
|
||||
text-align: center;
|
||||
padding: 0 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
&#about {
|
||||
& #stats img {
|
||||
width: 45%;
|
||||
min-width: 400px;
|
||||
}
|
||||
|
||||
& #certificates {
|
||||
padding-top: 1em;
|
||||
& a {
|
||||
min-width: 150px;
|
||||
width: 15%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
#jumbo {
|
||||
font-size: 2em;
|
||||
text-align: center;
|
||||
|
||||
& #logoLong {
|
||||
width: 35rem;
|
||||
height: min-content;
|
||||
}
|
||||
|
||||
& #shortAbout {
|
||||
display: block;
|
||||
padding: 2rem 1rem;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
html,
|
||||
body {
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
mdui-top-app-bar {
|
||||
align-items: center;
|
||||
padding-left: 1em;
|
||||
gap: 0.2em;
|
||||
|
||||
& mdui-top-app-bar-title {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
& mdui-icon {
|
||||
font-size: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
spacer {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
:not(:defined) {
|
||||
visibility: hidden;
|
||||
}
|
||||
22
src/styles/topBar.css
Normal file
22
src/styles/topBar.css
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
mdui-top-app-bar {
|
||||
align-items: center;
|
||||
padding: 0 1em;
|
||||
gap: 0.2em;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
|
||||
& mdui-icon {
|
||||
border: 2px solid rgb(var(--primary));
|
||||
width: 1.5em;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
& mdui-button-icon {
|
||||
width: 1.3em;
|
||||
color: rgb(var(--primary)) !important;
|
||||
}
|
||||
|
||||
& h1 {
|
||||
font-size: inherit;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue