Skip to content

Commit b8b6d18

Browse files
committed
Add grid support to cirno-card
1 parent ef90c09 commit b8b6d18

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

foxy/src/main/styles-dashboard/_cirno-card.scss

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,29 @@
77
.cirno-card {
88
margin-top: 20px;
99
padding: 20px;
10-
border-radius: 4px;
10+
border-radius: 10px;
1111
margin-bottom: 1rem;
1212
font-family: sans-serif;
1313
background-color: var(--reimu-feature-card-background);
1414
color: var(--reimu-default-font-color);
1515
transition: 0.3s;
16-
box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.1);
16+
border: 1px solid var(--reimu-header-border);
17+
18+
&.warning {
19+
background-color: #f003;
20+
border-color: #f003;
21+
}
22+
23+
&.grid {
24+
padding: 30px;
25+
}
1726
}
27+
.cirno-card-grid {
28+
text-align: center;
29+
display: grid;
30+
grid-template-columns: repeat(3, 1fr);
31+
gap: 10px;
32+
}
1833

1934
.cirno-card-buttons {
2035
margin-top: 1.2rem;
@@ -100,7 +115,7 @@
100115

101116
&.big-name {
102117
font-size: 1rem;
103-
margin-bottom: 2px;
118+
margin-bottom: 10px;
104119
}
105120
}
106121

0 commit comments

Comments
 (0)