-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
96 lines (81 loc) · 1.67 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
/* Body styles */
body {
font-family: 'Courier New', Courier, monospace;
background-color: #001f3d;
color: #00ff00;
margin: 0;
}
/* Navigation button styles */
nav {
display: flex;
justify-content: space-around;
background-color: #003b5c;
padding: 10px;
}
nav button {
background-color: #00ff00;
color: #001f3d;
border: none;
padding: 10px 20px;
cursor: pointer;
font-size: 16px;
border-radius: 5px;
font-family: 'Courier New', Courier, monospace;
transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover */
}
nav button:hover {
background-color: #00cc00; /* Lighter green on hover */
color: #001f3d; /* Dark text on hover */
}
nav button:focus {
outline: none; /* Remove default focus outline */
box-shadow: 0 0 5px 2px #00ff00; /* Add green glow effect on focus */
}
/* Tab content section */
.tab-content {
padding: 20px;
}
/* Hidden class for hiding elements */
.hidden {
display: none;
}
h2 {
border-bottom: 2px solid #00ff00;
padding-bottom: 5px;
color: #00ff00;
}
h3 {
color: #00ff00;
}
/* List styling */
ul {
list-style-type: none;
padding: 0;
}
ul li {
margin-bottom: 8px;
}
.gallery {
display: flex;
flex-direction: column;
gap: 20px;
margin-top: 20px;
align-items: center;
}
.gallery img {
width: 80%;
max-width: 600px;
height: auto;
object-fit: cover;
}
h2 {
text-align: center;
font-size: 2rem;
margin-bottom: 30px;
}
.subject {
margin-bottom: 20px;
}
main {
padding: 20px;
}