redo entire design
This commit is contained in:
parent
bb9a47b275
commit
a704a208dc
19 changed files with 127 additions and 1735 deletions
391
bundle.css
391
bundle.css
|
|
@ -1,346 +1,121 @@
|
|||
:root {
|
||||
--text: black;
|
||||
--accent: #ff1b8d;
|
||||
--accent2: #FA7DBC;
|
||||
--background: #fba0e3;
|
||||
--background-body: #ffcff1;
|
||||
--rounding: 8em;
|
||||
--transitiondur: 0.3s;
|
||||
color-scheme: light dark;
|
||||
--background: light-dark(#FFADD6, black);
|
||||
--text: light-dark(black, white);
|
||||
--rounding: 25px;
|
||||
}
|
||||
|
||||
* {
|
||||
transition-duration: var(--transitiondur);
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
--text: #1e0611;
|
||||
--background: #FFADD6;
|
||||
--primary: #7b194a;
|
||||
--secondary: #520029;
|
||||
--accent: #ff2b95;
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--text: #f9e1ec;
|
||||
--background: #290918;
|
||||
--primary: #e684b5;
|
||||
--secondary: #ffadd6;
|
||||
--accent: #FF7BFF;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
padding: 0px;
|
||||
margin: auto;
|
||||
height: 100vh;
|
||||
background-color: var(--background-body);
|
||||
font-family: ComicShannsMono Nerd Font, Chalkboard, Comic Sans MS, sans-serif;
|
||||
background: linear-gradient(#FF61B0 0vh, #b24dff 50vh, #E70073 100vh, #FFF 100%); /*-- light mode
|
||||
* background: linear-gradient(#880044 0vh, #58009b 50vh, #850042 100vh, #000 100%) -- dark mode*/
|
||||
font-family: Comic Neue, Chalkboard, Comic Sans MS;
|
||||
/* background: #ffd1e8; /* ff61b0 */
|
||||
/* background: #ff389c; /* dark mode */
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
background-image: url("/img/background.jpg");
|
||||
background-position: 100% 100%;
|
||||
background-size: cover;
|
||||
background-repeat: repeat;
|
||||
backdrop-filter: blur(5px);
|
||||
h1 {
|
||||
color: var(--primary);
|
||||
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: var(--secondary);
|
||||
}
|
||||
|
||||
a {
|
||||
padding: 0.3em;
|
||||
display: inline-block;
|
||||
border-radius: var(--rounding);
|
||||
text-decoration: none;
|
||||
color: var(--text);
|
||||
color: var(--primary);
|
||||
text-decoration: underline 1px wavy var(--accent);
|
||||
}
|
||||
|
||||
a:hover {
|
||||
background-color: var(--accent2);
|
||||
transform: translateY(-5px) rotate(-7deg) scale(200%);
|
||||
margin-left: 2em;
|
||||
margin-right: 2em;
|
||||
}
|
||||
/*
|
||||
* basic elements
|
||||
*/
|
||||
|
||||
a {
|
||||
b {
|
||||
color: var(--accent);
|
||||
transition-duration: var(--transitiondur);
|
||||
}
|
||||
|
||||
a:hover {
|
||||
border-radius: var(--rounding);
|
||||
background-color: var(--text);
|
||||
rotate: -2deg;
|
||||
scale: 125%;
|
||||
transform: translateY(-10px);
|
||||
|
||||
padding: 10px;
|
||||
margin: -10px;
|
||||
display: inline-block;
|
||||
i {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
/*
|
||||
* header
|
||||
*/
|
||||
#content {
|
||||
width: calc(100vw - 50px);
|
||||
height: calc(100vh - 50px);
|
||||
|
||||
header {
|
||||
width: auto;
|
||||
height: 30svh;
|
||||
margin: auto;
|
||||
animation: spinin 1s;
|
||||
|
||||
border-bottom-left-radius: var(--rounding);
|
||||
border-bottom-right-radius: var(--rounding);
|
||||
|
||||
marquee {
|
||||
color: var(--text);
|
||||
background-color: var(--accent2);
|
||||
}
|
||||
|
||||
h1 {
|
||||
text-orientation: mixed;
|
||||
writing-mode: vertical-lr;
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
|
||||
color: var(--background-body);
|
||||
background-color: var(--accent2);
|
||||
-webkit-text-stroke: 2px var(--text);
|
||||
}
|
||||
|
||||
.flex {
|
||||
margin-left: 0px;
|
||||
padding-left: 0px;
|
||||
height: inherit;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
object-fit: cover;
|
||||
max-height: 100%;
|
||||
border-bottom-right-radius: var(--rounding);
|
||||
}
|
||||
|
||||
#wave-text * {
|
||||
animation: wave 3s infinite;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
.flex {
|
||||
display: flex;
|
||||
margin: var(--rounding);
|
||||
}
|
||||
|
||||
@keyframes wave {
|
||||
0% {
|
||||
transform: translateX(0);
|
||||
}
|
||||
25% {
|
||||
scale: 120%;
|
||||
}
|
||||
50% {
|
||||
transform: translateX(50px);
|
||||
}
|
||||
100% {
|
||||
transform: translateX(0px);
|
||||
}
|
||||
#content > * {
|
||||
border-radius: 25px;
|
||||
|
||||
background: var(--background);
|
||||
box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
|
||||
}
|
||||
|
||||
@keyframes spinin {
|
||||
0% {
|
||||
transform: translateX(-100%) translateY(-100%);
|
||||
}
|
||||
100% {
|
||||
transform: translateX(0px);
|
||||
}
|
||||
#bg-overlay {
|
||||
min-width: 50vw;
|
||||
margin-left: 12px;
|
||||
max-width: 100vw;
|
||||
flex-grow: 1;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
/*
|
||||
* nav/sidebar
|
||||
*/
|
||||
header h1 {
|
||||
writing-mode: vertical-lr;
|
||||
text-orientation: mixed;
|
||||
|
||||
#main-page {
|
||||
display: flex;
|
||||
flex-direction: reverse-row;
|
||||
font-size: 7vh;
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
padding: 0.3em
|
||||
}
|
||||
|
||||
nav {
|
||||
margin-top: 2em;
|
||||
width: 7em;
|
||||
|
||||
ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
li {
|
||||
color: var(--text) !important;
|
||||
background-color: var(--background);
|
||||
border-radius: var(--rounding);
|
||||
border: #000000 2px dotted;
|
||||
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
margin-top: 1em;
|
||||
margin-bottom: 1em;
|
||||
padding: 1em;
|
||||
width: 6em;
|
||||
}
|
||||
|
||||
a {
|
||||
color: black;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
li:hover {
|
||||
transform: scale(125%);
|
||||
filter: hue-rotate(60deg);
|
||||
border: white 2px solid;
|
||||
background-image: url("/img/astolfos/header.gif");
|
||||
background-position: 100% 100%;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
background-color: inherit;
|
||||
transform: none;
|
||||
rotate: 0deg;
|
||||
}
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
/*
|
||||
* footer
|
||||
*/
|
||||
nav > a {
|
||||
width: inherit;
|
||||
padding: 0.5em;
|
||||
filter: grayscale(1) ;
|
||||
text-decoration: none;
|
||||
height: 2.5em;
|
||||
|
||||
footer {
|
||||
color: var(--text);
|
||||
background-color: var(--background);
|
||||
display: flex;
|
||||
|
||||
margin: 0px;
|
||||
padding: 30px;
|
||||
border-top-right-radius: var(--rounding);
|
||||
border-top-left-radius: var(--rounding);
|
||||
box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
|
||||
|
||||
background-image: url("/img/astolfos/footer.webp");
|
||||
background-position: 100% 100%;
|
||||
background-size: 10em;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
|
||||
transition-duration: 0.5s;
|
||||
}
|
||||
|
||||
footer p,hr,div {
|
||||
padding-left: 30px;
|
||||
nav > a:hover {
|
||||
filter: grayscale(0);
|
||||
transform: translateX(10px);
|
||||
}
|
||||
|
||||
@keyframes float {
|
||||
0%, 100% {
|
||||
transform: translateY(0px);
|
||||
}
|
||||
50% {
|
||||
transform: translateY(-10px);
|
||||
}
|
||||
nav > a > p {
|
||||
backdrop-filter: blur(10px);
|
||||
color: light-dark(var(--text), var(--background));
|
||||
width: fit-content;
|
||||
padding: 0.2em;
|
||||
border-radius: 20%;
|
||||
margin: 0 0 0 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* blog
|
||||
*/
|
||||
|
||||
.blog-content {
|
||||
margin: auto;
|
||||
width: 50em;
|
||||
}
|
||||
|
||||
.blog-content h1 {
|
||||
font-family: Serif;
|
||||
font-size: 3rem;
|
||||
}
|
||||
|
||||
/*
|
||||
* animations
|
||||
*/
|
||||
.spin {
|
||||
animation: spin 2s infinite linear;
|
||||
display: inline-block;
|
||||
color: orange;
|
||||
}
|
||||
|
||||
.hue-change {
|
||||
animation: hue-change 2s infinite linear;
|
||||
display: inline-block;
|
||||
color: orange;
|
||||
}
|
||||
|
||||
.size-big-small {
|
||||
animation: size-big-small 2s infinite linear;
|
||||
display: inline-block;
|
||||
color: orange;
|
||||
}
|
||||
|
||||
@keyframes hue-change {
|
||||
from {
|
||||
filter: hue-rotate(0deg);
|
||||
}
|
||||
to {
|
||||
filter: hue-rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes size-big-small {
|
||||
from {
|
||||
transform: scale(1);
|
||||
}
|
||||
40% {
|
||||
transform: scale(2);
|
||||
}
|
||||
80% {
|
||||
transform: scale(0.75);
|
||||
}
|
||||
to {
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* responsive webpage
|
||||
*/
|
||||
.horizontal-flex {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
@media (max-width: 1000px) {
|
||||
header {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
header h1 {
|
||||
top: 0.3em;
|
||||
font-size: 5em;
|
||||
}
|
||||
|
||||
.horizontal-flex {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#main-page {
|
||||
flex-direction: column-reverse;
|
||||
padding-left: 0px;
|
||||
}
|
||||
|
||||
nav {
|
||||
width: 100%;
|
||||
ul {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
|
||||
li {
|
||||
width: fit-content;
|
||||
}
|
||||
}
|
||||
|
||||
.hide-mobile {
|
||||
display: none;
|
||||
}
|
||||
|
||||
footer marquee {
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
.blog-content {
|
||||
width: 90vw !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue