Skip to content

Commit

Permalink
Redesign. Again.
Browse files Browse the repository at this point in the history
  • Loading branch information
jezen committed Nov 18, 2024
1 parent e557a71 commit 248a43f
Show file tree
Hide file tree
Showing 19 changed files with 1,456 additions and 277 deletions.
296 changes: 237 additions & 59 deletions css/default.css

Large diffs are not rendered by default.

190 changes: 29 additions & 161 deletions css/header.css
Original file line number Diff line number Diff line change
@@ -1,182 +1,50 @@
.site-title {
font-size: 22px;
font-weight: bold;
margin: 0 auto 1rem;
}

@media (min-width: 920px) {
.site-title {
font-size: 18px;
margin: 1.6rem auto .4rem;
}
}

.site-title a {
border-bottom: none;
color: #222;
}

.about {
left: 0;
padding: 20px 20px 0;
top: 0;
}

.about .portrait {
display: none;
}

.about .bio {
display: none;
}

@media (min-width: 920px) {
.about {
display: block;
height: 100%;
max-width: 300px;
padding: 40px;
position: fixed;
}

.about::after {
background: #ddd;
content: '';
display: block;
position: absolute;
width: 1px;
height: 60px;
top: 40px;
right: 0;
}

.about .portrait {
border: none;
display: block;
}

.about .portrait img {
border: 1px solid #e3e3e3;
border-radius: 6px;
}

.about .bio {
display: block;
}
}

.about p {
color: #333;
font-size: 12px;
line-height: 18px;
margin-top: 0;
max-width: 300px;
}

@media (min-width: 920px) {
nav::before {
display: block;
width: 80px;
height: 1px;
border-top: 1px solid #ddd;
content: '';
}
}

nav ul {
list-style: none;
margin-left: 0;
}

nav ul li {
display: inline-block;
margin: 0 20px 0 0;
position: relative;
}

#bmac {
display: none;
header {
margin: auto;
padding: 20px;
text-align: center;
}

@media (min-width: 920px) {
nav ul li {
display: list-item;
margin: 0;
@media (min-width: 640px) {
header {
max-width: 600px;
padding: 20px 0 40px;
}

nav ul li::before {
color: rgba(71, 127, 165, 0.59);
content: "→";
font-size: 13.5px;
line-height: 1.38em;
margin-right: 6px;
text-shadow: 0 0 10px rgb(21 180 241 / 29%);
}

#bmac {
display: list-item;
}
}

nav li a,
nav li a:visited {
border: none;
color: #333;
font-size: 18px;
}

nav li a[aria-current=true] {
.site-title {
font-size: 22px;
font-weight: bold;
margin: 10px auto 5px;
}

@media (min-width: 920px) {
nav li a {
font-size: 13px;
font-weight: bold;
}
.site-title a {
border-bottom: none;
color: var(--main-fg-color);
}

nav li a:hover {
color: #ff7315;
.portrait {
border: none;
display: inline-block;
}

.navigation {
header .portrait img {
border-width: 1px;
border-style: solid;
border-color: #ddd;
border-width: 1px 0;
font-size: 15px;
list-style: none;
margin: 20px 0;
position: relative;
}

.navigation li {
display: inline-block;
border-color: #555;
border-radius: 50%;
width: 80px;
}

@media (min-width: 920px) {
.navigation {
header .portrait {
border: none;
margin: 40px 0;
padding: 10px 0;
}

.navigation li {
display: block;
}

.navigation::before {
background: #ddd;
content: '';
display: block;
height: 1px;
left: 0;
position: absolute;
top: 0;
width: 40px;
display: inline-block;
}
}

.navigation a {
border: none;
header .bio {
color: var(--main-fg-secondary-color);
font-size: 13px;
line-height: 18px;
margin-top: 0;
}
Loading

0 comments on commit 248a43f

Please sign in to comment.