-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
123 lines (106 loc) · 2.03 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
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
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800&display=swap');
:root {
--font: "Montserrat";
--text: #F8F8FF;
--primarycolor: #191919;
--background: #070707;
--nav: #545454;
--yellow: rgb(252, 255, 160);
}
* {
box-sizing: border-box;
}
body {
min-height: 100vh;
background-color: var(--primarycolor);
color: var(--text);
font-family: var(--font);
margin: 0;
}
.header {
position: relative;
top: 0;
left: 0;
width: 100%;
padding: 20px 30px;
background: var(--nav);
display: flex;
justify-content: space-between;
align-items: center;
z-index: 100;
}
.header img {
width: 4%;
}
.header a {
font-size: larger;
display: inline-flex;
align-items: center;
}
.navi {
text-decoration: none;
color: var(--text);
cursor: pointer;
text-transform: capitalize;
}
.navi:hover {
color: var(--yellow);
text-decoration: solid;
}
.h1p {
border-left: 10px solid var(--yellow);
margin-left: 30px;
margin-top: 40px;
}
h1 {
text-transform: uppercase;
padding: 1em;
margin-bottom: -70px;
}
.h1p p {
text-transform: capitalize;
padding: 32px;
}
#ps {
font-size: x-small;
font-family: sans-serif;
margin-left: 30px;
margin-bottom: 2rem;
}
.photo {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
max-width: 1400px;
margin: 0 auto;
padding: 10px;
background-size: cover;
background-position: center;
}
.photo img {
width: 100%;
max-width: 300px;
height: 350px;
object-fit: cover;
border-radius: 10px;
transition: transform .2s;
object-fit: cover;
object-position: center;
}
@media screen and (max-width: 1024px) {
.photo img:active {
transform: scale(1.2);
background-color: #F8F8FF;
}
}
@media screen and (min-width: 1024px) {
.photo img:hover {
transform: scale(1.2);
background-color: #F8F8FF;
}
}
.photo::after {
content: "";
width: 620px;
}