]> git.immae.eu Git - github/wallabag/wallabag.git/blame - css/style.css
changement de la structure de la bdd sqlite : on stocke le contenu maintenant issue #17
[github/wallabag/wallabag.git] / css / style.css
CommitLineData
c594aedf 1/*** GENERAL ***/
1a268ba7
NL
2body {
3 color: #222222;
4 font: 20px/1.3em Palatino,Georgia,serif;
7eca3552 5 background-color: #F1F1F1;
4d94769a 6 margin: 10px;
7eca3552 7}
8
1a268ba7
NL
9
10a, a:hover, a:visited {
11 color: #000;
12}
c594aedf 13
1a268ba7
NL
14header {
15 text-align: center;
16}
17
1a268ba7
NL
18#main ul#links {
19 padding: 0;
20 list-style-type: none;
21 text-align: center;
22}
23
24#main ul#links li {
25 display: inline;
4d94769a 26}
8784f095 27
28#main ul#links li a.current {
29 -webkit-border-radius: 2px;
30 border-radius: 2px;
31 background-color: #040707;
32 color: #F1F1F1;
33}
34
c594aedf 35#main, #article {
36 margin: 0 auto;
37}
38
598d07a8 39#links a, .backhome a{
4d94769a 40 text-decoration: none;
41 padding: 5px 10px;
42}
d31edfd3 43#links a:hover, .backhome a:hover{
4d94769a 44 -webkit-border-radius: 2px;
45 border-radius: 2px;
46 background-color: #040707;
47 color: #F1F1F1;
1a268ba7
NL
48}
49
c594aedf 50#content {
b70971e0 51 width: 800px;
c594aedf 52 margin: 0 auto;
53}
54
c594aedf 55
b70971e0 56footer {
57 text-align: right;
c594aedf 58}
59
60/*** ***/
61/*** LINKS DISPLAY ***/
62
63#main a.tool {
64 text-decoration: none;
65 cursor: pointer;
66}
67
b70971e0 68#main #content {
7eca3552 69 margin-top: 20px;
70}
71
b70971e0 72#main .entrie {
7eca3552 73 color: rgb(46, 46, 46);
74 position:relative;
75 background-color: #ffffff;
4d94769a 76 padding: 15px;
b70971e0 77 min-height: 8em;
4d94769a 78 -webkit-border-radius: 2px;
79 border-radius: 2px;
80 -webkit-box-shadow: 0px 0px 2px -1px #000;
81 box-shadow: 0px 0px 2px -1px #000;
b70971e0 82 width: 30%;
83 margin: 10px;
84 float: left;
7eca3552 85}
86
b70971e0 87#main .entrie h2 a {
7eca3552 88 text-decoration: none;
89}
90
b70971e0 91#main .entrie h2 a:hover {
7eca3552 92 color: #F5BE00;
93}
94
b70971e0 95#main .entrie .tools {
7eca3552 96 position:absolute;
97 bottom: 0;
98 width: 100%;
99 text-align: right;
4d94769a 100 margin-left: -20px;
7eca3552 101}
102
b70971e0 103#main .entrie .tools a.tool span {
c594aedf 104 display: inline-block;
105 width: 16px;
106 height: 16px;
107}
108
109a.fav span {
110 background: url('../img/fav-on.png') no-repeat;
111}
112
113a.fav-off span {
114 background: url('../img/fav-off.png') no-repeat;
115}
116
117a.archive span {
118 background: url('../img/archive-on.png') no-repeat;
119}
120
121a.archive-off span {
122 background: url('../img/archive-off.png') no-repeat;
123}
124
125a.delete span {
126 background: url('../img/delete.png') no-repeat;
127}
128
129/*** ***/
130/*** ARTICLE PAGE ***/
131
132body.article {
133 color: #222222;
134 font: 20px/1.3em Palatino,Georgia,serif;
135 background-color: #F1F1F1;
136}
137
138#article header {
139 text-align: left;
140 border-bottom: 1px solid #222222;
141}
142
143#article header a {
1a268ba7
NL
144 text-decoration: none;
145}
146
c594aedf 147#article article {
148 border-bottom: 1px solid #222222;
149}
150
151.vieworiginal a {
152 color: #888888;
153 text-decoration: none;
154}
155
b70971e0 156/*** ***/
157#main
158{
159 max-width: 60em; /* 960 px */
160 margin: 0 auto;
161}
162 #content
163 {
164 width: 103.125%; /* 990px */
165 overflow: hidden;
166 margin-left: -1.562%; /* 15px */
167 margin-bottom: -1.875em; /* 30px */
168 }
169 .entrie
170 {
171 width: 30.303%; /* 300px */
172 float: left;
173 margin: 0 1.515% 1.875em; /* 15px 30px */
174 }
175
176@media only screen and ( max-width: 40em ) /* 640px */
177{
178 .entrie
179 {
180 width: 46.876%; /* 305px */
181 margin-bottom: 0.938em; /* 15px */
182 }
183}
184@media only screen and ( max-width: 20em ) /* 640px */
185{
186 #content
187 {
188 width: 100%;
189 margin-left: 0;
190 }
191 .entrie
192 {
193 width: 100%;
194 margin-left: 0;
195 margin-right: 0;
196 }
197}