aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/css/Profile.css
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/css/Profile.css')
-rw-r--r--frontend/src/css/Profile.css239
1 files changed, 239 insertions, 0 deletions
diff --git a/frontend/src/css/Profile.css b/frontend/src/css/Profile.css
new file mode 100644
index 0000000..4944ade
--- /dev/null
+++ b/frontend/src/css/Profile.css
@@ -0,0 +1,239 @@
1#section1.profile{
2 margin: 20px;
3 background: linear-gradient(0deg, #202232 50%, #2b2e46 50%);
4 border-radius: 24px;
5 height: 200px;
6
7 display: grid;
8 grid-template-columns: 250px 1fr;
9
10}
11#section1.profile>div:first-child{
12 overflow: hidden;
13 border-radius: 100%;
14 display: grid;
15
16 place-items: center;
17
18 margin: 8px 33px 8px 33px;
19 scale: 0.9;
20 grid-row: 1 / 3;
21
22
23}
24#profile-image>img{
25 border-radius: 100%;
26 transition: filter 0.3s;
27 cursor: pointer;
28}
29
30#profile-image>span{
31 z-index: 1;
32 position: absolute;
33 opacity: 0;
34 color:white;
35 transition: opacity 0.3s;
36 cursor: pointer;
37}
38
39#profile-image:hover > img{filter: blur(5px) brightness(60%);z-index: 1;}
40#profile-image:hover > span{opacity: 1;}
41
42#profile-top{
43 height: 100px;
44 display: grid;
45 grid-template-columns: 80% 20%;
46}
47#profile-top>div:nth-child(1)>div>img{
48 margin: 12px;
49 border-radius: 10px;
50}
51
52#profile-top>div:nth-child(1){
53 display: flex;
54 place-items: center;
55 font-size: 50px;
56 font-weight: bold;
57 color: white;
58}
59#profile-top>div:nth-child(1)>div{
60 display: flex;
61 height: 60px;
62}
63span.titles{
64 margin: 12px 12px 12px 0;
65
66 font-size: 18px;
67 font-weight: 100;
68
69 padding: 6px 20px 0px 20px;
70 border-radius: 10px;
71}
72
73#profile-top>div:nth-child(2){
74 display: flex;
75 flex-direction: row-reverse;
76 align-items: center;
77 padding-right: 10px;
78}
79#profile-top>div:nth-child(2)>a>img{
80 height: 50px;
81 padding: 0 5px 0 5px;
82 scale: 0.9;
83 filter: brightness(200%);
84
85}
86
87
88#profile-bottom{
89 height: 100px;
90 display: grid;
91 grid-template-columns: 1fr 1fr 1fr;
92}
93#profile-bottom>div{
94 margin: 12px;
95 background-color: #2b2e46;
96 border-radius: 20px;
97 display: grid;
98 place-items: center;
99 grid-template-rows: 40% 50%;
100}
101#profile-bottom>div>span:nth-child(1){
102 color: inherit;
103 font-size: 18px;
104}
105#profile-bottom>div>span:nth-child(2){
106 color: white;
107 font-size: 40px;
108}
109#profile-bottom>div>span:nth-child(2)>span{
110 color: white;
111 font-size: 20px;
112}
113/* #section1.profile>div>div{outline: red 1px dashed;} */
114
115
116#section2.profile{
117 margin: 20px;
118 height: 60px;
119 display: grid;
120 grid-template-columns: 1fr 1fr;
121}
122#section2.profile>button{
123 display: flex;
124 justify-content: center;
125 align-items: center;
126
127 background-color: #2b2e46;
128 border: 0;
129 color: inherit;
130 font-family: inherit;
131 font-size: 24px;
132 cursor: pointer;
133
134 transition: background-color .1s;
135}
136#section2.profile>button:nth-child(1){border-radius: 24px 0 0 24px;}
137#section2.profile>button:nth-child(2){border-radius: 0 24px 24px 0;}
138
139#section3.profile1>hr{border: 1px solid #2b2e46;margin: 8px 20px 0px 20px;}
140#section3.profile1{
141 margin: 20px;
142 display: block;
143
144 background-color: #202232;
145 border-radius: 24px;
146}
147
148#profileboard-nav{
149 display: grid;
150 grid-template-columns: 1fr 1fr;
151}
152
153#profileboard-nav>select{
154
155 /* appearance: none; */
156 margin: 10px 20px 20px 20px;
157 height: 50px;
158
159 border-radius: 24px;
160 text-align: center;
161
162 color: inherit;
163 font-family: inherit;
164 font-size: 24px;
165 border: 0;
166
167 background-color: #2b2e46;
168}
169
170
171#profileboard-top>span>img{height: 20px;scale: .8;}
172#profileboard-top>span>img,#profileboard-top>span>span{cursor: pointer;}
173#profileboard-top{
174 height: 34px;
175 display: grid;
176 font-size: 20px;
177 padding-left: 40px;
178 margin: 0 20px;
179 grid-template-columns: 15% 15% 5% 15% 5% 15% 15% 15%;
180}
181
182#profileboard-top>span{
183 display: flex;
184 place-items: flex-end;
185}
186
187#profileboard-records{
188 padding-bottom: 10px;
189}
190
191.profileboard-record{
192 width: calc(100% - 40px);
193 margin: 10px 20px 0px 20px;
194 height: 44px;
195
196 border-radius: 20px;
197 padding: 0 0 0 40px;
198 font-size: 20px;
199
200 color: inherit;
201 font-family: inherit;
202 border: 0;
203 transition: background-color .1s;
204 background-color: #2b2e46;
205 display: grid;
206 grid-template-columns: 15% 15% 5% 15% 5% 15% 15% 15%;
207 overflow: hidden;
208 white-space: nowrap;
209
210 transition: height .2s
211}
212
213/* this right here should be illegal */
214.profileboard-record>span:nth-child(-n+8){filter: brightness(100%);}
215.profileboard-record>span{
216 display: flex;
217 place-items: flex-end;
218 filter: brightness(65%);
219}
220
221.profileboard-record>hr{
222 margin: 0 0 0 -60px;
223 border: 0;
224 height: 2px;
225 background-color: #202232;
226}
227
228.profileboard-record>span:nth-child(4){display: grid;}
229.profileboard-record>span{
230
231 display: flex;
232 place-items: center;
233 height: 44px;
234}
235.profileboard-record>span>button{
236 background-color: #0000;
237 border: 0;
238 cursor: pointer;
239}