mirror of
https://koodu.h-i.works/projects/thebadspace
synced 2025-06-25 16:04:37 -05:00
Started CSS and Layout upgrades
Functionality is coming along at a good pace, so it was time to start adjusting the templates and styles to the new layout. Responsive will come after all of the pages have been updated.
This commit is contained in:
@ -16,31 +16,62 @@ html body {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--highlight);
|
||||
text-decoration: none;
|
||||
|
||||
/*
|
||||
border-bottom: 1px solid var(--white);
|
||||
transition: all 0.2s linear;
|
||||
*/
|
||||
}
|
||||
|
||||
header {
|
||||
width: 100%;
|
||||
color: var(--primary);
|
||||
background: var(--secondary);
|
||||
}
|
||||
|
||||
header > nav {
|
||||
header > div:nth-child(1) {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-template-columns: 200px 50% 1fr;
|
||||
padding: 10px;
|
||||
gap: 10px;
|
||||
height: 200px;
|
||||
width: 80%;
|
||||
margin: 0 auto;
|
||||
max-width: 1000px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
header > nav a {
|
||||
header > div span {
|
||||
font-size: 3em;
|
||||
font-weight: bold;
|
||||
position: absolute;
|
||||
bottom: 25px;
|
||||
width: 50%;
|
||||
line-height: 0.8em;
|
||||
}
|
||||
|
||||
header > div img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
header > div a {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
header > nav i {
|
||||
header > div i {
|
||||
font-size: 1.3em;
|
||||
}
|
||||
|
||||
header > nav > div[role="nav-right"] {
|
||||
text-align: right;
|
||||
header > div nav {
|
||||
position: absolute;
|
||||
bottom: 20px;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
div[role="system-notice"] {
|
||||
div.system-notice {
|
||||
background: var(--highlight);
|
||||
color: var(--primary);
|
||||
padding: 10px;
|
||||
@ -50,16 +81,15 @@ main {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/* GLOBALS */
|
||||
|
||||
a {
|
||||
color: var(--highlight);
|
||||
text-decoration: none;
|
||||
border-bottom: 1px solid var(--white);
|
||||
transition: all 0.2s linear;
|
||||
main > section > article {
|
||||
width: 80%;
|
||||
max-width: 1000px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
a[role="nav-links"] {
|
||||
/* GLOBALS */
|
||||
|
||||
a.nav-links {
|
||||
padding: 7px;
|
||||
border-bottom: none;
|
||||
}
|
||||
@ -87,3 +117,8 @@ sup {
|
||||
vertical-align: baseline;
|
||||
font-family: var(--mono-type);
|
||||
}
|
||||
|
||||
.button-icon {
|
||||
height: 90%;
|
||||
padding-top: 3px;
|
||||
}
|
||||
|
Reference in New Issue
Block a user