diff options
Diffstat (limited to 'public/css/body.css')
-rw-r--r-- | public/css/body.css | 147 |
1 files changed, 146 insertions, 1 deletions
diff --git a/public/css/body.css b/public/css/body.css index 87f71f2..20e53e0 100644 --- a/public/css/body.css +++ b/public/css/body.css | |||
@@ -36,4 +36,149 @@ body | |||
36 | .infobulle img | 36 | .infobulle img |
37 | { | 37 | { |
38 | vertical-align: middle; | 38 | vertical-align: middle; |
39 | }*/ \ No newline at end of file | 39 | }*/ |
40 | |||
41 | main | ||
42 | { | ||
43 | margin: auto; | ||
44 | /*max-width: 1200px;*/ | ||
45 | background-color: #E3F3FF; | ||
46 | padding: 15px 0; | ||
47 | } | ||
48 | section > h3 | ||
49 | { | ||
50 | padding: 15px; | ||
51 | margin: 0; | ||
52 | text-align: center; | ||
53 | } | ||
54 | .grid_columns | ||
55 | { | ||
56 | display: grid; | ||
57 | grid-template-columns: repeat(3, 1fr); | ||
58 | } | ||
59 | @media screen and (max-width: 800px) | ||
60 | { | ||
61 | .grid_columns | ||
62 | { | ||
63 | grid-template-columns: repeat(2, 1fr); | ||
64 | } | ||
65 | } | ||
66 | @media screen and (max-width: 550px) | ||
67 | { | ||
68 | .grid_columns | ||
69 | { | ||
70 | display: block; | ||
71 | } | ||
72 | } | ||
73 | .galery_photos | ||
74 | { | ||
75 | display: flex; | ||
76 | flex-wrap: wrap; | ||
77 | justify-content: space-evenly; | ||
78 | } | ||
79 | .galery_photos .html_from_editor img | ||
80 | { | ||
81 | max-width: 300px; | ||
82 | max-height: 200px; | ||
83 | } | ||
84 | article | ||
85 | { | ||
86 | /*display: flex;*/ | ||
87 | background-color: white; | ||
88 | margin: 15px; | ||
89 | padding: 0 15px; | ||
90 | /*min-height: 150px;*/ | ||
91 | } | ||
92 | article .logo2 | ||
93 | { | ||
94 | vertical-align: middle; | ||
95 | max-width: 200px; | ||
96 | max-height: 200px; | ||
97 | margin-right: 15px; | ||
98 | } | ||
99 | .new_content, .article_content | ||
100 | { | ||
101 | width: 100%; | ||
102 | } | ||
103 | .new_content | ||
104 | { | ||
105 | /*max-height: 400;*/ | ||
106 | overflow: hidden; | ||
107 | } | ||
108 | article img | ||
109 | { | ||
110 | max-width: 100%; /* règle compliquée, vérifier selon la page et la taille de l'image */ | ||
111 | height: auto; | ||
112 | } | ||
113 | |||
114 | .action_icon | ||
115 | { | ||
116 | width: 24px; | ||
117 | vertical-align: bottom; | ||
118 | border: transparent 2px solid; /* invisible */ | ||
119 | } | ||
120 | button .action_icon | ||
121 | { | ||
122 | border: none; | ||
123 | } | ||
124 | .action_icon:hover | ||
125 | { | ||
126 | background-color: #ffff00; | ||
127 | border-radius: 4px; | ||
128 | border: lightgrey 2px outset; | ||
129 | cursor: pointer; | ||
130 | } | ||
131 | button .action_icon:hover | ||
132 | { | ||
133 | border: none; | ||
134 | } | ||
135 | |||
136 | .button_zone | ||
137 | { | ||
138 | display: flex; | ||
139 | } | ||
140 | |||
141 | .share | ||
142 | { | ||
143 | float: right; | ||
144 | } | ||
145 | .article_title_zone | ||
146 | { | ||
147 | padding: 10px; | ||
148 | } | ||
149 | .under_an_article | ||
150 | { | ||
151 | display: flex; | ||
152 | justify-content: space-between; | ||
153 | font-size: small; | ||
154 | } | ||
155 | .under_an_article img | ||
156 | { | ||
157 | width: 24px; | ||
158 | margin-right: 5px; | ||
159 | vertical-align: middle; | ||
160 | } | ||
161 | .article_admin_zone | ||
162 | { | ||
163 | display: flex; | ||
164 | justify-content: end; | ||
165 | } | ||
166 | section button | ||
167 | { | ||
168 | color: #ff1d04; | ||
169 | font-size: medium; | ||
170 | border-radius: 4px; | ||
171 | background-color: white; | ||
172 | border: lightgrey 2px outset; /* rend identiques les boutons firefox et chromium */ | ||
173 | } | ||
174 | section button:hover | ||
175 | { | ||
176 | background-color: #ffff00; | ||
177 | border-radius: 4px; | ||
178 | cursor: pointer; | ||
179 | } | ||
180 | |||
181 | article a:hover | ||
182 | { | ||
183 | cursor: pointer; | ||
184 | } \ No newline at end of file | ||