forked from JuliaMendes/50-Projects-In-50-Days-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
167 lines (130 loc) · 2.61 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
a {
text-decoration: none;
}
/* colors */
:root {
--fade-black: #24292F;
--light: #ffffff;
--fade-light: #eee;
}
body {
width: 100%;
height: 100vh;
background-color: var(--fade-light);
overflow-x: hidden;
}
/* for scrollbar */
::-webkit-scrollbar {
width: 7px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #1a1e54;
border-radius: 7px;
}
/* utility class */
.container {
padding: 20px 50px;
width: 100%;
}
.flex-r {
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
}
.flex-c {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
/* header section */
nav {
background-color: var(--fade-black);
gap: 0px 10px;
height: 50px;
}
nav i {
color: var(--light);
font-size: 26px;
}
nav a {
font-size: 20px;
color: var(--light);
}
/* main-wrapper */
.main-wrapper {
padding-top: 100px !important;
padding-bottom: 100px !important;
gap: 50px 30px;
flex-wrap: wrap;
}
.project-wrapper {
border: 1px solid rgba(41, 38, 38, 0.384);
padding: 10px 15px;
align-items: flex-start;
border-radius: 4px;
gap: 5px 0px;
transition: all 0.2s linear;
}
.project-wrapper:hover {
border: 1px solid rgba(87, 15, 182, 0.384);
transform: translateY(-2px);
}
.project-preview {
display: flex;
justify-content: center;
align-items: center;
width: 250px;
height: 200px;
background-color: var(--light);
margin: 10px 0px;
box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.123);
}
.project-preview img {
width: 100%;
height: 100%;
}
.link-wrapper {
gap: 0px 20px;
}
.link-wrapper a i {
font-size: 20px;
}
/* switch between : cards with image and card without images */
/* .project-preview {
display: none;
} */
/* for responsive */
@media (max-width:701px) {
.container {
padding: 20px 10px;
}
}
@media (max-width:300px) {
.project-wrapper {
padding: 7px 7px;
}
}
@media (max-width:285px) {
nav a {
font-size: 15px;
}
nav i {
font-size: 15px;
}
.project-preview {
width: 200px;
height: 150px;
}
}