summary refs log tree commit diff stats
path: root/theme/layouts/6.2/style.css
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2009-10-03 10:30:17 -0400
committerStarla Insigna <hatkirby@fourisland.com>2009-10-03 10:30:17 -0400
commitdc0fb9445e8a3ede8bc33d6779fadd89b7ea6893 (patch)
tree511b0f752889172163f3801cdbe311f0efc55540 /theme/layouts/6.2/style.css
parent0e4089184a44719fbd1284acb047ab7547674412 (diff)
downloadfourisland-dc0fb9445e8a3ede8bc33d6779fadd89b7ea6893.tar.gz
fourisland-dc0fb9445e8a3ede8bc33d6779fadd89b7ea6893.tar.bz2
fourisland-dc0fb9445e8a3ede8bc33d6779fadd89b7ea6893.zip
Created Theme Switcher
Also rewrote the way layouts work. Now, each layout requires a "layout.tpl" file (which contains the header and footer for the layout) and a "style.php"
file (which contains and can include other files that contain the CSS for the layout). Each layout has it's own folder in theme/layouts and you can switch
between them using a combo box in the Hatbar.

Layouts 6.2 and 4.5 have been modified to work with new Layout 7 features such as AJAX, and they should be relatively free of bugs. Layout 3 has not yet
been transferred because since it is pre-The New Four Island, it will be very difficult to do so.

This changeset requires manual external code changes:

* The line below must be added above the functions.php include in The Fourm's funnctions.php
	require('/svr/www/hatkirby/fourisland/main/includes/session.php');
* The block of Four Island code in The Fourm's page_header() function should be replaced with:
	global $fi_pagetitle;
	$fi_pagetitle = $page_title;

	ob_start();
* The block of Four Island code in The Fourm's page_footer() function should be replaced with:
	global $fi_pagetitle;

	$content = ob_get_contents();
	ob_end_clean();

	$noRightbar = 1;
	$onFourm = 1;
	$pageCategory = 'fourm';

	if ($fi_pagetitle == 'Index page')
	{
		$title = 'The Fourm';
	} else if (strpos($fi_pagetitle, 'View topic') !== FALSE)
	{
		$title = str_replace('View topic - ', 'Topic: ', $fi_pagetitle) . ' - The Fourm';
	} else if (strpos($fi_pagetitle, 'View forum') !== FALSE)
	{
		$title = str_replace('View forum - ', 'Fourm: ', $fi_pagetitle) . ' - The Fourm';
	} else if (strpos($fi_pagetitle, 'Viewing profile') !== FALSE)
	{
		$title = str_replace('Viewing profile - ', 'Member: ', $fi_pagetitle) . ' - The Fourm';
	} else {
		$title = $fi_pagetitle . ' - The Fourm';
	}

	if ($_GET['view'] != 'print')
	{
		include('/svr/www/hatkirby/fourisland/main/includes/layout.php');
	} else {
		echo $content;
	}

