Skip to content

Commit e22bee9

Browse files
committed
add accordion footer formatting
1 parent 32e11c3 commit e22bee9

File tree

1 file changed

+47
-8
lines changed

1 file changed

+47
-8
lines changed

weatherApp/css/style.css

Lines changed: 47 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
/********************Root Formatting********************/
1313
:root {
14-
--primary-title-font: 'M Plus Rounded 1c', sans-serif;
15-
--primary-title-font-size: 1.6em;
14+
--primary-font: 'M Plus Rounded 1c', sans-serif;
15+
--primary-font-size: 1.6em;
1616
--navigation-link-font: monospace;
1717
--navigation-font-size: 1.4em;
1818
--footer-font: 'Nunito Sans', sans-serif;
@@ -48,8 +48,8 @@ html {
4848
/*Format nav bar brand color*/
4949
.navbar-brand {
5050
color: orange;
51-
font-family: var(--primary-title-font);
52-
font-size: var(--primary-title-font-size);
51+
font-family: var(--primary-font);
52+
font-size: var(--primary-font-size);
5353
font-weight: bold;
5454
}
5555

@@ -84,7 +84,6 @@ html {
8484
background-color: #304c89;
8585
padding: 5%;
8686
border-radius: 12px;
87-
width: 350px;
8887
}
8988

9089
.aboutContent h2 {
@@ -102,9 +101,10 @@ html {
102101

103102
/*Format about coontent p*/
104103
.aboutContent p {
105-
font-family: var(--primary-title-font);
104+
font-family: var(--primary-font);
106105
text-align: left;
107106
line-height: 2;
107+
letter-spacing: 2px;
108108
color: white;
109109
font-size: 0.9em;
110110
}
@@ -114,7 +114,7 @@ html {
114114
Footer {
115115
text-align: center;
116116
background-color: #0d6efd;
117-
padding: 1%;
117+
padding: 10px;
118118
color: white;
119119
font-family: var(--footer-font);
120120
font-size: 0.8em;
@@ -127,6 +127,45 @@ footer p {
127127

128128
/*Format accordion*/
129129
.accordion {
130-
background: none;
130+
--bs-accordion-bg: #0d6efd;
131131
}
132+
/*Format accordion button font*/
133+
.accordion-button {
134+
font-size: 1em;
135+
font-family: var(--footer-font);
136+
font-weight: bold;
137+
color: orange;
138+
text-decoration: underline;
139+
}
140+
141+
/*Delete button focus*/
142+
.accordion-button:focus {
143+
box-shadow: none;
144+
}
145+
146+
/*Delete color from button active state*/
147+
.accordion-button:not(.collapsed) {
148+
color: orange;
149+
background-color: #0d6efd;
150+
}
151+
152+
/*Format accordion body list*/
153+
.accordion-body ul {
154+
list-style-type: none;
155+
text-align: left;
156+
line-height: 2;
157+
letter-spacing: 2px;
158+
color: white;
159+
font-size: 0.9em;
160+
}
161+
162+
/*Format list items*/
163+
.accordion-body li a {
164+
font-family: var(--footer-sub-font);
165+
font-size: 2em;
166+
font-weight: bold;
167+
text-decoration: none;
168+
color: white;
169+
}
170+
132171
/********************End of Footer Formatting********************/

0 commit comments

Comments
 (0)