Make performers, info and program responsive
This commit is contained in:
@@ -31,7 +31,7 @@ const Info = () => {
|
|||||||
<section className={shared.page}>
|
<section className={shared.page}>
|
||||||
<h1>Info</h1>
|
<h1>Info</h1>
|
||||||
|
|
||||||
<i>Lisätietoja tulossa myöhemmin!</i>
|
<i className={shared.followNote}>Lisätietoja tulossa myöhemmin!</i>
|
||||||
<div className={styles.infoContainer}>
|
<div className={styles.infoContainer}>
|
||||||
<div className={styles.infoTitle} onClick={() => toggleInfo('shop')}>
|
<div className={styles.infoTitle} onClick={() => toggleInfo('shop')}>
|
||||||
<h2>Livonsaaren Osuuskauppa</h2>
|
<h2>Livonsaaren Osuuskauppa</h2>
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ const Program = () => {
|
|||||||
return (
|
return (
|
||||||
<section className={shared.page}>
|
<section className={shared.page}>
|
||||||
<h1 id='program-start'>Ohjelma</h1>
|
<h1 id='program-start'>Ohjelma</h1>
|
||||||
<i>OHJELMA PÄIVITTYY KEVÄÄN MITTAAN, PYSYKÄÄ KUULOLLA!</i>
|
<i className={shared.followNote}>Lisätietoja tulossa myöhemmin!</i>
|
||||||
<div className={styles.dayContainer}>
|
<div className={styles.dayContainer}>
|
||||||
<div
|
<div
|
||||||
className={styles.programTitle}
|
className={styles.programTitle}
|
||||||
|
|||||||
@@ -2,4 +2,8 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
text-align: center;
|
||||||
|
margin-bottom: 8rem;
|
||||||
|
width: 47rem;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,8 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
width: 90%;
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
border: 0.2rem solid #d5caf29d;
|
border: 0.2rem solid #d5caf29d;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
@@ -22,6 +24,7 @@
|
|||||||
margin-top: 1.5rem;
|
margin-top: 1.5rem;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
|
text-align: left;
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
margin-right: 1rem;
|
margin-right: 1rem;
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
width: 90%;
|
width: 90%;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
p {
|
p {
|
||||||
padding-left: 1rem;
|
padding-left: 1rem;
|
||||||
@@ -52,3 +53,10 @@
|
|||||||
transition: color 0.3s;
|
transition: color 0.3s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 768px) {
|
||||||
|
.performerContainer {
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
width: 90%;
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
border: 0.2rem solid #d5caf29d;
|
border: 0.2rem solid #d5caf29d;
|
||||||
|
|||||||
@@ -12,8 +12,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.page {
|
.page {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: 8rem;
|
margin-bottom: 8rem;
|
||||||
width: 47rem;
|
width: 47rem;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.followNote {
|
||||||
|
max-width: 90%;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user