Archived
1
0
This repository has been archived on 2022-09-03. You can view files and clone it, but cannot push or open issues or pull requests.
mySite/styles/styles.css

128 lines
1.7 KiB
CSS

:root {
--font-family: ABeeZee, sans-serif;
--max-width: 860px;
--bg-color: #fefefe;
--font-size: 1.3rem;
}
* {
padding: 0;
margin: 0;
outline: 0;
}
body {
font-family: var(--font-family);
background-color: var(--bg-color);
font-size: var(--font-size);
}
div.container {
max-width: var(--max-width);
margin: auto;
}
nav {
background-color: var(--bg-color);
border-bottom: 1px solid #999999;
font-weight: bold;
position: fixed;
left: 0;
top: 0;
width: 100%;
}
.nav {
display: grid;
grid-template-columns: 1fr 9fr;
grid-gap: 20px;
padding: 1em 0;
}
div.nav--left {
}
div.nav--right {
text-align: right;
}
ul.nav--links {
padding: 0;
margin: 0;
}
ul.nav--links li {
display: inline;
text-transform: uppercase;
padding: 0 4px;
}
a {
color: #000000;
border-bottom: 3px solid rgba(0, 0, 0, 0);
text-decoration: none;
transition: border-bottom 0.2s;
}
a:hover {
border-bottom: 3px solid #000000;
transition: border-bottom 0.2s;
}
article#about {
margin-top: 5em;
}
article#projects {
margin-bottom: 5em;
}
article#about p {
text-transform: uppercase;
}
article#about p.hero {
font-size: 2em;
}
article#about a {
margin: 200px 0 !important;
}
footer {
background-color: var(--bg-color);
position: fixed;
left: 0;
bottom: 0;
width: 100%;
border-top: 1px solid #999999;
text-align: center;
padding: 1em 0;
}
a.button {
color: #000000;
text-decoration: none;
padding: 5px 10px;
border: 3px solid #000000;
transition: all 0.2s;
text-transform: uppercase;
}
a.button:hover {
background-color: #000000;
color: #ffffff;
transition: all 0.2s;
}
article {
margin: 2em 0;
}
p.title {
font-weight: bold;
font-size: 2rem;
text-transform: uppercase;
margin: 10px 0;
}