Skip to content

Commit 0d0b915

Browse files
authored
Update index.css
1 parent 6d011b2 commit 0d0b915

File tree

1 file changed

+38
-67
lines changed

1 file changed

+38
-67
lines changed

index.css

Lines changed: 38 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:root{
2-
--grey1: hsl(0, 0%, 15%, 0.5);
3-
--bg: #9850f8 /*hsl(187.1, 83.78%, 78.24%)*/;
4-
--li: hsl(266 92% 84% / 1);
2+
--gt5: oklch(0 0 0 / 30%);
3+
--gt1: oklch(0 0 0 / 10%);
4+
--bg: oklch(0.6246 0.2093 286.29) /*hsl(187.1, 83.78%, 78.24%)*/;
55
}
66

77
@font-face {
@@ -17,86 +17,57 @@ body{
1717
margin: 0px;
1818
font-family: Bahnschrift, Arial, sans-serif;
1919
color: white;
20-
background-color: var(--bg);
20+
background-color: var(--bg); font-size: 20px
2121
}
22-
/* links */
23-
a{
24-
color: var(--li); text-decoration: none; transition: all 0.5s ease;
25-
}
26-
a:hover{
27-
color: white;
28-
}
29-
3022
.t{
31-
background-color: hsl(0, 0%, 20%, 1); border-radius: 11px 11px 0 0;
32-
margin: 30px; padding: 20px 40px; text-align: center; font-size: 4em;
33-
transition: all 0.5s ease;
34-
font-family: cap;
35-
}
36-
.t:hover{
37-
background-color: hsl(0, 0%, 20%, 1);
38-
padding: 24px 30px;
23+
font-size: 2.5em !important;
24+
text-align: center; border: 4px var(--gt5) solid;
25+
background-color: var(--gt5);
26+
border-radius: 0 0 16px 16px;
27+
margin: 30px; padding: 50px; font-size: 2.9em;
3928
}
4029

41-
.ut{
42-
margin: 0px 30px; padding: 20px; border-radius: 0px;
43-
background: linear-gradient(90deg, hsl(0, 0%, 20%) 23%, #3330 54%, #3330);
44-
transition: all 0.5s ease; font-family: cap; font-weight: normal;
30+
.br {
31+
display: grid;
32+
grid-template-columns: auto auto auto;
33+
padding: 10px; margin: 0 30px 30px 30px;
34+
background-color: var(--gt1); border-radius: 1em;
4535
}
46-
47-
.ut:hover{
48-
49-
padding: 24px 20px;
36+
.br div {
37+
background-color: #0005; border: 3px var(--gt5) solid;
38+
padding: 10px; margin: 4px;
39+
text-align: center;
40+
display: flex;
41+
justify-content: center;
42+
align-items: center;
43+
min-height: 150px; border-radius: 1em;
44+
box-shadow: 0 0 0px #000a); transition: all 0.5s;
5045
}
5146

47+
.br div:hover{
48+
box-shadow: 0 4px 10px #000a;
49+
translate: 0 -4px;
50+
}
5251

53-
54-
.b{
55-
padding: 33px; text-align: center;
56-
/* width: 250px; */
57-
background-color: var(--grey1); font-size: 1.11em;
58-
transition: all 0.5s ease; box-shadow: 0 0 0 0 white;
59-
border-radius: 0px;
60-
flex: 1;
52+
.brd2{
53+
grid-column: 2/span 3;
6154
}
6255

63-
.b:hover{
64-
/*padding: 30px 50px;
65-
transform: perspective(360px) rotateX(10deg) translateY(-5px);
66-
box-shadow: 0 0 10px 3px white;
67-
box-shadow: 0 0 3px 4px #ffffff55*/
68-
}
6956

70-
.br{
71-
display: flex;
72-
align-content: flex-start;
73-
flex-wrap: wrap;
74-
align-content: stretch;
75-
margin: 30px;
76-
gap: 15px;
77-
}
78-
/*.b:first-child{
79-
border-top-left-radius: 15px;
80-
}
81-
.b:last-child{
82-
border-radius: 0 0 25px 0
83-
}*/
84-
85-
.sp{
86-
font-size: 50px; margin: 25px;
87-
user-select: none; visibility: hidden;
88-
}
89-
90-
img{
91-
width: 130px;
57+
.brd5{
58+
grid-row: 2/span 4;
59+
grid-column: 4
9260
}
9361

94-
.smo{
95-
font-size: 10px;
62+
.brds{
63+
grid-column: 1/span 4;
9664
}
9765

9866

9967

10068

101-
69+
/* links */
70+
a{
71+
color: white;
72+
}
10273

0 commit comments

Comments
 (0)