Skip to content

Commit

Permalink
changed font family for event list
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksi Väisänen committed Nov 15, 2019
1 parent b54d11c commit f480afb
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" />
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
<link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Poppins:100,300,900&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Poppins:100,300,600,900&display=swap" rel="stylesheet">

<meta
name="viewport"
Expand Down
12 changes: 12 additions & 0 deletions client/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ a:hover, .card-footer a:hover {
}

/* Bootstrap overrides */
.card {
border-radius: 0 !important;
}

.card-header {
padding: .5rem 1rem;
cursor: pointer;
Expand Down Expand Up @@ -187,6 +191,14 @@ a:hover, .card-footer a:hover {
margin: 2px 5px;
}

.eventlist-container {
font-family: 'Poppins', sans-serif;
}

.eventlist-container b {
font-weight: 600;
}

@media only screen and (max-width: 769px) {
.counter-number {
font-size: 6rem;
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/EventList.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class EventList extends Component {
const futureEvents = events.filter(event => { return this.isFuture(new Date(event.date)) })

return (
<Container className="my-5 pt-5">
<Container className="my-5 pt-5 eventlist-container">
{events.length === 0 &&
<h3 className="text-center my-3">Ei tapahtumia!</h3>
}
Expand Down
4 changes: 2 additions & 2 deletions client/src/components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Footer extends Component {
<Row>
<Col md={6} className="d-flex flex-row justify-content-center align-items-end">
<img className="guild-logo" src={digit} alt="Digit ry"/>
<div className="d-flex flex-column justify-content-left">
<div className="d-flex flex-column justify-content-left" style={{width: '170px'}}>
<div className="d-flex flex-row justify-content-left align-items-center">
<a href="https://fi-fi.facebook.com/digitry/" className="social-media-link">
<img className="social-media" src={fb} alt="Digit ry Facebook" /> @digitry
Expand All @@ -34,7 +34,7 @@ class Footer extends Component {
</Col>
<Col md={6} className="d-flex flex-row justify-content-center align-items-end">
<img className="guild-logo" src={nucleus} alt="Nucleus ry"/>
<div className="d-flex flex-column justify-content-left">
<div className="d-flex flex-column justify-content-left" style={{width: '170px'}}>
<div className="d-flex flex-row justify-content-left align-items-center">
<a href="https://fi-fi.facebook.com/Nucleusry/" className="social-media-link">
<img className="social-media" src={fb} alt="Nucleus ry Facebook" /> @Nucleusry
Expand Down

0 comments on commit f480afb

Please sign in to comment.