styles/cubometry-style/theme/links.css
author indvdum (gotoindvdum[at]gmail[dot]com)
Thu, 08 Mar 2012 01:28:49 +0400
changeset 10 2829504a06be
permissions -rw-r--r--
cubometry-style based on prosilver
indvdum@10
     1
/* Link Styles
indvdum@10
     2
---------------------------------------- */
indvdum@10
     3
indvdum@10
     4
/* Links adjustment to correctly display an order of rtl/ltr mixed content */
indvdum@10
     5
a {
indvdum@10
     6
	direction: ltr;
indvdum@10
     7
	unicode-bidi: embed;
indvdum@10
     8
}
indvdum@10
     9
indvdum@10
    10
a:link	{ color: #898989; text-decoration: none; }
indvdum@10
    11
a:visited	{ color: #898989; text-decoration: none; }
indvdum@10
    12
a:hover	{ color: #d3d3d3; text-decoration: underline; }
indvdum@10
    13
a:active	{ color: #d2d2d2; text-decoration: none; }
indvdum@10
    14
indvdum@10
    15
/* Coloured usernames */
indvdum@10
    16
.username-coloured {
indvdum@10
    17
	font-weight: bold;
indvdum@10
    18
	display: inline !important;
indvdum@10
    19
	padding: 0 !important;
indvdum@10
    20
}
indvdum@10
    21
indvdum@10
    22
/* Links on gradient backgrounds */
indvdum@10
    23
#search-box a:link, .navbg a:link, .forumbg .header a:link, .forabg .header a:link, th a:link {
indvdum@10
    24
	color: #FFFFFF;
indvdum@10
    25
	text-decoration: none;
indvdum@10
    26
}
indvdum@10
    27
indvdum@10
    28
#search-box a:visited, .navbg a:visited, .forumbg .header a:visited, .forabg .header a:visited, th a:visited {
indvdum@10
    29
	color: #FFFFFF;
indvdum@10
    30
	text-decoration: none;
indvdum@10
    31
}
indvdum@10
    32
indvdum@10
    33
#search-box a:hover, .navbg a:hover, .forumbg .header a:hover, .forabg .header a:hover, th a:hover {
indvdum@10
    34
	color: #ffffff;
indvdum@10
    35
	text-decoration: underline;
indvdum@10
    36
}
indvdum@10
    37
indvdum@10
    38
#search-box a:active, .navbg a:active, .forumbg .header a:active, .forabg .header a:active, th a:active {
indvdum@10
    39
	color: #ffffff;
indvdum@10
    40
	text-decoration: none;
indvdum@10
    41
}
indvdum@10
    42
indvdum@10
    43
/* Links for forum/topic lists */
indvdum@10
    44
a.forumtitle {
indvdum@10
    45
	font-family: "Trebuchet MS", Helvetica, Arial, Sans-serif;
indvdum@10
    46
	font-size: 1.2em;
indvdum@10
    47
	font-weight: bold;
indvdum@10
    48
	color: #898989;
indvdum@10
    49
	text-decoration: none;
indvdum@10
    50
}
indvdum@10
    51
indvdum@10
    52
/* a.forumtitle:visited { color: #898989; } */
indvdum@10
    53
indvdum@10
    54
a.forumtitle:hover {
indvdum@10
    55
	color: #bcbcbc;
indvdum@10
    56
	text-decoration: underline;
indvdum@10
    57
}
indvdum@10
    58
indvdum@10
    59
a.forumtitle:active {
indvdum@10
    60
	color: #898989;
indvdum@10
    61
}
indvdum@10
    62
indvdum@10
    63
a.topictitle {
indvdum@10
    64
	font-family: "Trebuchet MS", Helvetica, Arial, Sans-serif;
indvdum@10
    65
	font-size: 1.2em;
indvdum@10
    66
	font-weight: bold;
indvdum@10
    67
	color: #898989;
indvdum@10
    68
	text-decoration: none;
indvdum@10
    69
}
indvdum@10
    70
indvdum@10
    71
/* a.topictitle:visited { color: #d2d2d2; } */
indvdum@10
    72
indvdum@10
    73
a.topictitle:hover {
indvdum@10
    74
	color: #bcbcbc;
indvdum@10
    75
	text-decoration: underline;
indvdum@10
    76
}
indvdum@10
    77
indvdum@10
    78
a.topictitle:active {
indvdum@10
    79
	color: #898989;
indvdum@10
    80
}
indvdum@10
    81
indvdum@10
    82
/* Post body links */
indvdum@10
    83
.postlink {
indvdum@10
    84
	text-decoration: none;
indvdum@10
    85
	color: #d2d2d2;
indvdum@10
    86
	border-bottom: 1px solid #d2d2d2;
indvdum@10
    87
	padding-bottom: 0;
indvdum@10
    88
}
indvdum@10
    89
indvdum@10
    90
/* .postlink:visited { color: #bdbdbd; } */
indvdum@10
    91
indvdum@10
    92
.postlink:active {
indvdum@10
    93
	color: #d2d2d2;
indvdum@10
    94
}
indvdum@10
    95
indvdum@10
    96
.postlink:hover {
indvdum@10
    97
	background-color: #f6f6f6;
indvdum@10
    98
	text-decoration: none;
indvdum@10
    99
	color: #404040;
indvdum@10
   100
}
indvdum@10
   101
indvdum@10
   102
.signature a, .signature a:visited, .signature a:hover, .signature a:active {
indvdum@10
   103
	border: none;
indvdum@10
   104
	text-decoration: underline;
indvdum@10
   105
	background-color: transparent;
indvdum@10
   106
}
indvdum@10
   107
