Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/LordMathis/hugo-theme-nix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorAndrew Schwartzmeyer <andrew@schwartzmeyer.com>2017-10-18 08:54:23 +0300
committerAndrew Schwartzmeyer <andrew@schwartzmeyer.com>2017-10-18 08:58:07 +0300
commite4065531f6227c46b5cef61cb5cf765fb89a4c63 (patch)
tree79057e994b31734b5ef1ec946ef618b55a268ddb /static
parent7a058f8b4fd3b4ab2226e72ce82feff7f92d230a (diff)
Use CSS to uppercase name
Previously this used the `upper` template directive, which injected UPPERCASE text into the HTML. Unfortunately, the `text-transform` CSS property cannot lowercase or Capitalize UPPERCASE text. However, `text-transform` can UPPERCASE text that is lowercased or Capitalized, so by switching from `upper` to `text-transform` on `#user-name` in `nix.css`, we can allow users to customize how their name is displayed.
Diffstat (limited to 'static')
-rw-r--r--static/css/nix.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/static/css/nix.css b/static/css/nix.css
index c99f387..cb6ab48 100644
--- a/static/css/nix.css
+++ b/static/css/nix.css
@@ -37,6 +37,7 @@ h1,h2,h3,h4,h5,h6 {
#user-name {
font-size: 5em;
+ text-transform: uppercase;
}
.user-description {