forked from civicteam/docs.civic.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom.css
More file actions
51 lines (45 loc) · 914 Bytes
/
custom.css
File metadata and controls
51 lines (45 loc) · 914 Bytes
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
/* Custom styles for image width and border radius control */
/* Use these classes on Frame components for selective styling */
/* Width control classes (no border radius) */
.image-50 {
width: 50% !important;
max-width: 50% !important;
height: auto;
margin: 0 auto;
display: block;
}
.image-60 {
width: 60% !important;
max-width: 60% !important;
height: auto;
margin: 0 auto;
display: block;
}
.image-70 {
width: 70% !important;
max-width: 70% !important;
height: auto;
margin: 0 auto;
display: block;
}
.image-80 {
width: 80% !important;
max-width: 80% !important;
height: auto;
margin: 0 auto;
display: block;
}
/* Border radius class (separate) */
.image-rounded {
border-radius: 8px;
}
/* For responsive behavior */
@media (max-width: 768px) {
.image-50,
.image-60,
.image-70,
.image-80 {
width: 90% !important;
max-width: 90% !important;
}
}