-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
114 lines (100 loc) · 2.19 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
.main {
margin: 0px;
padding: 0px;
display: flex;
justify-content: flex-start;
align-items: flex-start;
max-width: 80vw;
width: auto;
padding-top: 15px;
}
#big-title {
font-size: 1.4rem;
font-weight: 700;
}
/*Left side*/
.main .projects {
width: 60vw;
padding: 10px;
}
.projects .card-container {
height: max-content;
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(3, 30vh);
column-gap: var(--main-spacing);
row-gap: var(--main-spacing);
padding: var(--main-spacing);
}
.card-container .cards {
padding: 6px;
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr 1fr 1fr;
border: 1px solid rgba(255,255,255,0);
border-radius: 10px;
box-shadow: 0px 0px 10px 0.5px rgba(0,0,0,0.3);
background-color: white;
}
.cards .card-icons {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 16px;
margin-right: 10px;
}
.projects .big-title-class {
padding-left: var(--main-spacing);
}
.cards #title {
font-size: 1rem;
font-weight: 700;
}
/*Right side*/
.main .extra-info {
height: max-content;
width: 30vw;
padding: var(--main-spacing);
}
.announcements {
background-color: white;
padding: var(--main-spacing);
display: grid;
grid-template-columns: 1fr;
grid-template-rows: repeat(3, 1fr);
row-gap: 10px;
border: 1px solid rgba(255,255,255,0);
border-radius: 10px;
box-shadow: 0px 0px 10px 0.5px rgba(0,0,0,0.3);
height: 60%;
margin-top: 8px;
}
.trending {
background-color: white;
display: grid;
grid-template-rows: repeat(auto-fit, 1fr);
border: 1px solid rgba(255,255,255,0);
border-radius: 10px;
box-shadow: 0px 0px 10px 0.5px rgba(0,0,0,0.3);
height: 40%;
padding: 20px;
row-gap: 10px;
}
.trending .handle {
display: grid;
grid-template-columns: 1fr 2fr;
column-gap: var(--main-spacing);
}
.trending .handle div {
display: flex;
flex-direction: column;
}
.announcements .cards {
display: flex;
flex-direction: column;
width: 100%;
}
.announcements .cards #title {
font-size: 1rem;
font-weight: 700;
}