indvdum@10
   108
/* Profile links */
indvdum@10
   109
.postprofile a:link, .postprofile a:visited, .postprofile dt.author a {
indvdum@10
   110
	font-weight: bold;
indvdum@10
   111
	color: #898989;
indvdum@10
   112
	text-decoration: none;
indvdum@10
   113
}
indvdum@10
   114
indvdum@10
   115
.postprofile a:hover, .postprofile dt.author a:hover {
indvdum@10
   116
	text-decoration: underline;
indvdum@10
   117
	color: #d3d3d3;
indvdum@10
   118
}
indvdum@10
   119
indvdum@10
   120
/* CSS spec requires a:link, a:visited, a:hover and a:active rules to be specified in this order. */
indvdum@10
   121
/* See http://www.phpbb.com/bugs/phpbb3/59685 */
indvdum@10
   122
.postprofile a:active {
indvdum@10
   123
	font-weight: bold;
indvdum@10
   124
	color: #898989;
indvdum@10
   125
	text-decoration: none;
indvdum@10
   126
}
indvdum@10
   127
indvdum@10
   128
indvdum@10
   129
/* Profile searchresults */	
indvdum@10
   130
.search .postprofile a {
indvdum@10
   131
	color: #898989;
indvdum@10
   132
	text-decoration: none; 
indvdum@10
   133
	font-weight: normal;
indvdum@10
   134
}
indvdum@10
   135
indvdum@10
   136
.search .postprofile a:hover {
indvdum@10
   137
	color: #d3d3d3;
indvdum@10
   138
	text-decoration: underline; 
indvdum@10
   139
}
indvdum@10
   140
indvdum@10
   141
/* Back to top of page */
indvdum@10
   142
.back2top {
indvdum@10
   143
	clear: both;
indvdum@10
   144
	height: 11px;
indvdum@10
   145
	text-align: right;
indvdum@10
   146
}
indvdum@10
   147
indvdum@10
   148
a.top {
indvdum@10
   149
	background: none no-repeat top left;
indvdum@10
   150
	text-decoration: none;
indvdum@10
   151
	width: {IMG_ICON_BACK_TOP_WIDTH}px;
indvdum@10
   152
	height: {IMG_ICON_BACK_TOP_HEIGHT}px;
indvdum@10
   153
	display: block;
indvdum@10
   154
	float: right;
indvdum@10
   155
	overflow: hidden;
indvdum@10
   156
	letter-spacing: 1000px;
indvdum@10
   157
	text-indent: 11px;
indvdum@10
   158
}
indvdum@10
   159
indvdum@10
   160
a.top2 {
indvdum@10
   161
	background: none no-repeat 0 50%;
indvdum@10
   162
	text-decoration: none;
indvdum@10
   163
	padding-left: 15px;
indvdum@10
   164
}
indvdum@10
   165
indvdum@10
   166
/* Arrow links  */
indvdum@10
   167
a.up		{ background: none no-repeat left center; }
indvdum@10
   168
a.down		{ background: none no-repeat right center; }
indvdum@10
   169
a.left		{ background: none no-repeat 3px 60%; }
indvdum@10
   170
a.right		{ background: none no-repeat 95% 60%; }
indvdum@10
   171
indvdum@10
   172
a.up, a.up:link, a.up:active, a.up:visited {
indvdum@10
   173
	padding-left: 10px;
indvdum@10
   174
	text-decoration: none;
indvdum@10
   175
	border-bottom-width: 0;
indvdum@10
   176
}
indvdum@10
   177
indvdum@10
   178
a.up:hover {
indvdum@10
   179
	background-position: left top;
indvdum@10
   180
	background-color: transparent;
indvdum@10
   181
}
indvdum@10
   182
indvdum@10
   183
a.down, a.down:link, a.down:active, a.down:visited {
indvdum@10
   184
	padding-right: 10px;
indvdum@10
   185
}
indvdum@10
   186
indvdum@10
   187
a.down:hover {
indvdum@10
   188
	background-position: right bottom;
indvdum@10
   189
	text-decoration: none;
indvdum@10
   190
}
indvdum@10
   191
indvdum@10
   192
a.left, a.left:active, a.left:visited {
indvdum@10
   193
	padding-left: 12px;
indvdum@10
   194
}
indvdum@10
   195
indvdum@10
   196
a.left:hover {
indvdum@10
   197
	color: #d2d2d2;
indvdum@10
   198
	text-decoration: none;
indvdum@10
   199
	background-position: 0 60%;
indvdum@10
   200
}
indvdum@10
   201
indvdum@10
   202
a.right, a.right:active, a.right:visited {
indvdum@10
   203
	padding-right: 12px;
indvdum@10
   204
}
indvdum@10
   205
indvdum@10
   206
a.right:hover {
indvdum@10
   207
	color: #d2d2d2;
indvdum@10
   208
	text-decoration: none;
indvdum@10
   209
	background-position: 100% 60%;
indvdum@10
   210
}
indvdum@10
   211
indvdum@10
   212
/* invisible skip link, used for accessibility  */
indvdum@10
   213
.skiplink {
indvdum@10
   214
	position: absolute;
indvdum@10
   215
	left: -999px;
indvdum@10
   216
	width: 990px;
indvdum@10
   217
}
indvdum@10
   218
indvdum@10
   219
/* Feed icon in forumlist_body.html */
indvdum@10
   220
a.feed-icon-forum {
indvdum@10
   221
	float: right;
indvdum@10
   222
	margin: 3px;
indvdum@10
   223
}