xref: /dokuwiki/lib/styles/all.css (revision e8b5a4f91c8a6e230a6cfe13c43dc9ddce31e253)
1/**
2 * Basic styles. These styles are needed for basic DokuWiki functions
3 * regardless of the used template. Templates can override them of course
4 */
5
6div.clearer {
7    clear: both;
8    font-size: 0;
9    line-height: 0;
10    height: 0;
11    overflow: hidden;
12}
13
14/* one of the many clearfix versions */
15.group {
16    display: inline-block;
17}
18.group {
19    display: block;
20}
21.group:before,
22.group:after {
23    content: "";
24    display: table;
25}
26.group:after {
27    clear: both;
28}
29
30div.no {
31    display: inline;
32    margin: 0;
33    padding: 0;
34}
35
36.hidden {
37    display: none;
38}
39
40/* image alignment */
41.medialeft {
42    float: left;
43}
44.mediaright {
45    float: right;
46}
47.mediacenter {
48    display: block;
49    margin-left: auto;
50    margin-right: auto;
51}
52
53/* table cell alignment */
54.leftalign   { text-align: left;   }
55.centeralign { text-align: center; }
56.rightalign  { text-align: right;  }
57
58/* underline */
59em.u {
60    font-style: normal;
61    text-decoration: underline;
62}
63em em.u {
64    font-style: italic;
65}
66