diff options
author | Pedram Ashofteh Ardakani <pedramardakani@gmail.com> | 2020-04-28 14:18:21 +0430 |
---|---|---|
committer | Pedram Ashofteh Ardakani <pedramardakani@gmail.com> | 2020-04-28 14:18:21 +0430 |
commit | 4f14af2659965488eb42519e1f9342e28bc7b7d1 (patch) | |
tree | 27f31aa8ca195c4839ca99184556be1ea7eabd5f /css | |
parent | e29d5fd9f9e4b3d8268d452dd9aad08bd33844e3 (diff) |
Decorate various tags
Unitl now, there were almost no decorations introduced to <code> and <a>
tags.
With this commit, the webpage gets a colorful soul.
Diffstat (limited to 'css')
-rw-r--r-- | css/base.css | 34 |
1 files changed, 28 insertions, 6 deletions
diff --git a/css/base.css b/css/base.css index f63afb1..825d6cf 100644 --- a/css/base.css +++ b/css/base.css @@ -3,7 +3,34 @@ /* === UNIVERSAL PAGE GEOMETRY === */ body{ background-color: #f9fafa; /* SNOW */ - font-family: "Lato", Helvetica, Arial, sans-serif; /* web safe fonts */ + font-family: "Lato", Helvetica, Arial, sans-serif; +} + +code{ + font-family: "FreeMono", Monaco, monospace; +} + +pre{ + display: block; + background-color: #1C1E1D; /* EERIE BLACK */ + overflow-x: auto; + width: 100%; + min-height: 3em; + padding-top: auto; + padding-bottom: auto; +} + +pre code{ + color: #FFA0DE; /* ORCHID (CRAYOLA) */ +} + +p code, li > code{ + background-color: #E0E1E1; /* PLATINUM */ + color: #1C1E1D; /* EERIE BLACK */ +} + +.comment{ + color: #A3A5A5; /* QUICK SILVER */ } #container{ @@ -19,9 +46,6 @@ body{ * */ } -pre{ - display: block; -} /* === HEAD NAV === */ nav li{ @@ -154,8 +178,6 @@ footer[role=contentinfo] h3{ border-right: 1px solid #dcdfde; } - - /* === DECORATION CLASSES === */ .text-shadow{ |