-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
119 lines (98 loc) · 1.79 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
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&family=Open+Sans:wght@300;400;500;600;700;800&display=swap");
*,
html {
scroll-behavior: smooth !important;
}
body {
margin: 0 auto;
padding: 0px;
background-color: black;
color: white;
max-width: 1300px;
box-sizing: border-box;
font-family: "Lato", sans-serif;
}
.flex {
display: flex;
}
.grid {
display: grid;
}
.h-center {
justify-content: center;
}
.v-center {
align-items: center;
}
#project-container {
max-width: 1250px;
padding: 2.5rem;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
grid-gap: 2rem;
}
.project-card {
min-width: 250px;
height: 300px;
max-width: 400px;
border: 1px solid white;
flex-direction: column;
}
.project-card > div {
height: 20%;
align-items: center;
justify-content: space-evenly;
}
a.project-card {
text-decoration: none;
text-align: center;
justify-content: center;
color: black;
font-size: 1.2rem;
display: block;
box-shadow: 2px 2px 0 0 black, 4px 4px 0 0 white;
transition: 200ms;
background: black;
border: 1px solid white;
}
.project-img {
width: 100%;
height: 80%;
object-fit: cover;
border-bottom: 0.5px solid white;
}
nav {
height: 40px;
padding: 5px 20px;
justify-content: space-between;
text-align: center;
}
h1,
p {
margin: 0px;
padding: 0px;
color: white;
}
h1 {
font-size: xx-large;
}
img {
height: 100%;
width: 100%;
}
a.project-card.flex:hover {
color: white;
box-shadow: 3px 3px 0 0 black, 6px 6px 0 0 white;
transform: translate(-2px, -2px);
}
::-webkit-scrollbar {
width: 5px;
}
::-webkit-scrollbar-track {
background-color: black;
}
::-webkit-scrollbar-thumb {
background-color: #777;
}
::-webkit-scrollbar-thumb:hover {
background-color: white;
}