chore: remove redundant fsText class
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details

This commit is contained in:
ktyl 2023-10-01 22:23:24 +01:00
parent 27517aaed1
commit f86bbad8bb
7 changed files with 18 additions and 21 deletions

View File

@ -4,14 +4,14 @@
text-align: center;
}
.landing .fsText a {
.landing a {
color: var(--foreground-inactive);
font-size: 2em;
transform: translate(0,50%);
transition: all 0.3s;
}
.landing .fsText a:hover {
.landing a:hover {
color: var(--accent);
}
@ -45,7 +45,6 @@
.landing .socials i {
color: var(--foreground-inactive);
font-size: 3.5em;
padding: 0 .07em;
}

View File

@ -30,6 +30,12 @@ ul.nav-links {
margin-bottom: 0.8em;
}
.nav .nav-links li a {
color: var(--foreground-inactive);
font-size: 1.4em;
display: block;
}
.nav li a::before {
content: "/";
}

View File

@ -3,6 +3,7 @@
}
.title h1 {
font-size: 1.4em;
padding-bottom: 0;
margin-bottom:0;
margin-top:0;

View File

@ -1,5 +1,5 @@
<ul class="nav-links">
<li><a href="/about.html" class="fsText">about</a></li>
<li><a href="/blog.html" class="fsText">blog</a></li>
<li><a href="/gallery.html" class="fsText">gallery</a></li>
<li><a href="/about.html">about</a></li>
<li><a href="/blog.html">blog</a></li>
<li><a href="/gallery.html">gallery</a></li>
</ul>

View File

@ -1,2 +1,2 @@
<div class="title">
<h1 class="fsText"><a href="https://ktyl.dev/">ktyl.dev</a><span class="pageTitle">
<h1><a href="https://ktyl.dev/">ktyl.dev</a><span class="pageTitle">

View File

@ -14,4 +14,8 @@
--color3: #ff00ff;
--color4: #ffff00;
--color5: #00ffff;
/* TODO: extract general varibles file ? */
/* Text */
--font-size: 1.4em;
}

View File

@ -21,21 +21,8 @@ li {
display:inline;
}
a.fsText {
a {
text-decoration: none;
color: var(--foreground-inactive);
transform: scale(1);
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);
}