-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCricketCalculator.css
More file actions
156 lines (124 loc) · 2.44 KB
/
CricketCalculator.css
File metadata and controls
156 lines (124 loc) · 2.44 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
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
144
145
146
147
148
149
150
151
152
153
154
155
156
html {
height: 100%;
}
body {
position: relative;
background: linear-gradient(90deg, #1a2980, #26d0ce);
}
.container {
max-width: 1000px;
}
.border-top {
border-top: 1px solid #e5e5e5;
}
.border-bottom {
border-bottom: 1px solid #e5e5e5;
}
.border-top-gray {
border-top-color: #adb5bd;
}
.box-shadow {
box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}
.lh-condensed {
line-height: 1.25;
}
/* Color theme for all elements */
body,
.form-control,
.btn {
color: #fff;
}
.nav-tabs .nav-link {
color: #fff;
}
.nav-tabs .nav-link:hover {
color: #ddd;
}
.nav-tabs .nav-link.active {
background-color: #007bff;
color: #fff;
}
.description {
color: #eee;
}
.form-control {
background-color: rgba(255, 255, 255, 0.2);
color: #fff;
}
.btn-primary {
background-color: #007bff;
border-color: #007bff;
}
.btn-primary:hover {
background-color: #0069d9;
border-color: #0062cc;
}
.btn-primary:focus,
.btn-primary.focus {
box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type="number"] {
appearance: textfield;
}
input[type="number"]::-webkit-input-placeholder {
color: #eee;
}
input[type="number"]::-moz-placeholder {
color: #eee;
}
input[type="number"]:-ms-input-placeholder {
color: #eee;
}
input[type="number"]::-ms-input-placeholder {
color: #eee;
}
input[type="number"]::placeholder {
color: #eee;
}
/* Set result text color */
#nrrTBF,
#dlsResult {
color: #000;
}
/* Responsiveness */
@media (max-width: 768px) {
/* Small devices (up to 768px) */
.container {
padding: 20px; /* Reduce padding for smaller devices */
}
.nav-tabs {
margin-bottom: 20px; /* Add gap at the end of the tabs */
flex-wrap: wrap; /* Allow tabs to wrap to the next line */
}
.nav-item {
flex-basis: 50%; /* Make each tab take up 50% width */
}
.tab-content {
margin-bottom: 10px; /* Add gap at the end of the tab content */
}
}
@media (max-width: 576px) {
/* Extra small devices (up to 576px) */
/* Adjust the font size of the text elements */
p,
label,
input[type="text"],
input[type="number"] {
font-size: 16px;
}
h2 {
font-size: 18px;
margin-top: -10px;
margin-bottom: 10px;
}
.py-5.text-center {
margin-top: -30px;
margin-bottom: -30px; /* Reduce the margin bottom to decrease the spacing */
}
}