Styling tweaks

This commit is contained in:
2022-11-05 18:49:16 +02:00
parent b9a6f939b5
commit 402e69ee49
2 changed files with 21 additions and 12 deletions

View File

@@ -6,26 +6,28 @@ export default function Index() {
<div className={styles.outerContainer}> <div className={styles.outerContainer}>
<div className={styles.innerContainer}> <div className={styles.innerContainer}>
<header className={styles.sectionContainer}> <header className={styles.sectionContainer}>
<span className={styles.addressText}> <span className={styles.address}>
Velkuantie 988, 21180 Livonsaari Velkuantie 988, 21180 Livonsaari
</span> </span>
<Image <Image
className={styles.mainLogo}
src='/big-logo.webp' src='/big-logo.webp'
layout='responsive'
alt='main' alt='main'
width={528} width={528}
height={237} height={237}
/> />
<h1 className={styles.title}>Kauppa&Ravintola&Kahvila&Baari</h1> <h1 className={styles.title}>Kauppa&Ravintola&Kahvila&Baari</h1>
</header> </header>
<section className={styles.sectionContainer}> <section className={styles.sectionContainer}>
<h2 className={styles.openHoursTitle}>Auki:</h2> <h2 className={styles.openHoursTitle}>Auki:</h2>
<span className={styles.openHours}>ma-la 12:00-19:00</span> <p className={styles.openHoursText}>ma-la 12:00-19:00</p>
<p className={styles.openHoursDesc}> <p className={styles.openHoursDesc}>
kysynnän ja sään salliessa myös pidempään kysynnän ja sään salliessa myös pidempään
</p> </p>
<h2 className={styles.openHoursBold}>Tervetuloa!</h2> <h2 className={styles.openHoursTitle}>Tervetuloa!</h2>
</section>{' '} </section>
<section className={styles.sectionContainer}> <section className={styles.sectionContainer}>
<Image <Image
className={styles.keepersImage} className={styles.keepersImage}
@@ -61,8 +63,10 @@ export default function Index() {
/> />
</a> </a>
</div> </div>
<span className='separator' />
</section> </section>
<span className='separator' />
<section className={styles.sectionContainer}> <section className={styles.sectionContainer}>
<h1 className={styles.title}>Postin automaattipalvelu</h1> <h1 className={styles.title}>Postin automaattipalvelu</h1>
<p className={styles.postServiceDesc}> <p className={styles.postServiceDesc}>
@@ -76,8 +80,9 @@ export default function Index() {
<a href='https://www.smartpost.fi/' className={styles.link}> <a href='https://www.smartpost.fi/' className={styles.link}>
Lisätietoja Lisätietoja
</a> </a>
<span className='separator' />
</section> </section>
<span className='separator' />
</div> </div>
</div> </div>
); );

View File

@@ -18,23 +18,26 @@
} }
.address { .address {
font-weight: lighter;
margin-top: 1rem; margin-top: 1rem;
font-size: 1.1rem; }
.mainLogo {
margin-top: -1rem;
} }
.title { .title {
font-size: 2rem; font-size: 2rem;
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 1rem;
font-weight: 600; font-weight: 600;
color: #686868; color: #686868;
letter-spacing: normal;
} }
.openHoursTitle { .openHoursTitle {
font-weight: bold; font-weight: 700;
margin: 0; margin: 0;
font-size: 1.2rem; font-size: 100%;
} }
.openHoursText { .openHoursText {
@@ -44,6 +47,7 @@
.openHoursDesc { .openHoursDesc {
max-width: 15rem; max-width: 15rem;
text-align: center; text-align: center;
margin-top: 0;
} }
.keepersImage { .keepersImage {