Skip to content

Commit cc95c16

Browse files
committed
Style meetup times
1 parent 6ad43cc commit cc95c16

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

assets/css/style.css

+26
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,32 @@ main {
157157
justify-content: center;
158158
}
159159

160+
/* Meetup Times section*/
161+
#times {
162+
background: url('../images/dublin-city.webp') no-repeat center/cover;
163+
/* Handles responsivity without the need for a media query*/
164+
display: flex;
165+
flex-wrap: wrap;
166+
}
167+
168+
#times div {
169+
color: #fafafa;
170+
background-color: rgb(0, 0, 0, .6);
171+
padding: 15px;
172+
text-align: center;
173+
/* This will not wrap on screen of less than 400px wide.
174+
Each div will expand to fill the available space on its row*/
175+
flex-basis: 200px;
176+
flex-grow: 1;
177+
/* Creates a grid of meetup times div over the bg image */
178+
border: 2px solid white;
179+
}
180+
181+
#times h3 {
182+
/* Override the heading color set in general styles*/
183+
color: #fafafa;
184+
}
185+
160186
/* Footer */
161187
#social-networks {
162188
text-align: center;

assets/images/dublin-city.webp

76.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)