summaryrefslogtreecommitdiff
path: root/layout
diff options
context:
space:
mode:
authorDoge <[email protected]>2021-05-10 00:28:12 +0800
committerDoge <[email protected]>2021-05-10 00:28:12 +0800
commit37af3922761fd0c982ba2ffec11bfa1850269702 (patch)
tree83e019ed749eb610833854c2c5accc95677db61e /layout
parentb481a882fdfb55783618af0c1380faba959f6f11 (diff)
downloadchromate-37af3922761fd0c982ba2ffec11bfa1850269702.tar.gz
chromate-37af3922761fd0c982ba2ffec11bfa1850269702.tar.bz2
chromate-37af3922761fd0c982ba2ffec11bfa1850269702.zip
Enhance autodark working
Diffstat (limited to 'layout')
-rw-r--r--layout/_partial/header.ejs2
-rw-r--r--layout/index.ejs8
2 files changed, 5 insertions, 5 deletions
diff --git a/layout/_partial/header.ejs b/layout/_partial/header.ejs
index c6c1a9f..f9463f7 100644
--- a/layout/_partial/header.ejs
+++ b/layout/_partial/header.ejs
@@ -1,4 +1,4 @@
-<section id="header-page" class="hero is-light is-large">
+<section class="hero is-large auto-dark">
<div class="hero-head">
<header class="navbar" aria-label="main navigation">
<div class="container">
diff --git a/layout/index.ejs b/layout/index.ejs
index 93f15af..1a506a6 100644
--- a/layout/index.ejs
+++ b/layout/index.ejs
@@ -96,14 +96,14 @@
<div class="column is-8 is-offset-2">
<nav class="pagination is-centered" role="navigation" aria-label="pagination">
<% if (page.prev) { %>
- <a class="button is-light" href="<%- url_for(page.prev_link) %>"><%- __("prev") %></a>
+ <a class="button auto-dark" href="<%- url_for(page.prev_link) %>"><%- __("prev") %></a>
<% } else { %>
- <a class="button is-disabled is-light" disabled><%- __("prev") %></a>
+ <a class="button is-disabled auto-dark" disabled><%- __("prev") %></a>
<% } %>
<% if (page.next) { %>
- <a class="button is-light" href="<%- url_for(page.next_link) %>"><%- __("next") %></a>
+ <a class="button auto-dark" href="<%- url_for(page.next_link) %>"><%- __("next") %></a>
<% } else { %>
- <a class="button is-disabled is-light" disabled><%- __("next") %></a>
+ <a class="button is-disabled auto-dark" disabled><%- __("next") %></a>
<% } %>
</nav>
</div>