diff options
author | hanakin <midaym@gmail.com> | 2014-06-18 11:31:49 +0200 |
---|---|---|
committer | hanakin <midaym@gmail.com> | 2014-06-30 17:08:08 +0200 |
commit | 7d04d953c77e4dac4fb0d4557f042cce3b001cfe (patch) | |
tree | 482fc47ab145c236ba8fb9988c478bfc8f66d990 /phpBB/styles/prosilver/theme/links.css | |
parent | 5652f33ccca36b093a20033f17cb42ec79a581da (diff) | |
download | forums-7d04d953c77e4dac4fb0d4557f042cce3b001cfe.tar forums-7d04d953c77e4dac4fb0d4557f042cce3b001cfe.tar.gz forums-7d04d953c77e4dac4fb0d4557f042cce3b001cfe.tar.bz2 forums-7d04d953c77e4dac4fb0d4557f042cce3b001cfe.tar.xz forums-7d04d953c77e4dac4fb0d4557f042cce3b001cfe.zip |
[ticket/12735] Remove all :link, :visited, :active states
PHPBB3-12735
Diffstat (limited to 'phpBB/styles/prosilver/theme/links.css')
-rw-r--r-- | phpBB/styles/prosilver/theme/links.css | 38 |
1 files changed, 7 insertions, 31 deletions
diff --git a/phpBB/styles/prosilver/theme/links.css b/phpBB/styles/prosilver/theme/links.css index 89639dde02..79751cb1a7 100644 --- a/phpBB/styles/prosilver/theme/links.css +++ b/phpBB/styles/prosilver/theme/links.css @@ -7,18 +7,10 @@ a { unicode-bidi: embed; } -a:link, a:visited { - text-decoration: none; -} - a:hover { text-decoration: underline; } -a:active { - text-decoration: none; -} - /* Coloured usernames */ .username-coloured { font-weight: bold; @@ -27,11 +19,7 @@ a:active { } /* Links on gradient backgrounds */ -#search-box a:link, .navbg a:link, .forumbg .header a:link, .forabg .header a:link, th a:link { - text-decoration: none; -} - -#search-box a:visited, .navbg a:visited, .forumbg .header a:visited, .forabg .header a:visited, th a:visited { +#search-box a, .navbg a, .forumbg .header a, .forabg .header a, th a { text-decoration: none; } @@ -39,10 +27,6 @@ a:active { text-decoration: underline; } -#search-box a:active, .navbg a:active, .forumbg .header a:active, .forabg .header a:active, th a:active { - text-decoration: none; -} - /* Navigation bar links */ ul.linklist li.small-icon > a, ul.linklist li.breadcrumbs span:first-child > a { display: inline-block; @@ -118,13 +102,13 @@ a.lastsubject:hover { text-decoration: none; } -.signature a, .signature a:visited, .signature a:hover, .signature a:active { +.signature a, .signature a:hover { border: none; text-decoration: underline; } /* Profile links */ -.postprofile a:link, .postprofile a:visited, .postprofile dt.author a { +.postprofile a, .postprofile dt.author a { font-weight: bold; text-decoration: none; } @@ -133,14 +117,6 @@ a.lastsubject:hover { text-decoration: underline; } -/* CSS spec requires a:link, a:visited, a:hover and a:active rules to be specified in this order. */ -/* See http://www.phpbb.com/bugs/phpbb3/59685 */ -.postprofile a:active { - font-weight: bold; - text-decoration: none; -} - - /* Profile searchresults */ .search .postprofile a { text-decoration: none; @@ -182,7 +158,7 @@ a.arrow-down { background: none no-repeat right center; } a.arrow-left { background: none no-repeat 3px 60%; } a.arrow-right { background: none no-repeat 95% 60%; } -a.arrow-up, a.arrow-up:link, a.arrow-up:active, a.arrow-up:visited { +a.arrow-up { padding-left: 10px; text-decoration: none; border-bottom-width: 0; @@ -192,7 +168,7 @@ a.arrow-up:hover { background-position: left top; } -a.arrow-down, a.arrow-down:link, a.arrow-down:active, a.arrow-down:visited { +a.arrow-down { padding-right: 10px; } @@ -201,7 +177,7 @@ a.arrow-down:hover { text-decoration: none; } -a.arrow-left, a.arrow-left:active, a.arrow-left:visited { +a.arrow-left { padding-left: 12px; } @@ -210,7 +186,7 @@ a.arrow-left:hover { background-position: 0 60%; } -a.arrow-right, a.arrow-right:active, a.arrow-right:visited { +a.arrow-right { padding-right: 12px; } |