author | Tero Marttila <terom@paivola.fi> |
Sun, 14 Sep 2014 13:05:35 +0300 | |
changeset 92 | 91c180dade68 |
parent 89 | static/style.css@158854761213 |
parent 86 | static/style.css@b5769d01793d |
child 95 | 566b1122a656 |
permissions | -rw-r--r-- |
1 | 1 |
|
2 |
/* |
|
3 |
* Three main areas: |
|
4 |
* header |
|
5 |
* nav |
|
6 |
* content |
|
7 |
* |
|
8 |
* Border layout: |
|
9 |
* Header (bottom) |
|
10 |
* Content (left) |
|
11 |
*/ |
|
12 |
||
13 |
/* |
|
67
c64665b0ff30
site layout: update style.css for use with bootstrap
Tero Marttila <terom@paivola.fi>
parents:
55
diff
changeset
|
14 |
* General |
1 | 15 |
*/ |
67
c64665b0ff30
site layout: update style.css for use with bootstrap
Tero Marttila <terom@paivola.fi>
parents:
55
diff
changeset
|
16 |
a:hover { |
c64665b0ff30
site layout: update style.css for use with bootstrap
Tero Marttila <terom@paivola.fi>
parents:
55
diff
changeset
|
17 |
color: inherit; |
1 | 18 |
} |
19 |
||
86 | 20 |
code { |
21 |
color: inherit; |
|
22 |
background-color: inherit; |
|
23 |
} |
|
24 |
||
1 | 25 |
/* |
26 |
* Top header |
|
27 |
*/ |
|
28 |
div#header { |
|
29 |
padding: 30px; |
|
30 |
||
67
c64665b0ff30
site layout: update style.css for use with bootstrap
Tero Marttila <terom@paivola.fi>
parents:
55
diff
changeset
|
31 |
border-bottom: 1px dashed #a5a5a5; |
c64665b0ff30
site layout: update style.css for use with bootstrap
Tero Marttila <terom@paivola.fi>
parents:
55
diff
changeset
|
32 |
} |
c64665b0ff30
site layout: update style.css for use with bootstrap
Tero Marttila <terom@paivola.fi>
parents:
55
diff
changeset
|
33 |
|
c64665b0ff30
site layout: update style.css for use with bootstrap
Tero Marttila <terom@paivola.fi>
parents:
55
diff
changeset
|
34 |
div#header h1 { |
1 | 35 |
font-size: 48pt; |
36 |
font-weight: bold; |
|
37 |
} |
|
38 |
||
11 | 39 |
div#header a:hover { |
40 |
text-decoration: none; |
|
41 |
} |
|
42 |
||
1 | 43 |
/* |
44 |
* Main navigation menu |
|
45 |
*/ |
|
67
c64665b0ff30
site layout: update style.css for use with bootstrap
Tero Marttila <terom@paivola.fi>
parents:
55
diff
changeset
|
46 |
#nav { |
71
354be5a5699a
site style: nav margin, to replace footer margin
Tero Marttila <terom@paivola.fi>
parents:
67
diff
changeset
|
47 |
margin: 20px 0px; |
18
0e701fbd6760
fix nav-float bug with nested lists
Tero Marttila <terom@fixme.fi>
parents:
12
diff
changeset
|
48 |
} |
0e701fbd6760
fix nav-float bug with nested lists
Tero Marttila <terom@fixme.fi>
parents:
12
diff
changeset
|
49 |
|
12 | 50 |
#nav ul { |
1 | 51 |
|
52 |
} |
|
53 |
||
12 | 54 |
#nav ul ul { |
67
c64665b0ff30
site layout: update style.css for use with bootstrap
Tero Marttila <terom@paivola.fi>
parents:
55
diff
changeset
|
55 |
|
12 | 56 |
} |
57 |
||
58 |
#nav li a { |
|
67
c64665b0ff30
site layout: update style.css for use with bootstrap
Tero Marttila <terom@paivola.fi>
parents:
55
diff
changeset
|
59 |
|
1 | 60 |
} |
61 |
||
12 | 62 |
#nav li a:hover { |
1 | 63 |
background-color: #d0d0d0; |
64 |
text-decoration: none; |
|
65 |
} |
|
66 |
||
67
c64665b0ff30
site layout: update style.css for use with bootstrap
Tero Marttila <terom@paivola.fi>
parents:
55
diff
changeset
|
67 |
#nav li.page-tree-active { |
c64665b0ff30
site layout: update style.css for use with bootstrap
Tero Marttila <terom@paivola.fi>
parents:
55
diff
changeset
|
68 |
background-color: #808080; |
2 | 69 |
} |
70 |
||
1 | 71 |
/* |
72 |
* Content |
|
73 |
*/ |
|
74 |
div#content { |
|
75 |
||
76 |
} |
|
20
d40c339d3778
I know I'm very naive to think I've solved my CSS layout problems now...
Tero Marttila <terom@fixme.fi>
parents:
18
diff
changeset
|
77 |
|
28 | 78 |
div#breadcrumb { |
67
c64665b0ff30
site layout: update style.css for use with bootstrap
Tero Marttila <terom@paivola.fi>
parents:
55
diff
changeset
|
79 |
display: none; |
28 | 80 |
font-size: x-small; |
81 |
} |
|
82 |
||
21
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
83 |
/* |
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
84 |
* Footer |
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
85 |
*/ |
20
d40c339d3778
I know I'm very naive to think I've solved my CSS layout problems now...
Tero Marttila <terom@fixme.fi>
parents:
18
diff
changeset
|
86 |
div#footer { |
67
c64665b0ff30
site layout: update style.css for use with bootstrap
Tero Marttila <terom@paivola.fi>
parents:
55
diff
changeset
|
87 |
padding: 20px 0px; |
20
d40c339d3778
I know I'm very naive to think I've solved my CSS layout problems now...
Tero Marttila <terom@fixme.fi>
parents:
18
diff
changeset
|
88 |
|
d40c339d3778
I know I'm very naive to think I've solved my CSS layout problems now...
Tero Marttila <terom@fixme.fi>
parents:
18
diff
changeset
|
89 |
border-top: 1px dashed #a5a5a5; |
d40c339d3778
I know I'm very naive to think I've solved my CSS layout problems now...
Tero Marttila <terom@fixme.fi>
parents:
18
diff
changeset
|
90 |
|
d40c339d3778
I know I'm very naive to think I've solved my CSS layout problems now...
Tero Marttila <terom@fixme.fi>
parents:
18
diff
changeset
|
91 |
font-size: x-small; |
d40c339d3778
I know I'm very naive to think I've solved my CSS layout problems now...
Tero Marttila <terom@fixme.fi>
parents:
18
diff
changeset
|
92 |
font-style: italic; |
d40c339d3778
I know I'm very naive to think I've solved my CSS layout problems now...
Tero Marttila <terom@fixme.fi>
parents:
18
diff
changeset
|
93 |
} |
21
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
94 |
|
26
9d3beac1b196
remove foo.html page, and rice up the footer a bit
Tero Marttila <terom@fixme.fi>
parents:
24
diff
changeset
|
95 |
div#footer-left { |
9d3beac1b196
remove foo.html page, and rice up the footer a bit
Tero Marttila <terom@fixme.fi>
parents:
24
diff
changeset
|
96 |
float: left; |
9d3beac1b196
remove foo.html page, and rice up the footer a bit
Tero Marttila <terom@fixme.fi>
parents:
24
diff
changeset
|
97 |
} |
9d3beac1b196
remove foo.html page, and rice up the footer a bit
Tero Marttila <terom@fixme.fi>
parents:
24
diff
changeset
|
98 |
|
67
c64665b0ff30
site layout: update style.css for use with bootstrap
Tero Marttila <terom@paivola.fi>
parents:
55
diff
changeset
|
99 |
.page-footer-modified { |
21
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
100 |
float: right; |
26
9d3beac1b196
remove foo.html page, and rice up the footer a bit
Tero Marttila <terom@fixme.fi>
parents:
24
diff
changeset
|
101 |
text-align: right; |
9d3beac1b196
remove foo.html page, and rice up the footer a bit
Tero Marttila <terom@fixme.fi>
parents:
24
diff
changeset
|
102 |
} |
9d3beac1b196
remove foo.html page, and rice up the footer a bit
Tero Marttila <terom@fixme.fi>
parents:
24
diff
changeset
|
103 |
|
9d3beac1b196
remove foo.html page, and rice up the footer a bit
Tero Marttila <terom@fixme.fi>
parents:
24
diff
changeset
|
104 |
div#footer-center { |
9d3beac1b196
remove foo.html page, and rice up the footer a bit
Tero Marttila <terom@fixme.fi>
parents:
24
diff
changeset
|
105 |
text-align: center; |
21
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
106 |
} |
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
107 |
|
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
108 |
/* |
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
109 |
* General styles |
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
110 |
*/ |
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
111 |
a { |
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
112 |
color: black; |
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
113 |
text-decoration: none; |
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
114 |
font-weight: bold; |
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
115 |
} |
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
116 |
|
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
117 |
a:hover { |
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
118 |
text-decoration: underline; |
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
119 |
} |
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
120 |
|
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
121 |
h1 { |
89
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
122 |
font-size: xx-large; |
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
123 |
|
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
124 |
text-align: center; |
21
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
125 |
} |
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
126 |
|
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
127 |
h2 { |
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
128 |
font-size: large; |
89
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
129 |
|
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
130 |
margin-left: 0px; |
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
131 |
padding: 5px; |
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
132 |
width: 100%; |
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
133 |
|
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
134 |
background-color: #e5e5e5; |
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
135 |
|
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
136 |
border: 1px dashed #c5c5c5; |
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
137 |
} |
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
138 |
|
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
139 |
h3 { |
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
140 |
font-size: medium; |
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
141 |
font-style: italic; |
21
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
142 |
} |
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
143 |
|
67
c64665b0ff30
site layout: update style.css for use with bootstrap
Tero Marttila <terom@paivola.fi>
parents:
55
diff
changeset
|
144 |
#content p { |
24 | 145 |
margin-left: 0.5em; |
146 |
} |
|
147 |
||
21
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
148 |
#content li { |
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
149 |
padding: 2px; |
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
150 |
} |
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
151 |
|
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
152 |
#content a { |
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
153 |
padding-right: 13px; |
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
154 |
|
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
155 |
background: transparent url(/static/link.png) no-repeat center right; |
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
156 |
} |
b05979822dee
some unicode fixes, layout tweaks, a link icon
Tero Marttila <terom@fixme.fi>
parents:
20
diff
changeset
|
157 |
|
89
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
158 |
dt { |
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
159 |
font-size: large; |
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
160 |
} |
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
161 |
|
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
162 |
dd { |
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
163 |
margin: 1em auto 1em 5em; |
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
164 |
} |
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
165 |
|
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
166 |
code { |
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
167 |
display: block; |
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
168 |
margin: 8px; |
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
169 |
padding: 8px; |
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
170 |
|
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
171 |
border: 1px dotted #b5b5b5; |
158854761213
write degal page, tweak h1/h2/h3 styles, tweak other pages to use those, add missing spbot.html page
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
172 |
} |