-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
124 lines (117 loc) · 2.25 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
/* .attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); } */
:root {
--clr1: #d5e1ef;
--clr2: #213351;
--clr3: #566172;
--clr4: #ffffff;
}
@media only screen and (min-width: 769px) {
body {
background: var(--clr1);
text-align: center;
}
main {
width: 374px;
height: 600px;
background: var(--clr4);
border-radius: 15px;
margin-top: 200px;
margin-left: auto;
margin-right: auto;
}
section img {
width: 90%;
height: 30%;
border-radius: 15px;
margin-top: 20px;
}
section ~ #text {
width: 100%;
height: 40%;
display: flex;
justify-content: center;
/* border: solid 1px blue; */
}
.container-text {
width: 85%;
height: 85%;
/* text-align: center; */
position: relative;
top: 0px;
/* border: solid 1px black; */
}
#improve {
width: 95%;
height: 90%;
font-size: 24px;
font-weight: bold;
text-align: center;
color: var(--clr2);
/* border: solid 1px black; */
}
#scan {
width: 95%;
height: 90%;
font-size: 19px;
color: var(--clr3);
text-align: center;
/* border: solid 1px blue; */
}
}
/* Mobile first complate!*/
@media only screen and (min-width: 480px) and
(max-width: 768px) {
body {
font-size: 11px;
background: var(--clr1);
text-align: center;
}
main {
width: 374px;
height: 600px;
background: var(--clr4);
border-radius: 15px;
margin-top: 100px;
margin-left: auto;
margin-right: auto;
}
section img {
width: 90%;
height: 30%;
border-radius: 15px;
margin-top: 20px;
}
section ~ #text {
width: 100%;
height: 40%;
display: flex;
justify-content: center;
/* border: solid 1px blue; */
}
.container-text {
width: 85%;
height: 85%;
/* text-align: center; */
position: relative;
top: 0px;
/* border: solid 1px black; */
}
#improve {
width: 95%;
height: 90%;
font-size: 24px;
font-weight: bold;
text-align: center;
color: var(--clr2);
/* border: solid 1px black; */
}
#scan {
width: 95%;
height: 90%;
font-size: 19px;
color: var(--clr3);
text-align: center;
/* border: solid 1px blue; */
}
}