summaryrefslogtreecommitdiff
path: root/public/css/main.css
blob: c5289f0d6e71855192c6cde1d31ef45563be4f6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
main
{
	margin: auto;
	/*max-width: 1200px;*/
	background-color: #E3F3FF;
	padding: 15px 0;
}
section > h3
{
	padding: 15px;
	margin: 0;
	text-align: center;
}
section > p /* boutons spéciaux mode admin */
{
	/*margin-left: 15px;*/
}
.grid_columns
{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}
.galery_photos
{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
}
.galery_photos .html_from_editor img
{
	max-width: 300px;
	max-height: 200px;
}
article
{
	/*display: flex;*/
	background-color: white;
	margin: 15px;
	padding: 0 15px;
	/*min-height: 150px;*/
}
article .logo2
{
	vertical-align: middle;
	max-width: 200px;
	max-height: 200px;
	margin-right: 15px;
}
.new_content, .article_content
{
	width: 100%;
}
.new_content
{
	/*max-height: 400;*/
	overflow: hidden;
}
article img
{
	max-width: 100%;
	height: auto;
}

.action_icon
{
	width: 24px;
	vertical-align: bottom;
	border: white 2px solid; /* invisible */
}
button .action_icon
{
	border: none;
}
.action_icon:hover
{
	background-color: #ffff00;
	border-radius: 4px;
	border: lightgrey 2px outset;
	cursor: pointer;
}
button .action_icon:hover
{
	border: none;
}

.button_zone
{
	display: flex;
}

.share
{
	float: right;
}
.article_title_zone
{
	padding: 10px;
}
.under_an_article
{
	display: flex;
	justify-content: space-between;
	font-size: small;
}
.under_an_article img
{
	width: 24px;
	margin-right: 5px;
	vertical-align: middle;
}
.article_admin_zone
{
	display: flex;
	justify-content: end;
}
main button
{
	color: #ff1d04;
	font-size: medium;
	border-radius: 4px;
	background-color: white;
	border: lightgrey 2px outset; /* rend identiques les boutons firefox et chromium */
}
main button:hover
{
	background-color: #ffff00;
	border-radius: 4px;
	cursor: pointer;
}

article a:hover
{
	cursor: pointer;
}