Redesign with Tailwind
This commit is contained in:
parent
b29b35e166
commit
3a25e0b4b0
13 changed files with 161 additions and 121 deletions
BIN
assets/newhaven.jpg
Normal file
BIN
assets/newhaven.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 MiB |
|
@ -1,75 +0,0 @@
|
|||
@font-face {
|
||||
font-family: "DM Mono";
|
||||
src: url("DM_Mono/DMMono-Regular.ttf") format("opentype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "DM Mono";
|
||||
font-weight: 500;
|
||||
src: url("DM_Mono/DMMono-Medium.ttf") format("opentype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "DM Mono";
|
||||
font-style: italic;
|
||||
src: url("DM_Mono/DMMono-Italic.ttf") format("opentype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "DM Mono";
|
||||
font-weight: 500;
|
||||
font-style: italic;
|
||||
src: url("DM_Mono/DMMono-MediumItalic.ttf") format("opentype");
|
||||
}
|
||||
|
||||
:root {
|
||||
font-family: "DM Mono", "Courier New", Courier, monospace;
|
||||
background-color: hsl(224, 44%, 95%);
|
||||
--color-theme-1: #ff3e00;
|
||||
}
|
||||
|
||||
body {
|
||||
max-width: 700px;
|
||||
padding: 20px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
nav {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 20px;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--color-theme-1);
|
||||
text-decoration: none;
|
||||
transition-duration: 0.5s;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
nav a {
|
||||
color: gray;
|
||||
transition-property: color;
|
||||
transition-duration: 0.5s;
|
||||
text-decoration: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
nav a:hover,
|
||||
nav a.active {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
background-color: hsl(205.18, 14.29%, 10.94%);
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
}
|
BIN
assets/trees.jpg
Normal file
BIN
assets/trees.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.1 MiB |
Loading…
Add table
Add a link
Reference in a new issue