-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
123 lines (106 loc) · 2.02 KB
/
main.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
* {
padding: 0;
margin: 0;
color: aliceblue;
font-family: Arial, Helvetica, sans-serif;
}
:root {
--light-gray: #252525;
--dark-gray: #1E1E1E;
--yellow: #FFBE00;
--orange: #FF6400;
}
body {
min-height: 100vh;
width: 100%;
display: flex;
justify-content: center;
background-color: var(--light-gray);
overflow-y: scroll;
}
.main-container {
min-height: 100%;
width: 620px;
background-color: var(--dark-gray);
display: flex;
flex-direction: column;
align-items: center;
padding-bottom: 2rem;
}
.gradient-bar {
height: 5px;
width: 90%;
margin-top: 2rem;
margin-bottom: 2rem;
background: linear-gradient(90deg, var(--orange) 0%, var(--yellow) 50%, var(--orange) 100%);
}
.title-greet {
font-weight: bold;
font-size: xx-large;
}
.gradient-text {
background: linear-gradient(90deg, var(--yellow) 0%, var(--orange) 50%, var(--yellow) 100%);
background-clip: text;
color: transparent;
}
.nav,
.nav div {
display: flex;
justify-content: center;
gap: 2rem;
}
.nav button {
background: none;
border: none;
outline: none;
font-size: large;
font-weight: bold;
}
body p {
font-size: larger;
width: 85%;
}
@media (max-width: 620px) {
.main-container {
width: 100%;
}
.nav {
flex-direction: column;
gap: 0.5rem;
}
}
/*
-----------------
Projects
-----------------
*/
.projects-grid {
width: 100%;
display: grid;
justify-content: center;
grid-template-columns: repeat(auto-fit, 240px);
gap: 24px;
padding-top: 2rem;
}
.project-container {
width: 240px;
display: flex;
flex-direction: column;
padding: 0.5rem;
transition: transform .2s;
gap: 12px;
}
.project-container:hover {
transform: scale(1.1);
}
.project-preview {
width: 95%;
background: linear-gradient(120deg, var(--orange), var(--yellow));
padding: 3px;
}
.project-title {
font-weight: bold;
}
.project-desc {
color: gainsboro;
}