-
Notifications
You must be signed in to change notification settings - Fork 0
/
collegereviews.css
124 lines (104 loc) · 2.12 KB
/
collegereviews.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
/* Global Styles */
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: #f0f0f0;
color: #333;
}
header {
background-color: #1b1919;
color: #fff;
padding: 20px 0;
text-align: center;
}
nav {
background-color: #333;
overflow: hidden;
}
nav a {
text-decoration: none;
padding: 20px;
text-align: center;
float: left;
color: white;
}
nav a:hover{
background: rgb(83, 83, 83);
color: #007BFF;
transition: transform 0.2s ease;
}
h1 {
margin: 0;
font-size: 36px;
}
/* College List Styles */
main {
max-width: 800px;
margin: 20px auto;
padding: 20px;
background-color: #fff;
border-radius: 10px;
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}
.college-list h2 {
font-size: 24px;
margin-top: 20px;
color: #007BFF;
}
.college-list article {
margin-bottom: 20px;
padding: 20px;
background-color: #f5f5f5;
border-radius: 10px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
.college-list h2 a {
color: #333;
text-decoration: none;
font-size: 22px;
transition: color 0.3s ease;
}
.college-list h2 a:hover {
color: #007BFF;
text-decoration: underline;
}
.college-list p {
color: #666;
margin-bottom: 10px;
font-size: 17px;
}
/* Add hover effect for articles */
.college-list article:hover {
transform: scale(1.03);
transition: transform 0.3s ease;
background-color: #fff;
}
/* Add a border to the articles on hover */
.college-list article:hover {
border: 1px solid #007BFF;
}
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 10px;
}
.footer-bottom {
background-color: #222;
padding: 10px 0;
text-align: center;
}
.footer-bottom p {
margin: 0;
font-size: 16px;
}
/* Adjust spacing for mobile devices */
@media screen and (max-width: 480px) {
main {
padding: 10px;
}
.college-list article {
padding: 15px;
}
}