Skip to content

Commit

Permalink
Text style tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Restioson committed Oct 3, 2024
1 parent 8496ad9 commit 2731649
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 18 deletions.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ <h1>Introduction</h1>
in the word after undergoing any sound or spelling changes that may occur.
</p>

<figure>
<figure class="wide-figure">
<img src="files/seg-example.svg" alt="Canonical and surface segmentations of 'zobomi'. The canonical
form is 'za-u-(bu)-bomi', whilst the surface form is 'zo-bomi'">
<figcaption>The surface and canonical segmentations of the word "zobomi" (of life in IsiXhosa).</figcaption>
Expand Down
31 changes: 14 additions & 17 deletions docs/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,24 @@
box-sizing: border-box;
}

body * {
font-family: 'Roboto', sans-serif;
font-size: 1.3rem;
line-height: 1.6;
}

body {
font-family: Roboto, sans-serif;
margin: 0;
padding: 0;
background: #FDF7ED;
}

h1, h2, h3, h4, h5 {
font-family: 'Montserrat', sans-serif;
}

h1 {
font-family: 'Playfair Display', serif;
font-size: 46px;
color: #333333;
font-weight: bold;
Expand All @@ -19,7 +28,6 @@ h1 {
}

h2 {
font-family: 'Roboto', sans-serif;
font-size: 36px;
color: #444444;
font-weight: 700;
Expand All @@ -28,32 +36,19 @@ h2 {
}

h3 {
font-family: 'Montserrat', sans-serif;
font-size: 26px;
color: #555555;
font-weight: 600;
font-style: italic;
margin-bottom: 20px;
}

p {
font-family: 'Roboto', sans-serif;
font-size: 1.3rem;
line-height: 1.6;
}

p ul li {
font-family: "Roboto", sans-serif;
}


html {
scroll-padding-top: 100px;
}

header {
display: grid;
grid-template-columns: auto auto 1fr auto;
grid-template-columns: auto auto auto 1fr;
background-color: #333;
color: white;
text-align: center;
Expand Down Expand Up @@ -131,6 +126,8 @@ nav ul li a {
color: white;
font-size: 1.5rem;
transition: all 0.3s ease;
padding-left: 5px;
padding-right: 5px;
}

nav ul li:hover {
Expand Down Expand Up @@ -232,7 +229,7 @@ h1, h2, h3, h4 {

.author {
margin-top: 0;
font-size: 1.2rem;
font-size: 1.5rem;
font-style: italic;
}

Expand Down

0 comments on commit 2731649

Please sign in to comment.