-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
94 lines (92 loc) · 1.62 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "NOTO SANS JP", sans-serif;
}
body {
height: 100vh;
background: url('images/clear.jpg') no-repeat center center/cover;
}
.nav {
width: 100%;
height: 80px;
display: flex;
justify-content: flex-end;
align-items: center;
padding: 0 50px;
}
.InputContainer {
width: 210px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(to bottom,rgb(227, 213, 255),rgb(255, 231, 231));
border-radius: 30px;
overflow: hidden;
cursor: pointer;
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.075);
}
.input {
width: 200px;
height: 40px;
border: none;
outline: none;
caret-color: black;
background-color: rgb(255, 255, 255);
border-radius: 30px;
padding-left: 15px;
letter-spacing: 0.8px;
color: rgb(19, 19, 19);
font-size: 13.4px;
}
.input::placeholder {
color: rgb(19, 19, 19);
letter-spacing: 0.8px;
font-size: 13.4px;
}
.content {
margin-left: 10%;
margin-top: 10%;
}
.content .status {
font-size: 20px;
font-weight: 500;
color: #f3f3f3;
}
.content .city {
font-size: 50px;
font-weight: 600;
color: #f3f3f3;
}
.content .temp {
font-size: 60px;
font-weight: bolder;
color: #f3f3f3;
margin-top: 10px;
}
.temp sup {
font-size: 30px;
font-weight: 500;
}
@media only screen and (max-width: 546px){
.content{
margin-left: 0;
text-align: center;
margin-top: 50%;
}
.content .city{
font-size: 40px;
}
.content .temp{
font-size: 50px;
}
.nav{
padding: 0;
justify-content: center;
}
body{
background-position:left ;
}
}