Skip to content

Commit

Permalink
Slightly reduce unnecessary styling
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillbobyrev committed Dec 5, 2023
1 parent 8bfdb74 commit 7bbdba5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 26 deletions.
26 changes: 3 additions & 23 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@
--tag-background: #e8f0fe;
--background: #fff;
--muted: #BDBDBD;
--muted-text: #9E9E9E;
--code-background: #f5f5f6;

/* Typography */
--line-height: 1.5;
--line-height: 1.2;
}

/* Base styles */
Expand Down Expand Up @@ -46,17 +45,13 @@ a {
color: var(--accent);
}

a:hover {
text-decoration: underline;
}

blockquote {
border-left: 4px solid var(--accent-light);
border-left: 3px solid var(--accent-light);
padding-left: 1rem;
font-style: italic;
}

/* TODO: Inline code is still not displayed poorly. */
/* TODO: Inline code is still displayed poorly. */
code {
font-family:
ui-monospace,
Expand Down Expand Up @@ -96,7 +91,6 @@ time {
display: inline-block;
width: 7rem;
vertical-align: top;
color: var(--muted-text);
}

/* Title and menu. */
Expand Down Expand Up @@ -152,21 +146,7 @@ time {

.tag-cloud>li>a {
color: var(--text-color);
background-color: var(--tag-background);
border-radius: 14px;
padding: 0 .5rem;
text-decoration: none;
transition: background-color 0.3s, color 0.3s;
}

.tag-cloud>li>a:hover {
background-color: var(--accent-light);
color: white;
}

main>small>.tag-cloud {
padding-top: .5rem;
line-height: 1.6;
}

/* Headings */
Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/features/extensions.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = 'Extensions'
date = 2023-05-08
date = 2023-06-28
tags = ['hugo', 'features']
math = true
+++
Expand Down
4 changes: 2 additions & 2 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
math = false

# Controls how dates are displayed. See
# https://gohugo.io/functions/format/#go-time-format
dateDisplayFormat = "Jan 2, 2006"
# https://gohugo.io/functions/time/format/
dateDisplayFormat = "2 Jan, 2006"

0 comments on commit 7bbdba5

Please sign in to comment.