85 lines
1.4 KiB
CSS
85 lines
1.4 KiB
CSS
html {
|
|
image-rendering: pixelated;
|
|
image-rendering: crisp-edges;
|
|
font-size: 1.3em;
|
|
color: #333;
|
|
line-height: 1.50;
|
|
background: #f8f4f3;
|
|
font-family: 'Cantarell', sans-serif; }
|
|
|
|
/* Smooth scrolling IF user doesn't have a preference due to motion sensitivities */
|
|
@media screen and (prefers-reduced-motion: no-preference) {
|
|
html {
|
|
scroll-behavior: smooth; } }
|
|
|
|
body {
|
|
border-radius: 10px;
|
|
margin: 0;
|
|
padding: 0; }
|
|
|
|
main {
|
|
margin: auto;
|
|
width: 50%;
|
|
text-align: left; }
|
|
|
|
.container {
|
|
margin: 0 50px; }
|
|
|
|
a:link, a:visited {
|
|
text-decoration: none;
|
|
color: #b87333; }
|
|
|
|
a:active, a:focus, a:hover {
|
|
text-decoration: underline; }
|
|
|
|
ul, ol {
|
|
color: #474747; }
|
|
|
|
::selection {
|
|
color: #f8f4f3;
|
|
background: #333; }
|
|
|
|
footer ul {
|
|
list-style: none; }
|
|
|
|
footer .item-left {
|
|
grid-area: main; }
|
|
|
|
footer .item-mid {
|
|
grid-area: links1; }
|
|
|
|
footer .item-right {
|
|
grid-area: links2; }
|
|
|
|
footer .container {
|
|
margin-left: 25%;
|
|
margin-right: 25%;
|
|
display: grid;
|
|
grid-template-columns: 500px 250px 250px;
|
|
grid-template-rows: auto;
|
|
grid-template-areas: "main links1 links2"; }
|
|
|
|
.logo {
|
|
float: left;
|
|
padding: 10px 0; }
|
|
|
|
header::after {
|
|
content: '';
|
|
display: table;
|
|
clear: both; }
|
|
|
|
header {
|
|
box-shadow: 0 0 5px #888; }
|
|
|
|
nav {
|
|
float: right; }
|
|
nav ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none; }
|
|
nav li {
|
|
display: inline-block;
|
|
text-align: center;
|
|
margin-left: 70px;
|
|
padding-top: 20px; }
|