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