Skip to content

Commit

Permalink
lots of design adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
aorcsik committed Aug 3, 2024
1 parent f8c2799 commit 258cd99
Show file tree
Hide file tree
Showing 22 changed files with 529 additions and 262 deletions.
15 changes: 14 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"webpack": "^5.86.0",
"webpack-cli": "^5.1.4",
"webpack-dev-middleware": "^7.2.1",
"webpack-hot-middleware": "^2.26.1"
"webpack-hot-middleware": "^2.26.1",
"yaml": "^2.5.0"
},
"scripts": {
"start": "node ./src/js/server.js --config ./config.json",
Expand Down
48 changes: 27 additions & 21 deletions src/css/blog.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ body {
--paragraph-vertical-margin: 1.5rem;
}


.blog-header {
display: flex;
align-items: center;
Expand Down Expand Up @@ -116,8 +115,7 @@ body {
left: 0;
bottom: 0;
width: 2rem;
background: var(--accent);
opacity: .5;
background: var(--accent80);
}
.blog-content .blog-info i {
position: absolute;
Expand Down Expand Up @@ -155,7 +153,7 @@ body {
.blog-content figure img,
.blog-content .video-container iframe {
border-radius: 1rem;
box-shadow: 0 0 15px rgba(0,0,0,.1);
box-shadow: var(--medium-shadow);
max-width: 500px;
width: 100%;
margin-bottom: 1rem;
Expand Down Expand Up @@ -193,21 +191,37 @@ body {
}
.blog-pagination li {
flex-grow: 1;
width: 100%;
}
.blog-pagination .blog-pagination-next {
text-align: right;
}
.blog-pagination .blog-pagination-list {
text-align: center;
}

/* elden ring style */

body.tag-elden-ring {
--background: #020202;
--text: #c9c4ba;
--accent: #C7A770;
/* --accent-alt: #587263; */
--accent-alt: #8f7753;
--nav-color: #C7A770;
--nav-color-invert: #C7A770;
--text-secondary: var(--accent-alt)
--accent10: #f8f4ed;
--accent20: #e9ddc8;
--accent30: #dbc7a3;
--accent40: #cdb07f;
--accent50: #be9a5a;
--accent60: #a58041;
--accent70: #806432;
--accent80: #5c4724;
--accent90: #372b16;
--accent95: #120e07;
--accent: var(--accent50);
--accent-alt: var(--accent70);

--background: var(--accent95);
--text: var(--accent10);
--text-secondary: var(--accent-alt);

--nav-color: var(--accent);
--nav-color-invert: var(--accent);
}
body.tag-elden-ring #menu-toggle:checked + #header #logo span.logo-head::after,
body.tag-elden-ring #header.sticky #logo span.logo-head::after {
Expand Down Expand Up @@ -251,19 +265,11 @@ body.tag-elden-ring .blog-content a {
text-decoration: none;
}

/* body.tag-elden-ring .blog-content a:hover {
color: var(--accent-alt);
}
body.tag-elden-ring .blog-content a:visited {
color: var(--accent-alt);
} */

body.tag-elden-ring .blog-content a[href*="eldenring.wiki.fextralife.com"] {
text-decoration: underline;
text-decoration-style: dotted;
color: var(--text);
}
body.tag-elden-ring .blog-content a[href*="eldenring.wiki.fextralife.com"]:hover {
color: var(--accent);
}
}
Loading

0 comments on commit 258cd99

Please sign in to comment.