-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
114 lines (97 loc) · 1.78 KB
/
index.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
#page-home {
background-color: #674064;
}
#home-1 {
position: absolute;
top: 30vh;
width: 100%;
text-align: center;
}
#title, #intro {
margin: 20px;
padding: 0 25%;
max-height: 20vh;
overflow:hidden;
}
#page-projects {
background-color: #e9c9ec;
}
#projects {
width: 80vw;
height: 80vh;
margin: 100px auto;
display: flex;
overflow: scroll;
overflow-x: hidden;
flex-wrap: wrap;
justify-content: center;
}
.project {
margin: 15px;
text-align: center;
position: relative;
height: fit-content;
width: fit-content;
}
.thumbnail {
max-height: 300px;
max-width: 100vh;
height: auto;
width: auto;
z-index: 0;
}
.container {
height: 300px;
width: 300px;
display: flex;
justify-content: center;
overflow: hidden;
}
.imgWrap {
position: absolute;
top: 0;
left: 0;
height: 300px;
width: 300px;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
.description {
padding: 0 10%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 300px;
position: absolute;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0);
color: rgba(255, 255, 255, 0);
z-index: 5;
}
.description:hover {
background-color: rgba(0, 0, 0, 0.8);
color: rgba(255, 255, 255, 1);
}
.text1 {
font-size: 48px;
font-weight: 600;
color: white;
}
.text2 {
font-size: 16px;
font-weight: 300;
color: white;
}
.text3 {
font-weight: 200;
}
.text4 {
font-weight: 500;
margin: 10px;
color: black;
}