-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhomepage.html
76 lines (66 loc) · 1.77 KB
/
homepage.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Bootstrap -->
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD"
crossorigin="anonymous"
/>
<!-- Title -->
<title>CSMA / CA</title>
<!-- Linking the CSS file -->
<link rel="stylesheet" href="src/css/style1.css" />
<style>
/* Custom Responsive Styles */
body {
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
margin: 0;
padding: 0;
background-color: #f8f9fa; /* Light gray background for better visuals */
}
h1 {
font-size: 2.5rem; /* Responsive font size */
margin-bottom: 2rem;
text-align: center;
}
button {
font-size: 1.2rem; /* Larger button text for better accessibility */
padding: 0.8rem 1.5rem;
}
@media (max-width: 768px) {
h1 {
font-size: 2rem;
}
button {
font-size: 1rem;
padding: 0.6rem 1.2rem;
}
}
@media (max-width: 480px) {
h1 {
font-size: 1.5rem;
}
button {
font-size: 0.9rem;
padding: 0.5rem 1rem;
}
}
</style>
</head>
<body>
<h1>CSMA / CA</h1>
<a href="./page1.html">
<button type="button" class="btn btn-warning">Start Learning!</button>
</a>
</body>
</html>