-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmedia-query.css
More file actions
63 lines (53 loc) · 1.13 KB
/
media-query.css
File metadata and controls
63 lines (53 loc) · 1.13 KB
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
@charset "UTF-8";
/* Typical Device Breakpoints
-----------------------------
Telas pequenas: até 600px
Celular: de 600px a 768px
Tablet: 768px a 992px
Desktop: 992px a 1200px
Telas grandes: acima de 1200px
*/
/*CONFIGURAÇÃO PARA TABLETS*/
@media screen and (min-width: 768px) and (max-width: 992px) {
section#login {
width: 80vw;
height: 350px;
}
section#login > div#imagem {
float: left;
width: 30%;
height: 100%;
}
section#login > div#formulario {
float: right;
width: 70%;
}
div#formulario p {
font-size: 1.1em;
}
}
/* CONFIGURAÇÃO PARA DESKTOP*/
@media screen and (min-width: 992px) {
section#login {
width: 980px;
height: 400px;
}
section#login > div#imagem {
float: right;
width: 50%;
height: 100% ;
background-position: center center;
}
section#login > div#formulario {
float: left;
width: 50%;
}
div#formulario h1 {
font-size: 2em;
}
div#formulario p {
font-size: 1.2em;
text-align: justify;
margin: 20px 0px;
}
}