-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
143 lines (136 loc) · 2.22 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
:root {
--green: rgb(41, 176, 41);
--red: rgb(200, 40, 40);
--blue: rgb(44, 87, 205);
}
* {
padding: 0px;
margin: 0px;
box-sizing: border-box;
}
body {
/* text-transform: uppercase; */
font-family: Arial, Helvetica, sans-serif;
margin-top: 70px;
font-size: 16px;
padding: 8px;
}
.tool-container {
margin-top: 12px;
}
table {
justify-content: center;
align-items: center;
text-align: center;
padding: 18px 24px;
border: 1px solid #807e7e;
border-collapse: collapse;
margin-bottom: 15px;
width: 100%;
}
tr,
td,
th {
border: 1px solid #636161;
padding: 8px 18px;
}
th {
font-size: 1.2rem;
color: #252525;
background-color: #f2f1f1;
}
.btn {
padding: 8px 12px;
background-color: var(--red);
color: white;
text-align: center;
border: none;
outline: none;
border-radius: 4px;
}
.btn:hover {
opacity: 0.7;
cursor: pointer;
}
.btn-add-subject {
background-color: var(--green);
}
.btn-calculate {
background-color: var(--blue);
}
.btn-print {
background-color: var(--red);
margin: 5px;
}
#btn-print-pdf {
display: none;
}
.table-bottom-end-row {
background-color: rgb(221, 244, 220);
font-weight: 600;
}
input {
border: 0.5px solid #8c8787;
outline: none;
padding: 10px 2px;
width: 100%;
margin: auto;
border-radius: 3px;
}
.direct-calculator {
margin-top: 12px;
}
/* div of print table result */
#display-result {
margin-top: 20px;
display: none;
width: 100%;
}
li {
margin-top: 12px;
}
h1 {
text-align: center;
margin-bottom: 12px;
}
a {
text-align: center;
text-decoration: none;
color: rgb(36, 96, 201);
font-weight: 600;
font-size: 1rem;
}
a:hover {
text-decoration: underline;
opacity: 0.9;
}
@media only screen and (max-width: 768px) {
/* For mobile phones: */
* {
font-size: 0.9rem;
}
tr,
td,
th {
border: 0.5px solid #8c8787;
padding: 12px 3px;
}
th {
font-size: 0.9rem;
}
.btn {
font-size: 0.8rem;
}
table {
padding: 10px 2px;
width: 100%;
}
.ml {
width: 20%;
}
.container {
max-width: 95%;
margin: auto;
margin-top: 50px;
}
}