-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles_hobby.css
More file actions
87 lines (76 loc) · 1.5 KB
/
styles_hobby.css
File metadata and controls
87 lines (76 loc) · 1.5 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
@font-face {
font-family: 'DoomFont';
src: url('amazdoomleft.ttf') format('truetype');
}
body {
font-family: 'DoomFont', Arial, sans-serif;
background: url('background.gif') no-repeat center center fixed;
background-size: cover;
margin: 0;
padding: 0;
color: #333;
font-size: 1.2rem;
display: grid;
grid-template-rows: auto 1fr;
min-height: 100vh;
}
header {
background-color: #333;
color: #fff;
text-align: center;
padding: 2%;
}
h1, h2, h3 {
margin: 0;
}
.content {
display: grid;
grid-template-columns: 1fr;
gap: 2%;
padding: 2%;
align-items: center;
justify-content: center;
}
.hobbies-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
gap: 2%;
justify-content: center;
}
.hobby {
background-color: #fff;
padding: 2%;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
text-align: center;
}
img {
max-width: 100%;
height: 70%;
border-radius: 8px;
margin-bottom: 2%;
}
.hobby p {
font-family: 'Pixelify Sans';
}
.navigation-buttons {
display: flex;
justify-content: center;
align-items: center;
margin-top: 2%;
}
.button {
padding: 1% 2%;
background-color: #fff;
color: #333;
text-decoration: none;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 1.2rem;
transition: background-color 0.3s;
margin: 0 2%;
}
.button:hover {
background-color: #ff0b0b;
}