Skip to content

Commit

Permalink
Add a light theme
Browse files Browse the repository at this point in the history
  • Loading branch information
lynn committed Jul 5, 2024
1 parent bb84ab4 commit f365751
Show file tree
Hide file tree
Showing 5 changed files with 90 additions and 58 deletions.
3 changes: 3 additions & 0 deletions _layouts/delta-refgram.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
</head>
<body class="delta-refgram">

<button type="button" class="button" style="padding:8px 16px; margin: 8px 8px -16px"
onclick="document.body.parentElement.className = /light/.test(document.body.parentElement.className) ? '' : 'light';">Theme</button>

<img src="../assets/logo.webp" class="logo"></img>

{% assign chapters = site.pages | where: "layout", "delta-refgram" | sort: "order" %}
Expand Down
1 change: 0 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,5 @@ <h2 class="mb-5 tm-content-title">Welcome to Toaq!</h2>
<script src="js/jquery-3.4.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.backstretch.min.js"></script>
<script src="js/templatemo-script.js"></script>
</body>
</html>
8 changes: 4 additions & 4 deletions refgram/css/interlinear.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,20 +74,20 @@ Row Classes
*/
.source {
font-weight: bold;
color: #00aaff;
color: var(--toaq-color);
}

.translation {

}

.morphemes {
font-style: italic;
color: #aaaaaa;
color: var(--morphemes-color);
}

.citation {
font-family: 'Derani';
font-size: 24px;
color: #ee3399;
color: var(--derani-color);
}
Loading

0 comments on commit f365751

Please sign in to comment.