-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathb.css
More file actions
168 lines (139 loc) · 3.76 KB
/
b.css
File metadata and controls
168 lines (139 loc) · 3.76 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
157
158
159
160
161
162
163
164
165
166
167
168
:root {
--hue-neutral: 200;
--hue-wrong: 0;
--hue-correct: 145;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Bree", sans-serif;
}
html, body {
height: 100%;
margin: 0;
display: flex;
flex-direction: column;
}
body {
background-image: url("img/a.jpg");
background-position: center;
background-size: cover;
flex: 1;
}
main {
flex: 1;
color: #fff;
}
#logo img {
height: 80px; /* Adjust logo size */
width: auto;
}
/* Navbar Styles */
.custom-navbar {
padding: 10px 15px; /* Adjust padding */
backdrop-filter: blur(40px);
}
.navbar .container-fluid {
display: flex;
justify-content: space-between; /* Space between logo and nav items */
align-items: center; /* Center items vertically */
}
.navbar .navbar-nav {
display: flex;
justify-content: center; /* Center nav items */
margin: 0; /* Remove default margin */
}
.navbar .navbar-nav .nav-link {
font-size: 20px; /* Adjust font size */
margin: 0 10px; /* Adjust spacing between links */
color: aliceblue;
}
.btn-primary {
background-color: rgba(206, 47, 47, 0.936);
border: none;
}
.btn-primary:hover {
background-color: rgb(208, 84, 84);
}
/* Navbar Toggler Styles */
.navbar-toggler {
padding: 10px 20px; /* Ensure padding is set */
font-size: 1.25rem; /* Increase font size for visibility */
line-height: 1.2; /* Adjust line height */
background-color: #fff;
border-radius: 5px; /* Rounded corners */
transition: background-color 0.3s ease; /* Smooth transition */
}
.navbar-toggler:hover {
background-color: #f1312a; /* Darker background on hover */
}
/* Footer Styles */
footer {
background-color: rgba(0, 0, 0, 0.7); /* Match navbar style */
color: #fff;
text-align: center;
padding: 10px;
position: relative;
width: 100%;
flex-shrink: 0;
}
/* Laptop and iPad View (Between 768px and 1200px) */
@media (min-width: 768px) and (max-width: 1200px) {
body {
background-size: cover;
padding: 20px;
}
#logo img {
height: 70px; /* Slightly smaller logo */
}
.custom-navbar {
padding: 15px 30px; /* Increase padding for a more spacious look */
}
.navbar .navbar-nav .nav-link {
font-size: 18px; /* Slightly smaller font for better alignment */
margin: 0 8px;
}
.navbar .container-fluid {
flex-direction: column; /* Stack logo and nav items for better spacing */
align-items: flex-start;
}
.navbar .navbar-nav {
justify-content: flex-start; /* Align nav items to the left */
width: 100%; /* Full width for better spacing */
margin-top: 10px;
}
.btn-primary {
padding: 10px 20px; /* Larger buttons for touch interactions */
font-size: 18px; /* Adjust font size */
}
footer {
padding: 20px; /* More padding for a spacious footer */
font-size: 16px; /* Larger font size for readability */
}
}
/* Mobile View (Below 768px) */
@media (max-width: 767px) {
.navbar {
padding: 8px 10px; /* Adjust padding for smaller screens */
}
.navbar .navbar-nav .nav-link {
font-size: 14px; /* Smaller font size for smaller screens */
margin: 0 5px; /* Adjust spacing for smaller screens */
}
#logo img {
height: 60px; /* Smaller logo size for mobile */
}
}
@media (max-width: 480px) {
.navbar {
padding: 5px 8px; /* Further adjust padding for very small screens */
}
.navbar .navbar-nav .nav-link {
font-size: 12px; /* Even smaller font size for very small screens */
margin: 0 3px; /* Adjust spacing */
}
#logo img {
height: 50px; /* Even smaller logo size for very small screens */
}
}