-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
92 lines (77 loc) · 1.47 KB
/
style.css
File metadata and controls
92 lines (77 loc) · 1.47 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
/* Basic CSS reset */
html {
font-size: 62.5%;
box-sizing: border-box;
}
*, *::before, *::after {
margin: 0;
padding: 0;
box-sizing: inherit;
}
/* CSS Project Styles */
body {
font-family: Helvetica, sans-serif;
font-weight: 100;
background-color: #ededed;
height: 100vh;
width: 100vw;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
#main_container {
text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
height: 50vh;
width: 50vw;
max-width: 300px;
max-height: 300px;
border-radius: 55px;
background: #ededed;
box-shadow: -22px -22px 44px #bebebe, 22px 22px 44px #ffffff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
#textBox {
margin-bottom: 8%;
background: #57bd84;
border-radius: .7rem;
width: 50vw;
max-width: 300px;
}
#location {
font-size: 3.5rem;
}
#temp {
font-size: 8rem;
}
#condition, #highLow {
font-size: 2rem;
padding-bottom: 3%;
}
input, button {
height: 5rem;
font-family: 'Lato', sans-serif;
border: none;
color: #2f2f2f;
font-size: 2rem;
margin: 0;
padding: 0;
}
input {
width: 80%;
background: #fff;
border-radius: .7rem 0 0 .7rem;
outline: 0;
}
button {
font-weight: bold;
background: #46cb7f;
border-radius: 0 .7rem .7rem 0;
width: 20%;
}
button:active {
transform: scale(0.98);
}