-
Notifications
You must be signed in to change notification settings - Fork 0
/
inscriptions.css
146 lines (132 loc) · 2.55 KB
/
inscriptions.css
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
135
136
137
138
139
140
141
142
143
144
145
*,*::after,*::before{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
background-color: rgb(238, 238, 238);
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
h1::first-letter{
font-size: 2em;
}
.conteneur{
width: 80%;
display: flex;
position: absolute;
flex-direction: row;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
height: 90vh;
box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.534);
border-radius: 10px;
}
.conteneur_formulaire{
flex: 4.2;
background-color: crimson;
border-radius: 0px 10px 10px 0;
}
::placeholder{
font-size: 1.3em;
}
.conteneur_formulaire h1{
text-align: center;
color: white;
}
.conteneur_formulaire label{
color: white;
font-weight: bold;
}
.conteneur_formulaire form{
padding: 10px 80px;
}
.conteneur_formulaire div{
margin-top: 1em;
}
.conteneur_formulaire .input{
width: 100%;
height: 40px;
border: none;
outline: none;
border-radius: 5px;
padding-left: 2em;
}
.conteneur_formulaire .input:focus{
box-shadow: 1px 1px 3px #000000d7 ;
}
input[type="submit"]{
width: 120px;
height: 40px;
border-radius: 5px;
border: none;
font-size: 1.2em;
color: white;
font-weight: bold;
background: #f05e3d;
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.527);
}
input[type="submit"]:hover{
background: #f54923;
}
.conteneur_image{
background:url("./images/image.jpg");
background-size: cover;
background-position:center;
background-repeat: no-repeat;
flex: 5.6;
border-radius: 10px 0 0 10px;
}
@media (max-width:1020px) {
::placeholder{
font-size: 1em;
}
.conteneur{
position: none;
float: none;
display: inline-block;
}
.conteneur_image{
height: 90%;
border-radius: 0px;
}
.conteneur_formulaire{
border-radius: 0px;
}
}
@media (max-width:500px){
.conteneur_formulaire form{
padding: 10px 50px;
}
.conteneur{
width: 100%;
}
}
@media (max-width:400px){
.conteneur_formulaire form{
padding: 10px 30px;
}
.conteneur_formulaire .input{
padding-left: .6em;
}
.conteneur{
width: 90%;
}
}
@media (max-width:205px){
input[type="submit"]{
width: 50px;
height: 20px;
border-radius: 2px;
font-size: .6em;
}
::placeholder{
font-size: .7em;
}
.conteneur_formulaire h1{
font-size: 1.3em;
}
.conteneur{
width: 100%;
}
}