1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
<?php
/**
* Visual styling
*
* @package Elgg.Core
* @subpackage UI
*/
/* Colors:
#4690D6 - elgg light blue
#0054A7 - elgg dark blue
#e4ecf5 - elgg very light blue
*/
?>
a {
color: #4690D6;
}
a:hover,
a.selected {
color: #555555;
}
a:hover,
a.selected {
text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
color: #0054A7;
}
p {
margin-bottom: 15px;
}
p:last-child {
margin-bottom: 0;
}
dt {
font-weight: bold;
}
dd {
margin: 0 0 1em 1em;
}
pre, code {
background:#EBF5FF;
color:#000000;
overflow:auto;
overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */
white-space: pre-wrap;
word-wrap: break-word; /* IE 5.5-7 */
}
code {
padding:2px 3px;
}
pre {
padding:3px 15px;
margin:0px 0 15px 0;
line-height:1.3em;
}
blockquote {
padding:3px 15px;
margin:0px 0 15px 0;
background:#EBF5FF;
border:none;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
}
h2 {
padding-bottom:5px;
}
.elgg-quiet {
color: #666666;
}
.elgg-loud {
color: #0054A7;
}
<?php //@todo remove ?>
.radius8 {
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
}
/* ***************************************
Borders (inspired by OOCSS)
b<location><type>
*************************************** */
<?php //@todo style is 'a' or 'b' because I didn't want to think of something cooler ?>
/* a */
.bta, .bva, .baa {border-top: 1px solid #ccc}
.bba, .bva, .baa {border-bottom: 1px solid #ccc}
.bla, .bha, .baa {border-left: 1px solid #ccc}
.bra, .bha, .baa {border-right: 1px solid #ccc}
/* b */
.btb, .bvb, .bab {border-top: 1px solid #eee}
.bbb, .bvb, .bab {border-bottom: 1px solid #eee}
.blb, .bhb, .bab {border-left: 1px solid #eee}
.brb, .bhb, .bab {border-right: 1px solid #eee}
.elgg-text ul, ol {
margin: 0 1.5em 1.5em 0;
padding-left: 1.5em;
}
.elgg-text ul {
list-style-type: disc;
}
.elgg-text ol {
list-style-type: decimal;
}
.elgg-subtext {
color: #666666;
font-size: 85%;
line-height: 1.2em;
font-style: italic;
}
.elgg-photo {
border: 1px solid #ccc;
padding: 3px;
background-color: white;
}
|