forked from ankitkat042/ThalaForAReason
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
154 lines (136 loc) · 3.17 KB
/
styles.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
144
145
146
147
148
149
150
151
152
153
154
body {
font-family: 'roboto', sans-serif;
background-color: #f4f6f8;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
#container {
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
transition: 0.3s;
width: 30%; /* You can adjust the width as needed */
border-radius: 10px;
background-color: white;
padding: 20px;
overflow: hidden; /* This ensures that nothing spills out of the container */
}
h1 {
color: #333;
text-align: center;
margin-top: 20px;
margin-bottom: 40px;
}
#tabs {
display: flex;
justify-content: space-around;
margin-bottom: 20px;
border-bottom: 2px solid #dee2e6;
}
.tab {
padding: 10px 20px;
cursor: pointer;
border: none;
background-color: grey;
border-radius: 5px;
transition: background-color 0.3s, color 0.3s;
}
.tab.active, .tab:hover {
background-color: #007bff;
color: white;
}
.tabContent {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 20px;
height: 250px; /* Fixed height for consistency */
overflow-y: auto; /* Adds scroll to the container if content overflows */
}
.tabContent input[type="text"] {
margin-bottom: 10px; /* Space between input boxes */
}
.tabContent button {
margin-top: 20px; /* Space above the submit button */
}
input[type="text"] {
margin: 0 5px;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
transition: border-color 0.3s;
}
input[type="text"]:focus {
border-color: #007bff;
}
button {
padding: 10px 20px;
border: none;
background-color: #28a745;
color: white;
cursor: pointer;
border-radius: 20px;
transition: background-color 0.3s;
}
button:hover {
background-color: #218838;
}
#oneDigit, #twoDigits, #threeDigits {
padding: 10px;
}
#oneDigit input[type="text"],
#twoDigits input[type="text"],
#threeDigits input[type="text"] {
margin-right: 5px; /* Spacing between input fields */
margin-bottom: 5px; /* Spacing between input fields and the submit button */
}
#oneDigit button,
#twoDigits button,
#threeDigits button {
width: auto; /* Adjust width as necessary, or use auto for content-based width */
}
@media only screen and (max-width: 768px) {
body {
align-items: flex-start;
padding-top: 20px;
}
#container {
width: 90%;
margin-top: 20px;
}
h1 {
margin-top: 10px;
margin-bottom: 20px;
font-size: 1.5em;
}
.tabContent {
height: auto;
}
.tab {
font-size: 0.9em;
}
input[type="text"] {
width: 80%;
}
button {
width: auto;
}
#link-icons {
flex-direction: column;
gap: 10px;
}
}
body {
font-family: 'roboto', sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: linear-gradient(135deg, #3498db, #9b59b6);
}