/[drupal]/contributions/sandbox/mfredrickson/themes/nautilus/style.php
ViewVC logotype

Contents of /contributions/sandbox/mfredrickson/themes/nautilus/style.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Wed Jun 21 02:22:01 2006 UTC (3 years, 5 months ago) by mfredrickson
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-php
checking in a few last files
1 <?php
2 include 'stylelab.inc'; // get some functions...
3 header("Content-type: text/css");
4 ?>
5 /* Auto Generated PHP based CSS File */
6
7 <?php
8 $cMain = '#000080';
9 $cContrast = '#6E6E0F';
10 $cContrastLight ='#f0f0e2';
11 $cOpposite = '#700009';
12 for($i = 1; $i <= 6; ++$i) {
13
14 print "h$i {";
15 print "font-size: " . (((7 -$i) * 42) + 30) . "%;";
16 print "text-transform: uppercase;";
17 print "color: $cContrast;";
18 print "line-height: 90%;";
19 print "margin: 0 0 .4em 0;";
20 print "}";
21 }
22
23 print stylelab_linker("text-decoration: none; line-height: inherit; color: inherit; background-color: $cContrastLight;");
24
25 print stylelab_linker("background: none; color: $cOpposite;", "h1");
26 print stylelab_linker("background: none; ", "", "img");
27
28 ?>
29
30 body {
31 background: url(images/watermark.png) center bottom fixed no-repeat;
32 }
33
34 a:hover {
35 background: <?= $cContrast ?>;
36 color: white;
37 }
38
39 p {
40 font-family: Georgia, Times, "Times New Roman";
41 margin: 1em 0 1em 0;
42 }
43
44 .form-item select, .form-item input, .form-item textarea {max-width: 100%;}
45
46 /* add a relative positing to the hd class */
47 #hd {
48 position: relative;
49 }
50
51 #site-name-slogan {
52 position: absolute;
53 top: 28px; left: 148px;
54 margin-right: 11em;
55 }
56
57 #site-name-slogan * {margin: 0;}
58
59 #site-slogan {
60 text-transform: lowercase;
61 font-size: 110%;
62 color: <?= $cContrast ?>;
63 margin: 0;
64 }
65
66 #search-box {
67 position: absolute;
68 top: 0; right: 0;
69 margin: 0em 0 0 0;
70 padding: 2em;
71 width: 10em;
72 border: 3px dashed <?= $cOpposite ?>;
73 text-transform: uppercase;
74 text-align: right;
75 }
76
77 #search-box input {
78 width: 100%;
79 }
80
81 #search-box .form-submit {
82 display: none;
83 }
84
85 #hd a {
86 background: none;
87 }
88
89 #breadcrumb {
90 text-transform: uppercase;
91 font-size: 92%;
92 }

  ViewVC Help
Powered by ViewVC 1.1.2