Closes #117
Diffstat (limited to 'theme/layouts/6.2/style.css')
-rw-r--r--theme/layouts/6.2/style.css247
1 files changed, 247 insertions, 0 deletions
diff --git a/theme/layouts/6.2/style.css b/theme/layouts/6.2/style.css new file mode 100644 index 0000000..53f3556 --- /dev/null +++ b/theme/layouts/6.2/style.css
@@ -0,0 +1,247 @@
1/* Banner */
2
3div#banner, div#fi-banner {
4 background-repeat: no-repeat;
5 width: 900px; /*728*/
6 height: 200px;
7 float: left;
8/* margin-top: 21px; */
9}
10
11div#banner {
12 background: white url("/theme/images/fourisland_header.png") center no-repeat;
13 width: 100%;
14}
15
16body div#banner h1, body div#fi-banner h1 {
17 margin: 0;
18}
19
20body div#banner h1 a, body div#fi-banner h1 a {
21 display: block;
22 width: 900px;
23 height: 200px;
24 text-indent: -5000px;
25 text-decoration: none;
26 margin: 0;
27}
28
29div#banner h1, div#fi-banner h1 {
30 margin: 0;
31 font-size: 3.0em;
32 font-weight: normal;
33}
34
35/* NavBar */
36
37div#fi-navbar {
38 position: relative;
39 background-color: #b7e0ff;
40 width: auto;
41 margin-bottom: 14px;
42 font: 0.9em "Lucida Grande", Lucida, Verdana, sans-serif;
43 height: 1.9em;
44 clear: both;
45}
46
47div#fi-navbar div {
48 padding: .001em 0;
49 margin: 10px;
50}
51
52div#fi-navbar ul {
53 margin: .25em 0;
54 padding-left: 1em;
55 text-align: center;
56}
57
58div#fi-navbar ul li {
59 display: inline;
60 font-family: Verdana, sans-serif;
61 font-size: 1.1em;
62}
63
64div#fi-navbar ul li+li:before {
65 content: " - ";
66}
67
68div#fi-navbar ul li img,
69div#fi-navbar ul li.active span {
70 display: none;
71}
72
73div#fi-navbar ul li.active img {
74 display: inline;
75 background-color: white;
76 outline: white solid .5em;
77 margin: 0 .5em;
78}
79
80div#fi-navbar div.bubble blockquote {
81 background: none;
82 font-size: 0.9em;
83}
84
85div#fi-navbar div.bubble blockquote a {
86 color: blue;
87}
88
89/* Sidebar */
90
91div#rightbar {
92 float: left;
93 width: 270px; /*210*/
94}
95
96div.sidebar {
97 width: 250px; /*250*/ /*240*/ /*210*/
98 padding: 0 10px;
99 margin-bottom: 5px;
100}
101
102div.sidebar h3 {
103 font-family: Verdana, Helvetica, Arial, sans-serif;
104 margin: 5px 0 0 0;
105 font-weight: bold;
106 color: #333333;
107}
108
109div.sidebar p {
110 font-size: 0.8em;
111 margin: 3px 0;
112}
113
114div.sidebar ul {
115 list-style-type: none;
116 padding: 0;
117 margin: 0;
118 line-height: normal !important;
119 list-style-image: none !important;
120}
121
122div#sidebar ul li {
123 margin-top: 4px;
124}
125
126div#sidebar ul li a {
127 display: block;
128 width: 230px;
129}
130
131div#sidebar li img {
132 border: 0;
133 height: 16px;
134 width: 16px;
135}
136
137/* Layout */
138
139#wrap {
140 width: 910px;
141 margin: 10px auto;
142 padding: 0;
143 background-color: white;
144 background-color: rgba(255, 255, 255, 0.5);
145 border: 4px solid gray;
146}
147
148#page-body {
149 margin: 0 30px;
150 clear: both;
151 position: relative;
152}
153
154body.fourm #page-body {
155 margin: 0 10px 0 25px;
156 width: 95%;
157 font-size: 62.5%;
158}
159
160#phpBB3-page-body {
161 margin: 4px 0 !important;
162 clear: both;
163}
164
165/* Content */
166
167div#content {
168 float: right;
169 width: 555px; /*465*/ /*555*/
170}
171
172div#footer {
173 clear: both;
174 padding: .5em 0 1em 0;
175 margin-top: .5em;
176 text-align: center;
177 font-size: .68em;
178 border-top: 1px black solid;
179}
180
181div#footer ul.rows li {
182 display: list-item;
183}
184
185div#footer ul {
186 padding: 0;
187 margin: 0;
188 list-style-type: none;
189}
190
191div#footer ul li {
192 display: inline;
193 margin-right: 1em;
194}
195
196div#footer ul li img {
197 width: 20px;
198 height: 20px;
199 vertical-align: top;
200}
201
202div#content ul {
203 list-style: url(/theme/images/bullet_disk_big.png);
204}
205
206div#content a img {
207 border: solid transparent 1px;
208}
209
210div#content a:hover img {
211 border: dashed gray 1px;
212}
213
214div#hatbar.quotes-options ul {
215 list-style: none;
216}
217
218div.autosize {
219 margin-bottom: 6px !important;
220}
221
222body {
223 background: repeat-x bottom left fixed;
224 font-family: Arial, FreeSans;
225 margin: 0px;
226 padding: 0px 0px 30px !important;
227}
228
229body.fourm {
230 font-family: Verdana, Helvetica, Arial, sans-serif;
231}
232
233body.fourm div#content {
234 width: 100%;
235 float: none;
236}
237
238body {
239 background-color: aqua;
240 background-image: url(/theme/images/backgrounds/island6.PNG);
241}
242
243span.post-vote {
244 float: right;
245 position: relative;
246 top: -20px;
247}