-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
102 lines (99 loc) · 1.74 KB
/
style.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
body{
background-color: hsl(233, 47%, 7%);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
h2{
font-family: 'Lexend Deca', sans-serif;
font-weight: 700;
color: hsl(0, 0%, 100%);
font-size: 40px;
}
n{
color: hsl(277, 64%, 61%);
}
.coluna{
display: flex;
flex-direction: row;
justify-content: space-between;
width: 80%;
margin-top: 10%;
}
#um{
flex-direction: column;
display: flex;
}
section{
background-color: hsl(244, 38%, 16%);
border-radius: 10px;
margin:5%;
overflow: hidden;
max-width: 70%;
display: grid;
grid-template-columns: auto auto;
}
.main{
padding: 5%;
width: 80%;
}
c{
font-family: 'Inter', sans-serif;
font-weight: 700;
font-size: 30px;
color: hsl(0, 0%, 100%);
}
d{
font-family: 'Inter' , sans-serif;
font-weight: 400;
color: hsla(0, 0%, 100%, 0.6);
}
img{
height: 100%;
}
p{
width: 75%;
color: hsla(0, 0%, 100%, 0.75);
font-family: 'Inter', sans-serif;
font-weight: 400;
line-height: 20px;
}
/*Design para celular*/
@media (max-width:500px){
body{
display: block;
}
section{
display: flex;
flex-direction: column-reverse;
max-width: none;
margin: auto auto;
align-items: center;
}
img{
height: 10%;
width: 100%;
}
.main{
text-align: center;
width: 100%;
align-items: center;
}
h2{
text-align: center;
font-size: unset;
width: 100%;
}
p{
width: 100%;
font-size: unset;
}
.coluna{
flex-direction: column;
width: 100%;
}
#um{
margin-bottom: 5%;
}
}