~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to wiki/static/css/wiki.css

  • Committer: kaputtnik
  • Date: 2019-05-30 18:20:02 UTC
  • mto: This revision was merged to the branch mainline in revision 540.
  • Revision ID: kaputtnik-20190530182002-g7l91m1xo28clghv
adjusted README; first commit on the new server

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**************************/
2
 
/* General Style elements */
3
 
/**************************/
4
 
.wiki_article h1 {
5
 
    font-size: 2.5em;
6
 
    margin: 10px 0px;
7
 
}
8
 
.wiki_article h2 {
9
 
    font-size: 2em;
10
 
    margin: 25px 3px 10px;
11
 
    line-height: 70%;
12
 
}
13
 
.wiki_article h3 {
14
 
    font-size: 1.4em;
15
 
    margin: 5px 5px;
16
 
}
17
 
.wiki_article h4 {
18
 
    font-size: 1.30em;
19
 
    margin: 5px 10px;
20
 
    text-decoration: underline;
21
 
}
22
 
.wiki_article h5 {
23
 
    font-size: 1.2em;
24
 
    margin: 5px 10px;
25
 
    text-decoration: underline;
26
 
    font-style: italic;
27
 
}
28
 
.wiki_article h6 {
29
 
    font-size: 1.1em; 
30
 
    margin: 5px 10px;
31
 
    font-style: italic;
32
 
}
33
 
 
34
 
.wiki_article h1:first-letter,.wiki_article h2:first-letter,.wiki_article h3:first-letter {
35
 
     vertical-align: baseline;
36
 
         color: #7070FF;
37
 
         font-size: 180%;
38
 
         font-family: Cretino, "Bitstream Vera Serif", serif;
39
 
         font-weight: bold;
40
 
}
41
 
.wiki_article h3:first-letter {
42
 
    color: rgb(156,156,86);
43
 
}
44
 
 
45
 
.wiki_article p {
46
 
    margin: 7px 10px; 
47
 
}
48
 
 
 
1
.toc {
 
2
        border: 1px solid black;
 
3
        display: inline-block;
 
4
        padding: 0px 8px;
 
5
        background-image: url("../img/black20.png");
 
6
        font-size: 0.8em;
 
7
        margin: 0em 0em 1em 1em;
 
8
        line-height: 1.5em;
 
9
        float: right;
 
10
        max-width: 20em;
 
11
}
 
12
                
 
13
.toc ul {
 
14
        padding-left: 1.8em;
 
15
}
49
16
 
50
17
/***********/
51
18
/* History */
52
19
/***********/
53
20
.history_list {
54
 
    width: 100%;
 
21
        width: 100%;
 
22
        border-collapse: collapse;
 
23
}
 
24
 
 
25
.history_list  td {
 
26
        border: 1px solid black;
 
27
        padding: 4px;
 
28
}
 
29
 
 
30
.history_list th {
 
31
        padding: 4px;
 
32
}
 
33
 
 
34
.history_list .comment {
 
35
        width: 50%;
 
36
}
 
37
 
 
38
.history_list .article, .history_list .at {
 
39
        width: 15%;
 
40
}
 
41
 
 
42
.history_list .action, .history_list .user {
 
43
        width: 10%;
 
44
}
 
45
 
 
46
.history_list .small_column {
 
47
        width: 40px;
 
48
        text-align: center;
55
49
}
56
50
 
57
51
/******************/
58
52
/* Edit Wiki Page */
59
53
/******************/
60
54
#edit_wiki_page_form {
61
 
    width: 100%;
 
55
        width: 100%;
62
56
}
 
57
 
63
58
#edit_wiki_page_form th {
64
 
    background: None;
65
 
    margin-top: 15px;
66
 
    width: auto;
 
59
        text-align: left;
67
60
}
 
61
 
68
62
#edit_wiki_page_form #id_title,#id_comment {
69
 
    width: 100%;
 
63
        width: 100%;
70
64
}
71
 
    
 
65
 
72
66
#id_content {
73
 
   width: 100%;
74
 
   height: 400px;
 
67
        width: 100%;
 
68
        height: 35em;
75
69
}
 
70
 
76
71
#id_summary {
77
 
   width: 100%;
78
 
   height: 100px;
79
 
}
80
 
 
81
 
/*************/
82
 
/* Changeset */
83
 
/*************/
84
 
 
85
 
.changeset_content {
86
 
        line-height: 120%;
87
 
        border: 0px;
88
 
        padding: 2px;
89
 
        padding-top: 5px;
90
 
        padding-left: 15px;
91
 
        background-color: #3F3F3F;
92
 
        background: url(../img/background-3F3F3F.png);
93
 
}
94
 
 
95
 
 
96
 
 
 
72
        width: 100%;
 
73
        height: 5em;
 
74
}
 
75
 
 
76
table.images {
 
77
        table-layout: fixed;
 
78
}
 
79
 
 
80
table.images .first-column {
 
81
        width: 7em;
 
82
}
 
83
 
 
84
table.images td {
 
85
        padding: 4px;
 
86
}
 
87
 
 
88
/***********/
 
89
/* Headers */
 
90
/***********/
 
91
 
 
92
div.columnModule h3 {
 
93
        margin-top: 4px;        /*Correction for donatebox*/
 
94
}
 
95
 
 
96
h1:first-child, h2:first-child {
 
97
        margin-top: 0.2em !important;
 
98
}
 
99
 
 
100
 
 
101
/**********/
 
102
/* Tables */
 
103
/**********/
 
104
 
 
105
table {
 
106
    border-collapse: collapse;
 
107
    margin: 0.5em 0em;
 
108
}
 
109
 
 
110
td{
 
111
    background-image: url('../img/black20.png');
 
112
    border: 1px solid black;
 
113
}
 
114
 
 
115
th {
 
116
    background-image: url('../img/wood.png');
 
117
    border: 1px solid #000;
 
118
    padding: 0px 5px;
 
119
}
 
120
 
 
121
/*********************/
 
122
/* Image positioning */
 
123
/*********************/
 
124
 
 
125
img.right {
 
126
        float: right;
 
127
        padding-left: 1em;
 
128
}
 
129
 
 
130
img.left {
 
131
        float: left;
 
132
        padding-right: 1em;
 
133
}
 
134
 
 
135
img.center {
 
136
        display: block;
 
137
        margin: auto;
 
138
}
 
139
 
 
140
/*********************/
 
141
/* diff_match_patch */
 
142
/*********************/
 
143
ins.inserted {
 
144
        text-decoration: none;
 
145
        color: #00FF00;
 
146
}
 
147
 
 
148
del.removed {
 
149
        text-decoration: none;
 
150
        color: #FF0000;
 
151
}