Skip to content

Commit bbc2bba

Browse files
authored
📦 Updates
1 parent 8df68eb commit bbc2bba

File tree

1 file changed

+41
-1
lines changed

1 file changed

+41
-1
lines changed

‎assets/css/styles/modal.css‎

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
align-items: center;
5858
justify-content: center;
5959
flex-wrap: wrap;
60+
flex-direction: column;
6061
}
6162

6263
.modalContent .modalItems .themeGroup {
@@ -95,4 +96,43 @@
9596
******************
9697
*/
9798
.close { color: var(--color-1); float: right; font-size: 28px; font-weight: bold; }
98-
.close:hover, .close:focus { color: #000; text-decoration: none; cursor: pointer; }
99+
.close:hover, .close:focus { color: #000; text-decoration: none; cursor: pointer; }
100+
101+
/*
102+
***********
103+
** Cards **
104+
***********
105+
*/
106+
.modalContent .modalItems .cardsGroup {
107+
display: flex;
108+
align-items: center;
109+
justify-content: center;
110+
flex-wrap: wrap;
111+
gap: 20px;
112+
}
113+
114+
.modalContent .modalItems .cardsGroup a { color: var(--color-1); }
115+
116+
.modalContent .modalItems .cardsGroup .card {
117+
display: flex;
118+
align-items: center;
119+
justify-content: center;
120+
flex-wrap: wrap;
121+
flex-direction: column;
122+
gap: 15px;
123+
124+
background-color: var(--background-color-2);
125+
border-radius: 15px;
126+
border: 2px solid black;
127+
padding: 20px;
128+
129+
cursor: pointer;
130+
transition: all 0.3s ease;
131+
}
132+
133+
.modalContent .modalItems .cardsGroup .card:hover {
134+
-webkit-filter: brightness(87%);
135+
transform: translateY(-5px);
136+
}
137+
138+
.modalContent .modalItems .cardsGroup .card img { width: 100px; height: auto; }

0 commit comments

Comments
 (0)