Files
personal-site/css/style.css
Arthur Lu 413ac7c7ab add research,
change around how styles are specified for each page's overlay content
2025-03-08 23:34:41 +00:00

50 lines
677 B
CSS

html {
box-sizing: border-box;
}
h1, h2, h3, h4, h5, h6, p, a, label, button, input, select, td {
font-family: monospace;
}
body {
min-height: 100vh;
width: 100vw;
display: grid;
grid-template-rows: auto 1fr auto;
}
main {
width: calc(max(50%, 1080px));
max-width: 100vw;
padding-left: 0;
padding-right: 0;
margin-left: auto;
margin-right: auto;
}
header {
margin-top: 50px;
text-align: center;
}
h1 a {
text-decoration: none;
}
nav {
display: flex;
flex-flow: row nowrap;
column-gap: 4ch;
justify-content: center;
}
nav a {
text-decoration: none;
font-size: larger;
opacity: 0.75;
}
nav a[aria-current="page"] {
opacity: 1;
font-weight: bold;
}