styles/art_air_green/theme/layout_main.css
changeset 13 118ae93ae3fe
equal deleted inserted replaced
12:898199d067e7 13:118ae93ae3fe
       
     1 /*
       
     2     Header and footer
       
     3 */
       
     4 #header {
       
     5     margin: 0 10px;
       
     6     padding: 0;
       
     7     text-align: center;
       
     8     min-height: 30px;
       
     9     padding-bottom: 5px;
       
    10     background: #ececec url({T_THEME_PATH}/images/header_g1.png) top left repeat-x;
       
    11     background: url({T_THEME_PATH}/images/hdr_br.gif) bottom right no-repeat,
       
    12         url({T_THEME_PATH}/images/hdr_bl.gif) bottom left no-repeat,
       
    13         url({T_THEME_PATH}/images/hdr_r.gif) top right repeat-y,
       
    14         url({T_THEME_PATH}/images/hdr_l.gif) top left repeat-y,
       
    15         url({T_THEME_PATH}/images/hdr_b.gif) bottom left repeat-x,
       
    16         url({T_THEME_PATH}/images/header_g2.png) top center repeat-y,
       
    17         #ececec url({T_THEME_PATH}/images/header_g1.png) top left repeat-x;
       
    18 }
       
    19 .old-ie #header {
       
    20     padding-bottom: 0;
       
    21 }
       
    22 .old-ie #header .hdr1, .old-ie #footer .hdr1 {
       
    23     background: url({T_THEME_PATH}/images/header_g2.png) top center repeat-y;
       
    24 }
       
    25 .old-ie #header .hdr2 {
       
    26     background: url({T_THEME_PATH}/images/hdr_b.gif) bottom left repeat-x;
       
    27 }
       
    28 .old-ie #footer .hdr2 {
       
    29     background: url({T_THEME_PATH}/images/hdr_t.gif) top left repeat-x;
       
    30 }
       
    31 .old-ie #header .hdr3, .old-ie #footer .hdr3 {
       
    32     background: url({T_THEME_PATH}/images/hdr_l.gif) top left repeat-y;
       
    33 }
       
    34 .old-ie #header .hdr4, .old-ie #footer .hdr4 {
       
    35     background:  url({T_THEME_PATH}/images/hdr_r.gif) top right repeat-y;
       
    36 }
       
    37 .old-ie #header .hdr5 {
       
    38     background: url({T_THEME_PATH}/images/hdr_bl.gif) bottom left no-repeat;
       
    39 }
       
    40 .old-ie #footer .hdr5 {
       
    41     background: url({T_THEME_PATH}/images/hdr_tl.gif) top left no-repeat;
       
    42 }
       
    43 .old-ie #header .hdr6 {
       
    44     background: url({T_THEME_PATH}/images/hdr_br.gif) bottom right no-repeat;
       
    45     min-height: 30px;
       
    46     padding-bottom: 5px;
       
    47 }
       
    48 .old-ie #footer .hdr6 {
       
    49     background: url({T_THEME_PATH}/images/hdr_tr.gif) top right no-repeat;
       
    50 }
       
    51 
       
    52 #header a {
       
    53     margin: 0;
       
    54     padding: 0;
       
    55     line-height: 1em;
       
    56     font-size: 1px;
       
    57     text-decoration: none;
       
    58     border-width: 0;
       
    59 }
       
    60 #header a > img { 
       
    61     margin: 0; 
       
    62     padding: 0;
       
    63     opacity: 1 !important;
       
    64 }
       
    65 
       
    66 #header p, #header h1 {
       
    67     margin: 0;
       
    68     padding: 0;
       
    69     text-align: center;
       
    70     white-space: nowrap;
       
    71     font-weight: normal;
       
    72     line-height: 1.4em;
       
    73     font-family: Arial;
       
    74     text-shadow: rgba(0, 0, 0, 0.1) 1px 2px 1px;
       
    75 }
       
    76 
       
    77 #header h1 {
       
    78     font-size: 24px;
       
    79     color: #32b359;
       
    80 }
       
    81 #header p {
       
    82     font-size: 16px;
       
    83     color: #888;
       
    84 }
       
    85 
       
    86 #header .skiplink { display: none; }
       
    87 
       
    88 
       
    89 #page-header {
       
    90     clear: both;
       
    91     margin: 0 15px;
       
    92     min-height: 10px;
       
    93 }
       
    94 
       
    95 #nav-header, #search-adv {
       
    96     display: block;
       
    97     float: left;
       
    98     z-index: 1;
       
    99     margin-left: 5px;
       
   100     position: relative;
       
   101     top: -16px;
       
   102     font-size: 12px;
       
   103     line-height: 1em;
       
   104     text-align: center;
       
   105 }
       
   106 #nav-header a, #nav-header a:visited, #search-adv a, #search-adv a:visited {
       
   107     display: block;
       
   108     float: left;
       
   109     margin: 0 19px 0 4px;
       
   110     padding: 0;
       
   111     padding-left: 15px;
       
   112     line-height: 1em;
       
   113     color: #32b359;
       
   114     background: url({T_THEME_PATH}/images/menu.png) top left no-repeat;
       
   115     text-decoration: none;
       
   116     transition: none;
       
   117     -webkit-transition: none;
       
   118     -moz-transition: none;
       
   119     -o-transition: none;
       
   120     -ms-transition: none;
       
   121 }
       
   122 #nav-header a span, #search-adv a span {
       
   123     display: inline-block;
       
   124     margin: 0;
       
   125     margin-right: -15px;
       
   126     padding: 0;
       
   127     padding-right: 15px;
       
   128     padding-top: 9px;
       
   129     height: 21px;
       
   130     background: url({T_THEME_PATH}/images/menu2.png) top right no-repeat;
       
   131     font-size: 14px;
       
   132     font-family: Arial;
       
   133 }
       
   134 
       
   135 #nav-header a:hover, #nav-header a.new, #search-adv a:hover {
       
   136     background-position: bottom left;
       
   137 }
       
   138 #nav-header a:hover span, #nav-header a.new span, #search-adv a:hover span {
       
   139     background-position: bottom right;
       
   140     color: #da5d20;
       
   141 }
       
   142 #nav-header strong { font-weight: normal; }
       
   143 
       
   144 #search-adv {
       
   145     float: right;
       
   146     z-index: 1;
       
   147     margin-left: 0;
       
   148     margin-right: 5px;
       
   149 }
       
   150 #search-box {
       
   151     position: relative;
       
   152     float: right;
       
   153     z-index: 1;
       
   154     top: -16px;
       
   155     width: 174px;
       
   156     height: 27px;
       
   157     background: url({T_THEME_PATH}/images/header_search.png) 0 0 no-repeat;
       
   158     margin: 0 4px;
       
   159     padding: 3px 0 0 26px;
       
   160 }
       
   161 #search-box:hover { background-position: 0 -40px; }
       
   162 #search-box form { 
       
   163     display: inline; 
       
   164     border-width: 0;
       
   165     margin: 0;
       
   166     padding: 0;
       
   167 }
       
   168 .browser-ie #search-box input[type="text"] {
       
   169     margin-top: 1px;
       
   170 }
       
   171 #search-box input[type="text"] {
       
   172     margin: 0;
       
   173     padding: 4px 3px;
       
   174     border-width: 0;
       
   175     -moz-border-radius: 0;
       
   176     -webkit-border-radius: 0;
       
   177     border-radius: 0;
       
   178     background: transparent;
       
   179     height: 16px;
       
   180     width: 160px;
       
   181     line-height: 1em;
       
   182     font-size: 14px;
       
   183     font-family: Arial;
       
   184     color: #32b359;
       
   185     outline-style: none;
       
   186     -webkit-appearance: none;
       
   187 }
       
   188 #search-box:hover input[type="text"], #search-box input[type="text"]:hover, #search-box input[type="text"]:focus {
       
   189     color: #da5d20;
       
   190 }
       
   191 .browser-ie #search-box input[type="text"] {
       
   192     height: 14px;
       
   193 }
       
   194 
       
   195 /*
       
   196     Footer
       
   197 */
       
   198 #footer {
       
   199     position: absolute;
       
   200     bottom: 0;
       
   201     left: 10px;
       
   202     right: 10px;
       
   203     text-align: center;
       
   204     vertical-align: bottom;
       
   205     line-height: 1.3em;
       
   206     font-size: 11px;
       
   207     color: #888;
       
   208     text-shadow: none;
       
   209     background: #ececec url({T_THEME_PATH}/images/header_g2.png) top center repeat-y;
       
   210     background: url({T_THEME_PATH}/images/hdr_tr.gif) top right no-repeat,
       
   211         url({T_THEME_PATH}/images/hdr_tl.gif) top left no-repeat,
       
   212         url({T_THEME_PATH}/images/hdr_r.gif) top right repeat-y,
       
   213         url({T_THEME_PATH}/images/hdr_l.gif) top left repeat-y,
       
   214         url({T_THEME_PATH}/images/hdr_t.gif) top left repeat-x,
       
   215         url({T_THEME_PATH}/images/header_g2.png) top center repeat-y,
       
   216         #ececec url({T_THEME_PATH}/images/header_g1.png) top left repeat-x;
       
   217 }
       
   218 #footer, .old-ie #footer .hdr6 {
       
   219     padding: 8px 10px 6px;
       
   220     max-height: 30px;
       
   221     overflow: hidden;
       
   222 }
       
   223 .old-ie #footer {
       
   224     padding: 0;
       
   225     max-height: auto;
       
   226 }
       
   227 #footer .copyright > strong { 
       
   228     display: block;
       
   229     clear: both; 
       
   230     text-align: center;
       
   231     font-weight: normal;
       
   232     font-size: 14px;
       
   233     font-family: Arial;
       
   234 }
       
   235 #footer .copyright a, #footer .copyright a:visited {
       
   236     color: #666;
       
   237 }
       
   238 #footer .copyright a:hover {
       
   239     color: #da5d20;
       
   240     text-decoration: underline;
       
   241 }
       
   242 
       
   243 body.simple .copyright {
       
   244     text-align: center;
       
   245     color: #888;
       
   246     font-size: 11px;
       
   247 }
       
   248 
       
   249 .copyright .copy-left {
       
   250     float: left;
       
   251     text-align: left;
       
   252 }
       
   253 .copyright .copy-right {
       
   254     float: right;
       
   255     text-align: right;
       
   256 }
       
   257 
       
   258 /*
       
   259     Wrapper
       
   260 */
       
   261 #page-body { 
       
   262     padding: 0 10px 45px;
       
   263 }
       
   264 #page-body > p, .section-index #page-body > form { margin: 6px 4px; }
       
   265 #page-body > p.rightside { margin-top: 0; }
       
   266 body.simple #page-body > h2.solo {
       
   267     margin-top: 10px;
       
   268 }
       
   269 
       
   270 /*
       
   271     Navigation
       
   272 */
       
   273 .nav-links {
       
   274     clear: left;
       
   275     position: relative;
       
   276     left: 10px;
       
   277     top: -6px;
       
   278     height: 34px;
       
   279     margin: 0;
       
   280     padding: 0;
       
   281     text-align: left;
       
   282 }
       
   283 .nav-links-footer { 
       
   284     top: 0; 
       
   285     margin-top: 6px;
       
   286 }
       
   287 .nav-links a {
       
   288     display: block;
       
   289     float: left;
       
   290     height: 30px;
       
   291     padding-right: 15px;
       
   292     margin-right: 6px;
       
   293     background: url({T_THEME_PATH}/images/nav.png) right 0 no-repeat;
       
   294 }
       
   295 .nav-links a, .nav-links a:visited, .nav-links a:hover, .nav-links a:active {
       
   296     outline-style: none;
       
   297 }
       
   298 .nav-links a span {
       
   299     display: block;
       
   300     background: url({T_THEME_PATH}/images/nav2.png) 0 0 no-repeat;
       
   301     margin-left: -10px;
       
   302     padding-top: 8px;
       
   303     padding-left: 14px;
       
   304     height: 22px;
       
   305     font-size: 14px;
       
   306     font-family: Arial;
       
   307     line-height: 1em;
       
   308     white-space: nowrap;
       
   309     max-width: 200px;
       
   310     overflow: hidden;
       
   311     color: #32b359;
       
   312 }
       
   313 .nav-links a.first span {
       
   314     background-image: url({T_THEME_PATH}/images/nav2a.png);
       
   315     padding-left: 25px;
       
   316 }
       
   317 .nav-links a.first2 span {
       
   318     padding-left: 6px;
       
   319     background-position: -20px 0;
       
   320 }
       
   321 .nav-links a:hover {
       
   322     background-position: right -40px;
       
   323 }
       
   324 .nav-links a:hover span {
       
   325     background-position: 0 -40px;
       
   326     color: #da5d20;
       
   327 }
       
   328 .nav-links a.first2:hover span {
       
   329     background-position: -20px -80px;
       
   330 }
       
   331 
       
   332 .nav-extra {
       
   333     z-index: 2;
       
   334     clear: right;
       
   335     float: right;
       
   336     position: relative;
       
   337     top: -8px;
       
   338     font-size: 11px;
       
   339     margin: 8px;
       
   340     color: #888;
       
   341 }
       
   342 .nav-extra-footer { top: 0; }
       
   343 .nav-extra .time { color: #444; }
       
   344 
       
   345 /*
       
   346     Rules
       
   347 */
       
   348 div.rules {
       
   349     margin: 6px 0;
       
   350     padding: 1px;
       
   351     background: #faf8f6;
       
   352     border: solid 1px #cca38f;
       
   353     border-radius: 10px;
       
   354     -moz-border-radius: 10px;
       
   355     -webkit-border-radius: 10px;
       
   356     text-shadow: none;
       
   357 }
       
   358 div.rules .inner {
       
   359     background: #f5e6df;
       
   360     padding: 6px;
       
   361     border-radius: 8px;
       
   362     -moz-border-radius: 8px;
       
   363     -moz-webkit-radius: 8px;
       
   364 }
       
   365 div.rules .inner > strong { 
       
   366     color: #32b359; 
       
   367     font-family: Arial;
       
   368     font-size: 14px;
       
   369     font-weight: normal;
       
   370     line-height: 1.4em;
       
   371 }
       
   372 #information .inner, #newpm .inner {
       
   373     text-align: center;
       
   374     padding: 20px;
       
   375 }
       
   376