Dotclear

source: admin/style/scss/partials/_markup.scss @ 3513:49903df908f3

Revision 3513:49903df908f3, 2.8 KB checked in by franck <carnet.franck.paul@…>, 9 years ago (diff)

First attempt to fix post/page edition on different screen sizes

Line 
1/* ------------------------------------------------------------------ titres */
2
3
4/* fil d'ariane */
5
6#content > h2 {
7     padding: 0 1em .5em 1em;
8     margin: 0 -1em 1em -1em;
9     background: #fff url(bg_h2.png) repeat-x center bottom;
10}
11
12h2 a:link,
13h2 a:visited {
14     color: #676e78;
15     border-color: #000;
16}
17
18
19/* page courante dans le fil d'ariane */
20
21.page-title {
22     color: #d30e60;
23     img {
24          padding-left: .5em;
25          vertical-align: middle;
26     }
27}
28
29
30/* autres titres */
31
32#main-menu h3 {
33     font-weight: bold;
34}
35
36.fieldset h3,
37.fieldset h4,
38.pretty-title {
39     color: #D33800;
40     font-size: 1em;
41     font-weight: bold;
42}
43
44.fieldset h3 {
45     font-size: 1.17em;
46}
47
48.fieldset h3.smart-title,
49.fieldset h4.smart-title,
50.smart-title {
51     font-size: 1em;
52     text-transform: uppercase;
53     font-weight: bold;
54     color: #333;
55}
56
57#entry-sidebar h5 {
58     font-weight: normal;
59     color: #333;
60}
61
62.entry-status img.img_select_option {
63     padding-left: 4px;
64     vertical-align: text-top;
65}
66
67h4 label,
68h5 label {
69     color: #333;
70}
71
72h2:first-child,
73h3:first-child,
74h4:first-child,
75h5:first-child,
76ul:first-child,
77p:first-child {
78     margin-top: 0;
79}
80
81
82/* ---------------------------------------------------------------- tableaux */
83
84
85/*  Pour autoriser le scroll sur les petites largeurs
86     envelopper les tableaux dans une div.table-outer */
87
88.table-outer {
89     width: 100%;
90     overflow: auto;
91}
92
93table {
94     font-size: 1em;
95     border-collapse: collapse;
96     margin: 0 0 1em 0;
97     width: 100%;
98}
99
100caption {
101     color: #333;
102     font-weight: bold;
103     text-align: left;
104     margin-bottom: .5em;
105}
106
107th {
108     border-width: 1px 0 1px 0;
109     border-style: solid;
110     border-color: #dfdfdf;
111     background: #eef1ec;
112     padding: .4em 1em .4em .5em;
113     vertical-align: top;
114     text-align: left;
115}
116
117td {
118     border-width: 0 0 1px 0;
119     border-style: solid;
120     border-color: #e3e3e3;
121     padding: .4em 1em .4em .5em;
122     vertical-align: top;
123}
124
125
126/* ---------------------------------------------------------- autres balises */
127
128p {
129     margin: 0 0 1em 0;
130}
131
132hr {
133     height: 1px;
134     border-width: 1px 0 0;
135     border-color: #dfdfdf;
136     background: #dfdfdf;
137     border-style: solid;
138     &.clearer {
139          clear: both;
140     }
141}
142
143pre,
144code,
145#debug {
146     font: 100% $monospace;
147}
148
149code {
150     background: #fefacd;
151}
152
153pre {
154     white-space: pre;
155     white-space: -moz-pre-wrap;
156     white-space: pre-wrap;
157     white-space: pre-line;
158     word-wrap: break-word;
159}
160
161abbr {
162     cursor: help;
163}
164
165input,
166textarea,
167select,
168option,
169optgroup,
170legend,
171label {
172     font-size: 1em;
173}
174
175
176/* ------------------------------------------------------------------ liens */
177
178a,
179a:link,
180a:visited {
181     color: #2373A8;
182     text-decoration: none;
183     border-bottom: 1px dotted #999;
184     background-color: inherit;
185     outline: 0;
186     img {
187          border: none;
188          background: inherit;
189     }
190}
191
192a:hover,
193a:active {
194     border-bottom-style: solid;
195}
196
197h1 a:link,
198h1 a:visited {
199     border: none;
200}
201
202.discrete a {
203     color: #333;
204}
205
206a:link {
207     transition: .5s;
208}
209
210a:focus,
211a:focus img {
212     outline: 2px solid #bee74b;
213     border-bottom: none;
214     text-decoration: none;
215}
Note: See TracBrowser for help on using the repository browser.

Sites map