styles/cubometry-style/theme/common.css
changeset 10 2829504a06be
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/styles/cubometry-style/theme/common.css	Thu Mar 08 01:28:49 2012 +0400
     1.3 @@ -0,0 +1,632 @@
     1.4 +/* General Markup Styles
     1.5 +---------------------------------------- */
     1.6 +
     1.7 +* {
     1.8 +	/* Reset browsers default margin, padding and font sizes */
     1.9 +	margin: 0;
    1.10 +	padding: 0;
    1.11 +}
    1.12 +
    1.13 +html {
    1.14 +	font-size: 100%;
    1.15 +	/* Always show a scrollbar for short pages - stops the jump when the scrollbar appears. non-IE browsers */
    1.16 +	height: 101%;
    1.17 +}
    1.18 +
    1.19 +body {
    1.20 +	/* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
    1.21 +	font-family: Verdana, Helvetica, Arial, sans-serif;
    1.22 +	color: #828282;
    1.23 +	background-color: #FFFFFF;
    1.24 +	/*font-size: 62.5%;			 This sets the default font size to be equivalent to 10px */
    1.25 +	font-size: 10px;
    1.26 +	margin: 0;
    1.27 +	padding: 12px 0;
    1.28 +}
    1.29 +
    1.30 +h1 {
    1.31 +	/* Forum name */
    1.32 +	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    1.33 +	margin-right: 200px;
    1.34 +	color: #FFFFFF;
    1.35 +	margin-top: 15px;
    1.36 +	font-weight: bold;
    1.37 +	font-size: 2em;
    1.38 +}
    1.39 +
    1.40 +h2 {
    1.41 +	/* Forum header titles */
    1.42 +	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    1.43 +	font-weight: normal;
    1.44 +	color: #3f3f3f;
    1.45 +	font-size: 2em;
    1.46 +	margin: 0.8em 0 0.2em 0;
    1.47 +}
    1.48 +
    1.49 +h2.solo {
    1.50 +	margin-bottom: 1em;
    1.51 +}
    1.52 +
    1.53 +h3 {
    1.54 +	/* Sub-headers (also used as post headers, but defined later) */
    1.55 +	font-family: Arial, Helvetica, sans-serif;
    1.56 +	font-weight: bold;
    1.57 +	text-transform: uppercase;
    1.58 +	border-bottom: 1px solid #CCCCCC;
    1.59 +	margin-bottom: 3px;
    1.60 +	padding-bottom: 2px;
    1.61 +	font-size: 1.05em;
    1.62 +	color: #989898;
    1.63 +	margin-top: 20px;
    1.64 +}
    1.65 +
    1.66 +h4 {
    1.67 +	/* Forum and topic list titles */
    1.68 +	font-family: "Trebuchet MS", Verdana, Helvetica, Arial, Sans-serif;
    1.69 +	font-size: 1.3em;
    1.70 +}
    1.71 +
    1.72 +p {
    1.73 +	line-height: 1.3em;
    1.74 +	font-size: 1.1em;
    1.75 +	margin-bottom: 1.5em;
    1.76 +}
    1.77 +
    1.78 +img {
    1.79 +	border-width: 0;
    1.80 +}
    1.81 +
    1.82 +hr {
    1.83 +	/* Also see tweaks.css */
    1.84 +	border: 0 none #FFFFFF;
    1.85 +	border-top: 1px solid #CCCCCC;
    1.86 +	height: 1px;
    1.87 +	margin: 5px 0;
    1.88 +	display: block;
    1.89 +	clear: both;
    1.90 +}
    1.91 +
    1.92 +hr.dashed {
    1.93 +	border-top: 1px dashed #CCCCCC;
    1.94 +	margin: 10px 0;
    1.95 +}
    1.96 +
    1.97 +hr.divider {
    1.98 +	display: none;
    1.99 +}
   1.100 +
   1.101 +p.right {
   1.102 +	text-align: right;
   1.103 +}
   1.104 +
   1.105 +/* Main blocks
   1.106 +---------------------------------------- */
   1.107 +#wrap {
   1.108 +	padding: 0 20px;
   1.109 +	min-width: 650px;
   1.110 +}
   1.111 +
   1.112 +#simple-wrap {
   1.113 +	padding: 6px 10px;
   1.114 +}
   1.115 +
   1.116 +#page-body {
   1.117 +	margin: 4px 0;
   1.118 +	clear: both;
   1.119 +}
   1.120 +
   1.121 +#page-footer {
   1.122 +	clear: both;
   1.123 +}
   1.124 +
   1.125 +#page-footer h3 {
   1.126 +	margin-top: 20px;
   1.127 +}
   1.128 +
   1.129 +#logo {
   1.130 +	float: left;
   1.131 +	width: auto;
   1.132 +	padding: 10px 13px 0 10px;
   1.133 +}
   1.134 +
   1.135 +a#logo:hover {
   1.136 +	text-decoration: none;
   1.137 +}
   1.138 +
   1.139 +/* Search box
   1.140 +--------------------------------------------- */
   1.141 +#search-box {
   1.142 +	color: #FFFFFF;
   1.143 +	position: relative;
   1.144 +	margin-top: 30px;
   1.145 +	margin-right: 5px;
   1.146 +	display: block;
   1.147 +	float: right;
   1.148 +	text-align: right;
   1.149 +	white-space: nowrap; /* For Opera */
   1.150 +}
   1.151 +
   1.152 +#search-box #keywords {
   1.153 +	width: 95px;
   1.154 +	background-color: #FFF;
   1.155 +}
   1.156 +
   1.157 +#search-box input {
   1.158 +	border: 1px solid #b0b0b0;
   1.159 +}
   1.160 +
   1.161 +/* .button1 style defined later, just a few tweaks for the search button version */
   1.162 +#search-box input.button1 {
   1.163 +	padding: 1px 5px;
   1.164 +}
   1.165 +
   1.166 +#search-box li {
   1.167 +	text-align: right;
   1.168 +	margin-top: 4px;
   1.169 +}
   1.170 +
   1.171 +#search-box img {
   1.172 +	vertical-align: middle;
   1.173 +	margin-right: 3px;
   1.174 +}
   1.175 +
   1.176 +/* Site description and logo */
   1.177 +#site-description {
   1.178 +	float: left;
   1.179 +	width: 70%;
   1.180 +}
   1.181 +
   1.182 +#site-description h1 {
   1.183 +	margin-right: 0;
   1.184 +}
   1.185 +
   1.186 +/* Round cornered boxes and backgrounds
   1.187 +---------------------------------------- */
   1.188 +.headerbar {
   1.189 +	background: #ebebeb none repeat-x 0 0;
   1.190 +	color: #FFFFFF;
   1.191 +	margin-bottom: 4px;
   1.192 +	padding: 0 5px;
   1.193 +}
   1.194 +
   1.195 +.navbar {
   1.196 +	background-color: #ebebeb;
   1.197 +	padding: 0 10px;
   1.198 +}
   1.199 +
   1.200 +.forabg {
   1.201 +	background: #b1b1b1 none repeat-x 0 0;
   1.202 +	margin-bottom: 4px;
   1.203 +	padding: 0 5px;
   1.204 +	clear: both;
   1.205 +}
   1.206 +
   1.207 +.forumbg {
   1.208 +	background: #ebebeb none repeat-x 0 0;
   1.209 +	margin-bottom: 4px;
   1.210 +	padding: 0 5px;
   1.211 +	clear: both;
   1.212 +}
   1.213 +
   1.214 +.panel {
   1.215 +	margin-bottom: 4px;
   1.216 +	padding: 0 10px;
   1.217 +	background-color: #f3f3f3;
   1.218 +	color: #3f3f3f;
   1.219 +}
   1.220 +
   1.221 +.post {
   1.222 +	padding: 0 10px;
   1.223 +	margin-bottom: 4px;
   1.224 +	background-repeat: no-repeat;
   1.225 +	background-position: 100% 0;
   1.226 +}
   1.227 +
   1.228 +.post:target .content {
   1.229 +	color: #000000;
   1.230 +}
   1.231 +
   1.232 +.post:target h3 a {
   1.233 +	color: #000000;
   1.234 +}
   1.235 +
   1.236 +.bg1	{ background-color: #f7f7f7;}
   1.237 +.bg2	{ background-color: #f2f2f2; }
   1.238 +.bg3	{ background-color: #ebebeb; }
   1.239 +
   1.240 +.rowbg {
   1.241 +	margin: 5px 5px 2px 5px;
   1.242 +}
   1.243 +
   1.244 +.ucprowbg {
   1.245 +	background-color: #e2e2e2;
   1.246 +}
   1.247 +
   1.248 +.fieldsbg {
   1.249 +	/*border: 1px #DBDEE2 solid;*/
   1.250 +	background-color: #eaeaea;
   1.251 +}
   1.252 +
   1.253 +span.corners-top, span.corners-bottom, span.corners-top span, span.corners-bottom span {
   1.254 +	font-size: 1px;
   1.255 +	line-height: 1px;
   1.256 +	display: block;
   1.257 +	height: 5px;
   1.258 +	background-repeat: no-repeat;
   1.259 +}
   1.260 +
   1.261 +span.corners-top {
   1.262 +	background-image: none;
   1.263 +	background-position: 0 0;
   1.264 +	margin: 0 -5px;
   1.265 +}
   1.266 +
   1.267 +span.corners-top span {
   1.268 +	background-image: none;
   1.269 +	background-position: 100% 0;
   1.270 +}
   1.271 +
   1.272 +span.corners-bottom {
   1.273 +	background-image: none;
   1.274 +	background-position: 0 100%;
   1.275 +	margin: 0 -5px;
   1.276 +	clear: both;
   1.277 +}
   1.278 +
   1.279 +span.corners-bottom span {
   1.280 +	background-image: none;
   1.281 +	background-position: 100% 100%;
   1.282 +}
   1.283 +
   1.284 +.headbg span.corners-bottom {
   1.285 +	margin-bottom: -1px;
   1.286 +}
   1.287 +
   1.288 +.post span.corners-top, .post span.corners-bottom, .panel span.corners-top, .panel span.corners-bottom, .navbar span.corners-top, .navbar span.corners-bottom {
   1.289 +	margin: 0 -10px;
   1.290 +}
   1.291 +
   1.292 +.rules span.corners-top {
   1.293 +	margin: 0 -10px 5px -10px;
   1.294 +}
   1.295 +
   1.296 +.rules span.corners-bottom {
   1.297 +	margin: 5px -10px 0 -10px;
   1.298 +}
   1.299 +
   1.300 +/* Horizontal lists
   1.301 +----------------------------------------*/
   1.302 +ul.linklist {
   1.303 +	display: block;
   1.304 +	margin: 0;
   1.305 +}
   1.306 +
   1.307 +ul.linklist li {
   1.308 +	display: block;
   1.309 +	list-style-type: none;
   1.310 +	float: left;
   1.311 +	width: auto;
   1.312 +	margin-right: 5px;
   1.313 +	font-size: 1.1em;
   1.314 +	line-height: 2.2em;
   1.315 +}
   1.316 +
   1.317 +ul.linklist li.rightside, p.rightside {
   1.318 +	float: right;
   1.319 +	margin-right: 0;
   1.320 +	margin-left: 5px;
   1.321 +	text-align: right;
   1.322 +}
   1.323 +
   1.324 +ul.navlinks {
   1.325 +	padding-bottom: 1px;
   1.326 +	margin-bottom: 1px;
   1.327 +	border-bottom: 1px solid #FFFFFF;
   1.328 +	font-weight: bold;
   1.329 +}
   1.330 +
   1.331 +ul.leftside {
   1.332 +	float: left;
   1.333 +	margin-left: 0;
   1.334 +	margin-right: 5px;
   1.335 +	text-align: left;
   1.336 +}
   1.337 +
   1.338 +ul.rightside {
   1.339 +	float: right;
   1.340 +	margin-left: 5px;
   1.341 +	margin-right: -5px;
   1.342 +	text-align: right;
   1.343 +}
   1.344 +
   1.345 +/* Table styles
   1.346 +----------------------------------------*/
   1.347 +table.table1 {
   1.348 +	/* See tweaks.css */
   1.349 +}
   1.350 +
   1.351 +#ucp-main table.table1 {
   1.352 +	padding: 2px;
   1.353 +}
   1.354 +
   1.355 +table.table1 thead th {
   1.356 +	font-weight: normal;
   1.357 +	text-transform: uppercase;
   1.358 +	color: #FFFFFF;
   1.359 +	line-height: 1.3em;
   1.360 +	font-size: 1em;
   1.361 +	padding: 0 0 4px 3px;
   1.362 +}
   1.363 +
   1.364 +table.table1 thead th span {
   1.365 +	padding-left: 7px;
   1.366 +}
   1.367 +
   1.368 +table.table1 tbody tr {
   1.369 +	border: 1px solid #cfcfcf;
   1.370 +}
   1.371 +
   1.372 +table.table1 tbody tr:hover, table.table1 tbody tr.hover {
   1.373 +	background-color: #f6f6f6;
   1.374 +	color: #000;
   1.375 +}
   1.376 +
   1.377 +table.table1 td {
   1.378 +	color: #6a6a6a;
   1.379 +	font-size: 1.1em;
   1.380 +}
   1.381 +
   1.382 +table.table1 tbody td {
   1.383 +	padding: 5px;
   1.384 +	border-top: 1px solid #FAFAFA;
   1.385 +}
   1.386 +
   1.387 +table.table1 tbody th {
   1.388 +	padding: 5px;
   1.389 +	border-bottom: 1px solid #000000;
   1.390 +	text-align: left;
   1.391 +	color: #333333;
   1.392 +	background-color: #FFFFFF;
   1.393 +}
   1.394 +
   1.395 +/* Specific column styles */
   1.396 +table.table1 .name		{ text-align: left; }
   1.397 +table.table1 .posts		{ text-align: center !important; width: 7%; }
   1.398 +table.table1 .joined	{ text-align: left; width: 15%; }
   1.399 +table.table1 .active	{ text-align: left; width: 15%; }
   1.400 +table.table1 .mark		{ text-align: center; width: 7%; }
   1.401 +table.table1 .info		{ text-align: left; width: 30%; }
   1.402 +table.table1 .info div	{ width: 100%; white-space: normal; overflow: hidden; }
   1.403 +table.table1 .autocol	{ line-height: 2em; white-space: nowrap; }
   1.404 +table.table1 thead .autocol { padding-left: 1em; }
   1.405 +
   1.406 +table.table1 span.rank-img {
   1.407 +	float: right;
   1.408 +	width: auto;
   1.409 +}
   1.410 +
   1.411 +table.info td {
   1.412 +	padding: 3px;
   1.413 +}
   1.414 +
   1.415 +table.info tbody th {
   1.416 +	padding: 3px;
   1.417 +	text-align: right;
   1.418 +	vertical-align: top;
   1.419 +	color: #000000;
   1.420 +	font-weight: normal;
   1.421 +}
   1.422 +
   1.423 +.forumbg table.table1 {
   1.424 +	margin: 0 -2px -1px -1px;
   1.425 +}
   1.426 +
   1.427 +/* Misc layout styles
   1.428 +---------------------------------------- */
   1.429 +/* column[1-2] styles are containers for two column layouts 
   1.430 +   Also see tweaks.css */
   1.431 +.column1 {
   1.432 +	float: left;
   1.433 +	clear: left;
   1.434 +	width: 49%;
   1.435 +}
   1.436 +
   1.437 +.column2 {
   1.438 +	float: right;
   1.439 +	clear: right;
   1.440 +	width: 49%;
   1.441 +}
   1.442 +
   1.443 +/* General classes for placing floating blocks */
   1.444 +.left-box {
   1.445 +	float: left;
   1.446 +	width: auto;
   1.447 +	text-align: left;
   1.448 +}
   1.449 +
   1.450 +.right-box {
   1.451 +	float: right;
   1.452 +	width: auto;
   1.453 +	text-align: right;
   1.454 +}
   1.455 +
   1.456 +dl.details {
   1.457 +	/*font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;*/
   1.458 +	font-size: 1.1em;
   1.459 +}
   1.460 +
   1.461 +dl.details dt {
   1.462 +	float: left;
   1.463 +	clear: left;
   1.464 +	width: 30%;
   1.465 +	text-align: right;
   1.466 +	color: #000000;
   1.467 +	display: block;
   1.468 +}
   1.469 +
   1.470 +dl.details dd {
   1.471 +	margin-left: 0;
   1.472 +	padding-left: 5px;
   1.473 +	margin-bottom: 5px;
   1.474 +	color: #828282;
   1.475 +	float: left;
   1.476 +	width: 65%;
   1.477 +}
   1.478 +
   1.479 +/* Pagination
   1.480 +---------------------------------------- */
   1.481 +.pagination {
   1.482 +	height: 1%; /* IE tweak (holly hack) */
   1.483 +	width: auto;
   1.484 +	text-align: right;
   1.485 +	margin-top: 5px;
   1.486 +	float: right;
   1.487 +}
   1.488 +
   1.489 +.pagination span.page-sep {
   1.490 +	display: none;
   1.491 +}
   1.492 +
   1.493 +li.pagination {
   1.494 +	margin-top: 0;
   1.495 +}
   1.496 +
   1.497 +.pagination strong, .pagination b {
   1.498 +	font-weight: normal;
   1.499 +}
   1.500 +
   1.501 +.pagination span strong {
   1.502 +	padding: 0 2px;
   1.503 +	margin: 0 2px;
   1.504 +	font-weight: normal;
   1.505 +	color: #FFFFFF;
   1.506 +	background-color: #bfbfbf;
   1.507 +	border: 1px solid #bfbfbf;
   1.508 +	font-size: 0.9em;
   1.509 +}
   1.510 +
   1.511 +.pagination span a, .pagination span a:link, .pagination span a:visited, .pagination span a:active {
   1.512 +	font-weight: normal;
   1.513 +	text-decoration: none;
   1.514 +	color: #747474;
   1.515 +	margin: 0 2px;
   1.516 +	padding: 0 2px;
   1.517 +	background-color: #eeeeee;
   1.518 +	border: 1px solid #bababa;
   1.519 +	font-size: 0.9em;
   1.520 +	line-height: 1.5em;
   1.521 +}
   1.522 +
   1.523 +.pagination span a:hover {
   1.524 +	border-color: #d2d2d2;
   1.525 +	background-color: #d2d2d2;
   1.526 +	color: #FFF;
   1.527 +	text-decoration: none;
   1.528 +}
   1.529 +
   1.530 +.pagination img {
   1.531 +	vertical-align: middle;
   1.532 +}
   1.533 +
   1.534 +/* Pagination in viewforum for multipage topics */
   1.535 +.row .pagination {
   1.536 +	display: block;
   1.537 +	float: right;
   1.538 +	width: auto;
   1.539 +	margin-top: 0;
   1.540 +	padding: 1px 0 1px 15px;
   1.541 +	font-size: 0.9em;
   1.542 +	background: none 0 50% no-repeat;
   1.543 +}
   1.544 +
   1.545 +.row .pagination span a, li.pagination span a {
   1.546 +	background-color: #FFFFFF;
   1.547 +}
   1.548 +
   1.549 +.row .pagination span a:hover, li.pagination span a:hover {
   1.550 +	background-color: #d2d2d2;
   1.551 +}
   1.552 +
   1.553 +/* Miscellaneous styles
   1.554 +---------------------------------------- */
   1.555 +#forum-permissions {
   1.556 +	float: right;
   1.557 +	width: auto;
   1.558 +	padding-left: 5px;
   1.559 +	margin-left: 5px;
   1.560 +	margin-top: 10px;
   1.561 +	text-align: right;
   1.562 +}
   1.563 +
   1.564 +.copyright {
   1.565 +	padding: 5px;
   1.566 +	text-align: center;
   1.567 +	color: #555555;
   1.568 +}
   1.569 +
   1.570 +.small {
   1.571 +	font-size: 0.9em !important;
   1.572 +}
   1.573 +
   1.574 +.titlespace {
   1.575 +	margin-bottom: 15px;
   1.576 +}
   1.577 +
   1.578 +.headerspace {
   1.579 +	margin-top: 20px;
   1.580 +}
   1.581 +
   1.582 +.error {
   1.583 +	color: #bcbcbc;
   1.584 +	font-weight: bold;
   1.585 +	font-size: 1em;
   1.586 +}
   1.587 +
   1.588 +.reported {
   1.589 +	background-color: #f7f7f7;
   1.590 +}
   1.591 +
   1.592 +li.reported:hover {
   1.593 +	background-color: #ececec;
   1.594 +}
   1.595 +
   1.596 +div.rules {
   1.597 +	background-color: #ececec;
   1.598 +	color: #bcbcbc;
   1.599 +	padding: 0 10px;
   1.600 +	margin: 10px 0;
   1.601 +	font-size: 1.1em;
   1.602 +}
   1.603 +
   1.604 +div.rules ul, div.rules ol {
   1.605 +	margin-left: 20px;
   1.606 +}
   1.607 +
   1.608 +p.rules {
   1.609 +	background-color: #ececec;
   1.610 +	background-image: none;
   1.611 +	padding: 5px;
   1.612 +}
   1.613 +
   1.614 +p.rules img {
   1.615 +	vertical-align: middle;
   1.616 +	padding-top: 5px;
   1.617 +}
   1.618 +
   1.619 +p.rules a {
   1.620 +	vertical-align: middle;
   1.621 +	clear: both;
   1.622 +}
   1.623 +
   1.624 +#top {
   1.625 +	position: absolute;
   1.626 +	top: -20px;
   1.627 +}
   1.628 +
   1.629 +.clear {
   1.630 +	display: block;
   1.631 +	clear: both;
   1.632 +	font-size: 1px;
   1.633 +	line-height: 1px;
   1.634 +	background: transparent;
   1.635 +}