-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
117 lines (110 loc) · 1.89 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
@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@500&family=DM+Sans:wght@400;500;700&display=swap");
body {
font-family: "DM sans", sans-serif;
margin: 0;
padding: 0;
height: 100vh;
background: linear-gradient(132deg, #393e46, #4ecca3);
}
h1 {
text-align: center;
color: #fff;
}
.fork,
.fork-icon {
color: #fff;
text-decoration: none;
font-family: "DM Mono", monospace;
font-weight: 500;
position: absolute;
right: 2rem;
top: 1.8rem;
font-size: 1.1rem;
}
form {
width: 80%;
max-width: 500px;
margin: 0 auto;
padding: 20px;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
margin-bottom: 50px;
background-color: rgba(51, 50, 50, 0.5);
}
label {
display: block;
margin-bottom: 10px;
color: #fff;
}
hr {
border: solid 0.5px;
border-radius: 50%;
width: 20%;
background-color: #33322f;
opacity: 0.2;
}
input[type="number"],
select {
display: block;
width: 50%;
padding: 5px;
margin: 0 auto;
margin-bottom: 10px;
margin-top: 10px;
border-radius: 5px;
border: none;
box-sizing: border-box;
}
input[type="number"]:focus,
select:focus {
outline: none;
}
button {
display: inline-block;
width: 48%;
padding: 10px;
border: none;
border-radius: 5px;
background-color: #007bff;
color: #fff;
cursor: pointer;
}
.buttonContainer {
text-align: center;
display: flex;
justify-content: space-between;
}
button:hover {
background-color: #0056b3;
}
#resetButton {
background-color: #e12235;
}
#resetButton:focus,
#resetButton:active {
background-color: #e12235;
}
#resetButton:hover {
background-color: rgb(173, 0, 0);
}
#courses {
margin-top: 20px;
}
#courses p {
font-size: 1.2rem;
font-weight: bold;
}
.sgpa-text {
color: white;
}
@media (max-width: 768px) {
.fork {
visibility: hidden;
}
}
@media (min-width: 768px) {
.fork-icon {
visibility: hidden;
}
}