-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
117 lines (99 loc) · 1.69 KB
/
Copy pathstyles.css
File metadata and controls
117 lines (99 loc) · 1.69 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
106
107
108
109
110
111
112
113
114
115
116
117
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
width: 100vw;
height: 100vh;
background-color: rgba(127, 255, 212, 0.7);
display: grid;
place-items: center;
transition-duration: 0.3s;
}
main {
text-align: center;
width: 470px;
box-shadow: 1px 2px 5px black;
background-color: rgba(0, 0, 0, 0.1);
border-radius: 4px;
margin-bottom: 1rem;
padding: 1.5rem 2rem;
overflow: hidden;
}
form {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
margin: 3.1rem 0;
}
input {
width: 20%;
border: none;
outline: none;
font-weight: bold;
border-radius: 5px;
}
input[type="text"] {
padding: .2rem .4rem;
font-size: 1.4rem;
margin: .2rem 0;
}
input[type="submit"] {
padding: .5rem;
cursor: pointer;
font-size: .9rem;
margin-left: 5rem;
}
#result p {
width: 100%;
font-size: 1.2rem;
letter-spacing: 1px;
}
#desc {
letter-spacing: normal;
color: red;
}
#grade {
font-weight: bold;
font-size: 2rem;
}
@media screen and (max-width: 600px) {
main {
width: 300px;
}
form {
height: 32%;
margin: 2rem 0;
}
input {
width: 28%;
}
input[type="text"] {
height: 80%;
font-size: 1.4rem;
margin: 1rem 0;
}
h1 {
font-size: 1.2rem;
}
#result p{
font-size: 1rem;
}
#grade {
font-size: 1.4rem;
}
}
/* Dark Mode */
#darkMode {
position: absolute;
top: 15px;
right: 25px;
border: none;
outline: none;
border-radius: 50%;
cursor: pointer;
z-index: 5;
}