-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
91 lines (81 loc) · 1.67 KB
/
index.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
/* Base styles - single column for mobile devices */
body {
background: lightsteelblue;
width: 100%;
text-align: center;
}
.header {
background-color: #fff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
margin-bottom: 2em;
padding: 20px;
position: sticky;
top: 0;
z-index: 1000;
}
.header img {
height: 80px;
}
.header h1 {
font-family: arial, "Comic Sans MS", cursive, sans-serif; /* Use Comic Sans font */
font-size: 36px; /* Make the font large and bold */
margin: 0; /* Remove default margin */
color: black; /* Set the text color */
font-weight: 600;
color: #5343a3;
text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4); /* Slight shadow to make text pop */
}
.container {
max-width: 95%;
margin: auto;
display: grid;
grid-template-columns: repeat(1, 1fr);
gap: 1em;
}
div.site img {
width: 50%;
border-radius: 100%;
background: white;
cursor: pointer;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
transition: 0.7s;
z-index: 1;
}
div.site img:hover {
transform: scale(1.1);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
background: #e5eaf1;
}
@media (min-width: 450px) {
.header {
margin-bottom: 3em;
}
.container {
max-width: 90%;
grid-template-columns: repeat(2, 2fr);
gap: 2em;
}
.site img {
width: 200px !important;
}
}
/* Media query for larger screens - switch to three columns */
@media (min-width: 768px) {
.container {
max-width: 80%;
grid-template-columns: repeat(3, 1fr);
}
.site img {
width: 200px !important;
}
}
@media (min-width: 1200px) {
.header {
margin-bottom: 4em;
}
.container {
max-width: 80%;
grid-template-columns: repeat(3, 1fr);
gap: 3em;
}
}