lesson 126: extend the styling

This commit is contained in:
Andreas Zweili 2021-02-08 12:19:22 +01:00
parent 7d12edfe17
commit 532d3a460f
2 changed files with 46 additions and 2 deletions

View File

@ -38,4 +38,18 @@ export default {
};
</script>
<style></style>
<style>
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
* {
box-sizing: border-box;
}
html {
font-family: 'Roboto', sans-serif;
}
body {
margin: 0;
}
</style>

View File

@ -17,4 +17,34 @@ export default {
};
</script>
<style></style>
<style scoped>
li {
margin: auto;
max-width: 40rem;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
}
h3 {
font-size: 1.25rem;
margin: 0.5rem 0;
}
p {
margin: 0.5rem 0;
}
a {
text-decoration: none;
color: #ce5c00;
}
a:hover,
a:active {
color: #c89300;
}
</style>