-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathresourcesStyle.css
More file actions
149 lines (127 loc) · 2.42 KB
/
resourcesStyle.css
File metadata and controls
149 lines (127 loc) · 2.42 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* General styling */
body {
font-family: 'Arial', sans-serif;
background-color: #f8f8f8;
color: #333;
line-height: 1.6;
}
/* Navigation bar */
.navbar {
background-color: rgb(171, 178, 240);
color: #333;
padding: 20px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.nav-links {
list-style: none;
display: flex;
gap: 20px;
}
.nav-links a {
color: #333;
text-decoration: none;
font-size: 16px;
padding: 5px;
transition: border-bottom 0.3s ease;
}
.nav-links a.active {
border-bottom: 2px solid #000;
}
.auth-buttons {
display: flex;
gap: 10px;
}
.auth-buttons .btn {
background-color: #000;
color: rgb(212, 152, 255);
border: none;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s;
}
.auth-buttons .btn:hover {
background-color: #333;
}
/* Header */
header {
text-align: center;
padding: 40px 20px;
background-color: #f8f8f8;
}
.logo {
font-size: 24px;
font-weight: bold;
}
/* Main content */
.content {
max-width: 1200px;
margin: 0 auto;
padding: 40px 20px;
}
.resources h2 {
font-size: 48px;
margin-bottom: 10px;
}
.resources p {
font-size: 18px;
margin-bottom: 30px;
color: #666;
text-align: center;
}
/* Resource list layout */
.resource-list {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
}
.resource-list li {
list-style: none;
background: #fff;
padding: 20px;
border-radius: 10px;
width: calc(50% - 20px); /* Two items per row with gap */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
transition: transform 0.3s;
position: relative;
overflow: hidden;
}
.resource-list li:hover {
transform: translateY(-5px);
}
.resource-list li a {
text-decoration: none;
color: #333;
font-size: 20px;
display: block;
}
/* Footer */
footer {
background-color: #f8f8f8;
color: #666;
text-align: center;
padding: 20px;
margin-top: 40px;
}
/* Responsive styling */
@media (max-width: 768px) {
.resource-list li {
width: 100%; /* One item per row on small screens */
}
.resources h2 {
font-size: 36px;
}
.resources p {
font-size: 16px;
}
}