-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
83 lines (72 loc) · 1.35 KB
/
style.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
/* Global */
* {
margin: 0;
box-sizing: border-box;
font-family: 'Times New Roman', Times, serif;
}
body {
background-color: #000000;
color: #FFFFFF;
}
/* Container */
.container {
width: 80%;
margin: 5rem auto;
}
/* Header */
.head-title {
font-family: 'Press Start 2P', cursive;
font-size: 3rem;
text-align: center;
margin: 5rem 0;
}
/* Project Section */
.project-container {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 5rem 5rem;
}
.project-img img {
width: 100%;
height: 20rem;
}
.project-links {
margin: 1rem 0;
font-size: 1rem;
display: flex;
justify-content: center;
align-items: center;
}
.project-links a {
color: #FFFFFF;
margin: 0 1rem;
padding: 0.5rem 2rem;
border: 1px solid #FFFFFF;
border-radius: 0.5rem;
text-decoration: none;
}
.project-links a:hover {
color: #FFFF00;
border: 1px solid #FFFF00;
}
.line {
border: 1px solid #FFFFFF;
padding: 0.5rem 0;
}
/* Media Queries */
@media screen and (max-width: 1200px) {
.head-title {
font-size: 2rem;
}
.project-container {
grid-template-columns: repeat(2, 1fr);
}
}
@media screen and (max-width: 750px) {
.head-title {
font-size: 1.5rem;
}
.project-container {
grid-template-columns: 1fr;
}
}