Compare commits

...

2 Commits

Author SHA1 Message Date
ktyl e9a1291413 update site colours
continuous-integration/drone/push Build is passing Details
2022-12-24 18:12:13 +00:00
ktyl 03c2cec511 wip start improving colours
continuous-integration/drone/push Build is passing Details
2022-12-23 02:16:44 +00:00
11 changed files with 71 additions and 116 deletions

View File

@ -22,14 +22,13 @@
} }
.page .blog .code-panel { .page .blog .code-panel {
color: var(--background); color: var(--lighter);
background-color: var(--foreground); background-color: var(--darker);
font-size 1.5em; font-size 1.5em;
line-height: 1.3em; line-height: 1.3em;
border-color: var(--accent); border-color: var(--light);
border-width: 2px;
border-radius: 2em; border-radius: 2em;
border-style: solid; border-style: solid;
@ -56,8 +55,6 @@
height: 0.8em; height: 0.8em;
padding: 0.07em 0.25em; padding: 0.07em 0.25em;
margin: 0 0.1em; margin: 0 0.1em;
background-color: var(--foreground-inactive);
color: var(--background);
border-radius: .3em; border-radius: .3em;
} }
@ -68,25 +65,28 @@ ul.blog-index li {
} }
ul.blog-index li a { ul.blog-index li a {
color: var(--foreground-inactive); color: var(--darker);
transition: none; transition: none;
text-decoration: none; text-decoration: none;
} }
.blog-index li a:visited {
color: var(--light);
}
.blog-index li a:hover { .blog-index li a:hover {
color: var(--accent); color: var(--accent);
} }
.blog-index li a:visited {
color: var(--foreground);
}
.page ul.blog-index li a::before {
content: "• "
}
.blog-index .post-date { .blog-index .post-date {
padding-right: 1em; padding-right: .3em;
left: -1.9em;
position: relative;
}
.blog-index .post-date:hover {
color: var(--accent);
} }
.page .blog .img-panel .page .blog .img-panel

View File

@ -6,6 +6,6 @@
position: absolute; position: absolute;
left: 50%; left: 50%;
transform: translate(-50%, 0); transform: translate(-50%, 0);
color: var(--foreground-inactive); color: var(--clear);
padding: 2em; padding: 2em;
} }

View File

@ -1,11 +1,13 @@
.page.portfolio { .page.portfolio {
padding-top: 0; padding-top: 2em;
width: 50%; width: 50%;
margin-left:auto; margin-left:auto;
margin-right:auto; margin-right:auto;
transform: translate(-50%,0); transform: translate(-50%,0);
color: var(--darker);
} }
.portfolio p { .portfolio p {
@ -17,17 +19,6 @@
background-color: var(--clear); background-color: var(--clear);
} }
.glass {
padding: 0.4em 0.6em;
color: var(--foreground-inactive);
background-color: var(--background);
opacity:0.9;
border-style:solid;
border-radius:2em;
border-color:var(--clear);
}
/* gallery img */ /* gallery img */
.wrapper { .wrapper {
margin-top: 1em; margin-top: 1em;
@ -35,6 +26,13 @@
height: 100%; height: 100%;
display: grid; display: grid;
grid-template-columns: 1fr 1fr 1fr; grid-template-columns: 1fr 1fr 1fr;
border-color: var(--light);
border-style: solid;
border-radius: 1em;
border-width: 3px;
overflow: hidden;
} }
.wrapper .imgHolder { .wrapper .imgHolder {
position: relative; position: relative;
@ -106,7 +104,4 @@
.icon-link { .icon-link {
display: none; display: none;
} }
.wrapper .imgHolder span i {
/*display: none;*/
}
} }

View File

