-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathme.css
More file actions
140 lines (119 loc) · 2.47 KB
/
Copy pathme.css
File metadata and controls
140 lines (119 loc) · 2.47 KB
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
@import url('https://fonts.googleapis.com/css2?family=Inter');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Lato');
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap" rel="stylesheet');
html {
scroll-behavior: smooth;
scroll-padding-top: 8.3rem;
background-color: #F5F5F5;
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Inter', sans-serif;
}
.profile-grid {
border-top: 10px solid #333;
font-family: 'Montserrat', sans-serif;
display: grid;
grid-row-gap: 2rem;
grid-template-columns: 1fr;
grid-template-rows: auto auto auto;
border-bottom: 10px solid #333;
}
.container1,
.container2,
.container3 {
border-radius: 10px;
width: 50%;
margin: 0 auto;
background-color: white;
box-shadow: 0px 15px 10px -15px #111;
}
.container1 {
margin-top: 2rem;
padding: 2rem 0;
text-align: center;
}
#prof-pic {
outline: 4px solid #333;
padding: 0.2rem;
border-radius: 50%;
width: 200px;
height: auto;
}
.pic-text {
margin: 0.5rem 0;
}
.container2 {
display: grid;
grid-row-gap: 1rem;
grid-column-gap: 4rem;
grid-template-columns: 1fr 1fr;
grid-template-rows: auto 1fr auto auto;
grid-template-areas:
"top top"
"middle middle"
"bottom-left bottom-right"
"bottom bottom"
;
padding: 1rem 2rem;
}
.h2-container {
padding: 0.2rem;
margin: 1rem 0;
grid-area: top;
justify-self: left;
border-bottom: 5px solid #333;
}
.h2-container2 {
padding: 0.2rem rem;
margin: 1rem 0;
justify-self: center;
border-bottom: 5px solid #333;
}
.middle-container {
grid-area: middle;
padding: 1rem 2.5rem;
}
.bottom-container1 {
grid-area: bottom-left;
}
.bottom-container2 {
grid-area: bottom-right;
}
.container3 {
margin-bottom: 2rem;
padding: 1rem 2rem;
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr 1fr;
}
.icons-container {
justify-self: center;
}
.icons-container a {
margin: 0 0.5rem;
text-decoration: none;
font-size: 2rem;
color: black;
}
@media (max-width:1000px) {
.bottom-container2 {
grid-area: bottom;
}
.container1,
.container2,
.container3 {
padding: 0.5rem;
width: 98%;
}
}
@media (max-width: 520px) {
.bottom-container2 {
grid-area: bottom;
}
.middle-container {
padding:0.5rem;
}
}