iiiypuk
/
mySite
Archived
1
0
Fork 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

165 lines
2.3 KiB
CSS

/*@import url(chota.min.css);*/
:root {
--font-family: sans-serif;
--max-width: 860px;
--bg-color: #fefefe;
--font-size: 1.3rem;
/*--bg-secondary-color: #f3f3f6;
--bg-footer: #dadada;
--color-text: #d1dce0;
--color-primary: #6190ff;
--color-lightGrey: #d2d6dd;
--color-grey: #747681;
--color-darkGrey: #3f4144;
--color-error: #d43939;
--color-success: #28bd14;
--grid-maxWidth: 120rem;
--grid-gutter: 2rem;
--font-color: #333333;
--font-family-sans: 'ABeeZee', sans-serif;
--font-family-mono: monaco, 'Consolas', 'Lucida Console', monospace;*/
}
* {
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;
text-decoration: none;
transition: all 0.2s;
}
a:hover {
border-bottom: 3px solid #000000;
transition: all 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;
}
/*body {
color: var(--color-text);
}
footer {
background-color: var(--bg-footer);
position: fixed;
left: 0;
bottom: 0;
width: 100%;
color: #d1dce0;
opacity: 0.9;
padding: 1em;
}
footer img {
width: 1.2em;
vertical-align: middle;
}
*/