@ -4,14 +4,14 @@
text-align: center; text-align: center;
} }
.landing .fsText a { .landing a {
color: var(--foreground-inactive); color: var(--foreground);
font-size: 2em; font-size: 2em;
transform: translate(0,50%); transform: translate(0,50%);
transition: all 0.3s; transition: all 0.3s;
} }
.landing .fsText a:hover { .landing a:hover {
color: var(--accent); color: var(--accent);
} }
@ -23,9 +23,9 @@
.landing li a { .landing li a {
position: relative; position: relative;
font-size: 2.5em; font-size: 3.0em;
margin: 0 .2em; margin: 0 .2em;
color: var(--foreground-inactive); color: var(--darker);
} }
.landing li a:hover { .landing li a:hover {
transform: translateY(-10%); transform: translateY(-10%);
@ -34,7 +34,6 @@
.landing .socials { .landing .socials {
position: relative; position: relative;
background-color: var(--clear);
top: 1em; top: 1em;
left: auto; left: auto;
@ -44,8 +43,7 @@
} }
.landing .socials i { .landing .socials i {
color: var(--foreground-inactive); font-size: 2.5em;
font-size: 3.5em;
padding: 0 .07em; padding: 0 .07em;
} }

View File

@ -1,20 +1,19 @@
.nav { .nav {
position: fixed; position: fixed;
width: max(11vmax, 200px); width: max(11vmax, 300px);
top: 0; top: 0;
bottom:0; bottom:0;
padding-top: 2em; padding-top: 2em;
padding-left: 2em; padding-left: 2em;
background-color: var(--background); color: var(--darker);
color: var(--foreground);
} }
.nav-links { .nav-links {
position: relative; position: relative;
padding-top: 2em; padding-top: 1.8em;
padding-bottom: 1em; padding-bottom: 1em;
padding-left:0; padding-left:0;
@ -27,12 +26,15 @@ ul.nav-links {
.nav .nav-links li { .nav .nav-links li {
display: block; display: block;
margin-bottom: 0.8em; font-size: 1.6em;
line-height: 2em;
} }
/*
.nav li a::before { .nav li a::before {
content: "/"; content: "/";
} }
*/
.nav li a { .nav li a {
display: block; display: block;
@ -56,6 +58,8 @@ ul.nav-links {
@media only screen and (max-width: 1000px) { @media only screen and (max-width: 1000px) {
.nav { .nav {
background-color: var(--light);
position: fixed; position: fixed;
width: 100%; width: 100%;
padding: 0; padding: 0;
@ -63,7 +67,7 @@ ul.nav-links {
top: 0; top: 0;
height: 3em; height: 3em;
border-bottom: 3px solid var(--background-alt); border-bottom: 3px solid var(--darker);
} }
.nav .title { .nav .title {
@ -76,7 +80,8 @@ ul.nav-links {
position: absolute; position: absolute;
top: 0; top: 0;
right: 0; right: 0;
padding: .6em .6em 0 0; padding: 0;
padding-right: 0.8em;
float: right; float: right;
text-align: right; text-align: right;
width: auto; width: auto;

View File

@ -11,7 +11,7 @@
.page .separator { .page .separator {
position: relative; position: relative;
background-color: var(--foreground-inactive); background-color: var(--dark);
width: .35em; width: .35em;
height: .35em; height: .35em;
@ -28,32 +28,31 @@
transition: all 0.1s; transition: all 0.1s;
} }
.page a:hover { .page a:hover {
color: var(--foreground); color: var(--light);
} }
.page .text-panel { .page .text-panel {
margin: 0; margin: 0;
margin-left: -1.5em; margin-left: -1.5em;
padding: .2em 1.3em; padding: .2em 1.3em;
color: var(--foreground-inactive); color: var(--darker);
font-size: 1.1em; font-size: 1.1em;
/*font-weight: bold;*/
line-height: 1.25em; line-height: 1.25em;
background-color: var(--background); background-color: var(--lighter);
border-radius: 1.5em; border-radius: 1.5em;
width: 100%; width: 100%;
border-color: var(--background-alt); border-color: var(--darker);
border-width: 3px; border-width: 3px;
border-style: solid; border-style: solid;
} }
.page h1, h2 { .page h1, h2 {
color: var(--foreground-inactive); color: var(--darker);
font-size: 1.7em; font-size: 1.7em;

View File

@ -1,13 +1,12 @@
.planets { .planets {
overflow: hidden; overflow: hidden;
position: fixed; position: fixed;
height: 80vmax; height: 100%;
width: 80vmax; width: 100%;
right: 0; right: 0;
bottom: 0; bottom: 0;
z-index: -1; z-index: -1;
/*background-color: var(--background);*/
background-color: transparent; background-color: transparent;
} }
@media only screen and (max-width: 600px) { @media only screen and (max-width: 600px) {
@ -20,6 +19,8 @@
} }
.planet { .planet {
background-color: var(--light);
position: absolute; position: absolute;
border-radius: 50%; border-radius: 50%;
display: inline-block; display: inline-block;
@ -31,7 +32,7 @@
.orbit { .orbit {
position: absolute; position: absolute;
/*border: #orbit_thickness.css solid var(--foreground-inactive);*/ border: #orbit_thickness.css solid var(--light);
border-radius: 100%; border-radius: 100%;
background-color: transparent; background-color: transparent;
@ -54,15 +55,14 @@
from { transform: rotate(360deg) translateX(#or_mercury.css) rotate(360deg); } from { transform: rotate(360deg) translateX(#or_mercury.css) rotate(360deg); }
to { transform: rotate(0deg) translateX(#or_mercury.css) rotate(0deg); } to { transform: rotate(0deg) translateX(#or_mercury.css) rotate(0deg); }
} }
#mercury { #mercury {
--period: 4.82s; --period: 4.82s;
--radius: 30px; --radius: 30px;
--color: var(--background-alt);
width: var(--radius); width: var(--radius);
height: var(--radius); height: var(--radius);
background-color: var(--color);
right: #solposx.css; right: #solposx.css;
bottom: #solposy.css; bottom: #solposy.css;
@ -83,8 +83,6 @@
width: var(--diameter); width: var(--diameter);
height: var(--diameter); height: var(--diameter);
border: #orbit_thickness.css solid var(--background-alt);
} }
@-webkit-keyframes orbit_venus { @-webkit-keyframes orbit_venus {
@ -106,12 +104,10 @@
#venus { #venus {
--period: 12.3s; --period: 12.3s;
--radius: #pr_venus.css; --radius: #pr_venus.css;
--color: var(--background-alt);
width: var(--radius); width: var(--radius);
height: var(--radius); height: var(--radius);
background-color: var(--color);
right: #solposx.css; right: #solposx.css;
bottom: #solposy.css; bottom: #solposy.css;
@ -132,7 +128,6 @@
width: var(--diameter); width: var(--diameter);
height: var(--diameter); height: var(--diameter);
border: #orbit_thickness.css solid var(--background-alt);
} }
@-webkit-keyframes orbit_earth { @-webkit-keyframes orbit_earth {
@ -154,12 +149,10 @@
#earth { #earth {
--period: 20s; --period: 20s;
--radius: #pr_earth.css; --radius: #pr_earth.css;
--color: var(--background-alt);
width: var(--radius); width: var(--radius);
height: var(--radius); height: var(--radius);
background-color: var(--color);
right: #solposx.css; right: #solposx.css;
bottom: #solposy.css; bottom: #solposy.css;
@ -180,8 +173,6 @@
width: var(--diameter); width: var(--diameter);
height: var(--diameter); height: var(--diameter);
border: #orbit_thickness.css solid var(--background-alt);
} }
@-webkit-keyframes orbit_mars { @-webkit-keyframes orbit_mars {
@ -203,12 +194,10 @@
#mars { #mars {
--period: 37.6s; --period: 37.6s;
--radius: #pr_mars.css; --radius: #pr_mars.css;
--color: var(--background-alt);
width: var(--radius); width: var(--radius);
height: var(--radius); height: var(--radius);
background-color: var(--color);
right: #solposx.css; right: #solposx.css;
bottom: #solposy.css; bottom: #solposy.css;
@ -229,6 +218,4 @@
width: var(--diameter); width: var(--diameter);
height: var(--diameter); height: var(--diameter);
border: #orbit_thickness.css solid var(--background-alt);
} }

View File

@ -1,7 +1,7 @@
.socials { .socials {
position: absolute; position: absolute;
background-color:var(--background); background-color: var(--clear);
bottom: 1.6em; bottom: 1.6em;
} }
@ -9,11 +9,10 @@
.socials i { .socials i {
font-size: 2.0em; font-size: 2.0em;
padding-right: .1em; padding-right: .1em;
color: var(--foreground-inactive); color: var(--darker);
transition: color 0.3s; transition: color 0.3s;
} }
.socials i:hover { .socials i:hover {
color: var(--accent); color: var(--accent);
} }
@ -22,4 +21,3 @@
transition: color 0.3s; transition: color 0.3s;
} }

View File

@ -1,24 +1,19 @@
.title { .title {
font-size: 1em; font-size: 1em;
position: relative;
bottom: 0.25em;
} }
.title h1 { .title h1 {
padding-bottom: 0; margin: 0;
margin-bottom:0;
margin-top:0;
} }
.title a { .title a {
transition: all 0.1s ease-in; transition: all 0.1s ease-in;
color: var(--foreground-active); color: var(--darker);
} }
.title a:hover { .title a:hover {
color: var(--accent); color: var(--accent);
transform: translateY(50%);
} }
.pageTitle {
margin-left: -0.15em;
color: var(--foreground-inactive);
}

View File

@ -1,17 +1,8 @@
:root { :root {
/* Special */ --lighter: #eee;
--background: #eee; --light: #aaa;
--background-alt: #b8b8b8; --dark: #888;
--foreground: #444; --darker: #383838;
--foreground-inactive: #777; --accent: #d522ae;
--accent: #ff369a;
--clear: rgba(0,0,0,0); --clear: rgba(0,0,0,0);
/* Colors */
--color0: #0000ff;
--color1: #00ff00;
--color2: #ff0000;
--color3: #ff00ff;
--color4: #ffff00;
--color5: #00ffff;
} }

View File

@ -8,7 +8,7 @@ body {
font-family: sans-serif; font-family: sans-serif;
margin: 0; margin: 0;
background-color: var(--background); background-color: var(--dark);
} }
#include title.css #include title.css
@ -22,25 +22,12 @@ li {
display:inline; display:inline;
} }
a.fsText { a {
text-decoration: none; text-decoration: none;
color: var(--foreground-inactive); color: var(--darker);
transform: scale(1); transition: color 0.2s;
transition: background-color 0.2s, color 0.2s, transform 0.2s;
} }
.fsText a {
text-decoration: none;
color: var(--foreground);
}
.fsText {
--font-size: 1.4em;
font-size: var(--font-size);
color: var(--foreground);
}
#include socials.css #include socials.css
#include gallery.css #include gallery.css
#include planets.css #include planets.css