File tree Expand file tree Collapse file tree 1 file changed +24
-3
lines changed
Components/Accordions/Neumorphism-Accordion Expand file tree Collapse file tree 1 file changed +24
-3
lines changed Original file line number Diff line number Diff line change 6
6
background : linear-gradient (to right, # 19569d, # 2ee809 );
7
7
font-family : 'Arial' , sans-serif;
8
8
color : # 394240 ;
9
+ font-size : 16px ;
9
10
}
10
11
11
12
# neumorphism {
17
18
h1 {
18
19
font-family : "Arial Black" , sans-serif;
19
20
background : linear-gradient (to right, # 7289da, # 4e5d94 );
20
- font-size : 5 rem ;
21
+ font-size : 3 rem ;
21
22
color : # ffffff ;
22
23
text-shadow : 2px 2px 3px rgba (232 , 212 , 212 , 0.3 );
23
24
-webkit-background-clip : text;
@@ -99,7 +100,6 @@ ul li,
99
100
p {
100
101
color : rgb (14 , 14 , 138 );
101
102
font-family : Georgia, 'Times New Roman' , Times, serif;
102
- font-size : 20px ;
103
103
}
104
104
105
105
/* Customize the accordion header font and color */
@@ -128,14 +128,17 @@ p {
128
128
/* Customize the accordion body font and color */
129
129
.accordion-body {
130
130
color : # 333 ;
131
- font-size : 1rem ;
132
131
line-height : 1.5 ;
133
132
padding : 1rem ;
134
133
border : none;
135
134
border-radius : 0 ;
136
135
box-shadow : 0 2px 5px rgba (0 , 0 , 0 , 0.1 );
137
136
}
138
137
138
+ .accordion-body p {
139
+ font-size : 1rem ;
140
+ }
141
+
139
142
/* Customize the accordion item background color */
140
143
.accordion-item {
141
144
background-color : # fff ;
144
147
box-shadow : 0 2px 5px rgba (0 , 0 , 0 , 0.1 );
145
148
margin-bottom : 1rem ;
146
149
}
150
+
151
+ @media screen and (max-width : 768px ) {
152
+ section # neumorphism {
153
+ padding : 30px !important ;
154
+ }
155
+
156
+ h1 {
157
+ font-size : 5vw ;
158
+ }
159
+
160
+ .accordion-button {
161
+ font-size : 1rem ;
162
+ }
163
+
164
+ .accordion-body {
165
+ font-size : 1rem ;
166
+ }
167
+ }
You can’t perform that action at this time.
0 commit comments