-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
102 lines (91 loc) · 1.57 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
97
98
99
100
101
body {
font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
margin: 0;
padding: 20px;
background-color: #f5f5f5;
color: #333;
}
a {
color: #8cc0f5;
text-decoration: none;
}
ul {
line-height: 1.6;
padding-left: 20px;
}
header {
background-color: #155493;
color: #ffffff;
padding: 20px 0;
text-align: center;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
position: relative;
overflow: hidden;
}
header h1 {
font-size: 2.5em;
font-weight: 900;
margin: 0;
letter-spacing: 1px;
text-transform: uppercase;
position: relative;
z-index: 2;
}
header h2 {
font-size: 1.2em;
font-weight: 500;
}
#container {
margin-top: 2em;
}
.tile {
height: 150px;
width: calc(33.33% - 20px);
float: left;
margin: 10px;
border: none;
background-color: #e0e0e0;
border-radius: 6px;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
font-weight: bold;
color: #555;
}
.tile:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
background-color: #d0d0d0;
}
@media (max-width: 768px) {
.tile {
width: calc(50% - 20px);
}
header {
padding: 15px 0;
}
header h1 {
font-size: 1.8em;
}
}
@media (max-width: 480px) {
.tile {
width: calc(50% - 20px);
height: 120px;
}
header {
padding: 27px 0;
}
header h1 {
font-size: 1.5em;
}
header p {
font-size: .8em;
padding: .4em;
}
body {
padding: 10px;
}
}