source: trunk/template/yoga/content.css @ 2506

Last change on this file since 2506 was 2481, checked in by rvelices, 16 years ago
  • further reduce css rules and remove unused ones
  • added a smarty prefilter so that html output is nicely indented now ...
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 3.4 KB
Line 
1/* $Id: content.css 2481 2008-08-22 00:45:03Z rvelices $ */
2.content {
3        margin-right: 1em;
4        margin-bottom: 1em; /* when it's longer than menu bar */
5}
6
7BODY#theCommentsPage .content,
8BODY#theUploadPage .content,
9BODY#theRegisterPage .content,
10BODY#theIdentificationPage .content,
11BODY#theProfilePage .content,
12BODY#theSearchPage .content,
13BODY#theAboutPage .content,
14BODY#thePopuphelpPage .content,
15BODY#thePasswordPage .content,
16BODY#theNotificationPage .content,
17BODY#theTagsPage .content,
18BODY#theNBMPage .content
19{
20        margin: 1em;
21}
22
23.content H3 {
24        margin-bottom: 1ex;
25}
26
27.content H2 { margin-bottom: 3px;} /*<- for IE otherwise calendar select is displaced to middle of page*/
28
29.content H3 {
30        text-align: center;
31}
32
33.content .navigationBar, .content .additional_info, .content .calendarBar {
34        margin: 8px 4px;
35        text-align: center;
36}
37
38.content .pageNumberSelected {
39        font-style: italic;
40        font-weight: bold;
41}
42
43.content .additional_info {
44        font-size: 110%;
45}
46
47
48/* actions */
49UL.categoryActions {
50        margin: 0 2px;
51        width: auto;
52        padding: 0;
53        text-indent: 0;
54        list-style: none;
55        text-align: center;
56}
57
58.content DIV.titrePage UL.categoryActions {
59        float: right;
60        text-align: center;
61}
62
63.content DIV.titrePage {
64        padding: 0 0 3px;
65}
66
67.content UL.categoryActions LI {
68        display: inline;
69}
70
71.content UL.categoryActions A IMG, UL.categoryActions A {
72        border: none;
73        margin-bottom: -5px;
74}
75
76/* begin chronology/calendar elements*/
77.content DIV.calendarViews {
78        display: block;
79        float: right;
80        margin: 2px 0 0;
81}
82
83SPAN.calItem, SPAN.calItemEmpty {
84        font-weight: bold;
85        margin: 0 1px;
86}
87
88SPAN.calItem A { border:0 }
89
90.content DIV.calendarCalBar {
91        margin: 10px 10px;
92        text-align: left;
93}
94
95SPAN.calCalHead {
96        font-weight: bold;
97        font-size: 110%;
98        margin: 0 2px;
99}
100
101SPAN.calCal { margin: 0 2px; }
102
103/* nice looking month calendar*/
104TABLE.calMonth {
105        border: none;
106        border-collapse: collapse;
107        margin-bottom: 10px;    /*<-IE ignores this */
108}
109
110TD.calDayCellFull, TD.calDayCellEmpty, TD.calDayCellBlank {
111        vertical-align: top;
112        font: bold 18px Arial, Helvetica, sans-serif;
113}
114
115TD.calDayHead {
116        font: bold 12px Arial, Helvetica, sans-serif;
117        text-align: center;
118}
119
120DIV.calImg {
121        overflow: hidden;
122        vertical-align: bottom;
123        z-index: 1;
124        position: relative; /*<- this required by IE*/
125}
126
127.calImg img {
128        position: relative;
129        border: 0;
130}
131
132.calBackDate {
133        padding-left: 4px;
134        padding-top: 0px;
135        z-index: 2;
136        position: absolute;
137        vertical-align: top;
138        color: #000;
139}
140
141.calForeDate {
142        padding-left: 5px;
143        padding-top: 1px;
144        z-index: 3;
145        position: absolute;
146        vertical-align: top;
147        color: #fff;
148}
149
150/* Category thumbnails on main page, CSS code inspired from MOD subcatify */
151.content UL.thumbnailCategories {
152        margin: 0;
153        padding: 0;
154        list-style: none;
155        overflow: hidden;
156        width: 100%;
157}
158
159.content UL.thumbnailCategories LI {
160        margin:0;
161        padding:0;
162        float:left;
163}
164
165.content DIV.thumbnailCategory {
166        display:block;
167        padding: 2px 0px 0px 2px;
168        margin: 5px;
169}
170
171.content DIV.thumbnailCategory DIV.description {
172        font-size: 90%;
173        overflow: auto;
174        /*width: inherit;*/
175}
176
177.content DIV.thumbnailCategory DIV.description H3 {
178        text-align: left;
179        background: transparent;
180        margin: 0;
181        padding: 0.1em;
182        font-size: 120%;
183}
184
185.content DIV.thumbnailCategory DIV.description P {
186        margin: 0;
187}
188
189.content DIV.thumbnailCategory DIV.illustration {
190        text-align: left;
191        margin: 2px 0 0 2px;
192        float: left;
193}
194
195
196/* User comments */
197DIV#comments {
198        padding-left: 5px;
199        padding-right: 5px;
200}
201
202DIV#comments DIV.description {
203        font-size: 100%;
204}
Note: See TracBrowser for help on using the repository browser.