-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
105 lines (84 loc) · 1.29 KB
/
Copy pathstyles.css
File metadata and controls
105 lines (84 loc) · 1.29 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
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
/* elements selectors */
body{
background: linear-gradient(to right bottom, #ea2c62, #120078);
width: 100%;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
h1 {
margin-bottom: 20px;
font-size: 3rem;
}
h2{
font-size: 2rem
}
input {
margin-bottom: 20px;
width: 100%;
height: 52px;
padding: 2%;
text-align: center;
}
button {
width: 100%;
padding: 2%;
margin-bottom: 20px;
}
hr {
background-color: white;
}
h3 {
font-size: 1rem;
font-weight: lighter;
}
p {
margin : 4px;
padding : 3px;
font-size: 1.5rem;
}
/* classes selectors */
.top {
margin: 50px auto;
padding: 5%;
text-align: center;
background-image: url(weather.png);
color: white;
border-radius: 3%;
width: auto;
max-width: 600px;
overflow: hidden;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.info{
text-align: left;
}
.vis{
visibility: hidden;
}
/* media query */
@media screen and (max-width: 1000px){
.top{
width: 90%;
height: 80%;
}
h1 {
font-size: 4rem;
}
h2 {
font-size: 3rem;
}
h3 {
font-size: 2rem;
}
p {
font-size: 2.5rem;
}
button{
padding: 10px;
}
}