-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
132 lines (112 loc) · 2.28 KB
/
Copy pathstyles.css
File metadata and controls
132 lines (112 loc) · 2.28 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
*,
*:before,
*:after {
box-sizing: inherit;
}
body {
--card-bg: rgba(255, 255, 255, 1);
--card-boxshadow: 0 5px 10px rgba(154, 160, 185, 0.05),
0 15px 40px rgba(166, 173, 201, 0.2);
--card-bg-hover: #ffecd8;
--tag-bg: #f1f8ff;
--tag-hover-bg: #fa8738;
--tag-color: #0366d6;
--tag-hover-color: #fff;
--tag-opacity: 1;
--info-text: rgb(46 48 47 / 77%);
}
.container {
width: 100%;
margin: 12px auto;
margin-bottom: 0;
}
.row {
display: flex;
}
.col {
flex: 0 50%;
}
.rapihin {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.card {
padding: 1em;
box-sizing: border-box;
width: 100%;
display: flex;
height: 245px;
text-decoration: none !important;
}
.card>div {
flex: 1 1 auto;
padding: 1em;
border: 1px solid transparent;
background-color: var(--card-bg);
border-radius: 16px;
box-shadow: var(--card-boxshadow);
}
.card>div:hover {
background: var(--card-bg-hover);
transition: background-color 100ms linear;
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14),
0 1px 10px 0 rgba(0, 0, 0, 0.12) !important;
}
.card>div:hover .name {
text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}
.card>div:hover .tag {
background-color: var(--tag-hover-bg);
color: var(--tag-hover-color);
transition: all 100ms linear;
}
.card .name {
font-size: 18px;
font-weight: bold;
color: var(--text-color);
}
.card .info {
color: var(--info-text);
}
.tag {
width: fit-content(20em);
display: inline-block;
font-size: 12px;
font-weight: 500;
line-height: 18px;
border: 1px solid transparent;
border-radius: 2em;
padding: 0 10px;
line-height: 22px;
color: var(--tag-color);
white-space: nowrap;
margin: 0 0.125em 0.333em 0;
background-color: var(--tag-bg);
opacity: var(--tag-opacity);
}
@media only screen and (max-width: 600px) {
body {
overflow-y: auto !important;
}
.row {
flex-wrap: wrap;
}
.col {
flex: 0 100%;
}
.projects {
height: auto !important;
}
.card {
width: 100%;
}
}
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 0.5;
}
}