diff options
author | Ctibor Brančík <ctibor@brancik.cz> | 2017-03-22 20:33:19 +0100 |
---|---|---|
committer | Ctibor Brančík <ctibor@brancik.cz> | 2017-03-22 20:33:19 +0100 |
commit | 0cc775ee2a3d32564b9c9edf952d335f157d18f6 (patch) | |
tree | b145b7de81e830ad9f9a4fcd53bc20027f51c189 /style | |
parent | ae32aada82b68518497ff941eaa0f5adad6cab8c (diff) | |
download | hnizdo-0cc775ee2a3d32564b9c9edf952d335f157d18f6.tar.gz hnizdo-0cc775ee2a3d32564b9c9edf952d335f157d18f6.tar.bz2 |
Change appearance for hypertext links
Diffstat (limited to 'style')
-rw-r--r-- | style/style.css | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/style/style.css b/style/style.css index ad4d7f8..c11a8c7 100644 --- a/style/style.css +++ b/style/style.css @@ -11,6 +11,11 @@ h1 { text-align: center; } +a, a:link, a:hover, a:visited { + color: black; + text-decoration: none; +} + nav { text-align: center; } @@ -18,13 +23,22 @@ nav { nav a, nav span { display: inline-block; margin: 1em; - padding: 2px; + padding: 2px 3px; text-align: center; - background: #fffedf; - border: 1px solid #ff6600; + background: #ff6600; + border: 1px solid #000; border-radius: 4px; } +nav span { + background: #fffedf; + color: #aaa; +} + +nav a:hover { + background: #fffedf; +} + article { float: left; text-align: center; @@ -33,6 +47,7 @@ article { article img { width: 160px; height: 120px; + border: 5px solid #ff6600; } article#prev, article#next { |