diff options
| author | Doge <guiqiqi187@gmail.com> | 2021-05-10 00:33:00 +0800 | 
|---|---|---|
| committer | Doge <guiqiqi187@gmail.com> | 2021-05-10 00:33:00 +0800 | 
| commit | 03a1b17b9dea3a81e9610e961b99b2465c4e7c57 (patch) | |
| tree | 3ec22efa257872333a2e8d801402a9bac9384b0f | |
| parent | 37af3922761fd0c982ba2ffec11bfa1850269702 (diff) | |
| download | chromate-03a1b17b9dea3a81e9610e961b99b2465c4e7c57.tar.gz chromate-03a1b17b9dea3a81e9610e961b99b2465c4e7c57.tar.bz2 chromate-03a1b17b9dea3a81e9610e961b99b2465c4e7c57.zip | |
Fix incorrect position
| -rw-r--r-- | layout/post.ejs | 4 | ||||
| -rw-r--r-- | source/css/style.css | 4 | 
2 files changed, 4 insertions, 4 deletions
| diff --git a/layout/post.ejs b/layout/post.ejs index 4a9b2f1..4b16008 100644 --- a/layout/post.ejs +++ b/layout/post.ejs @@ -1,6 +1,6 @@  <div class="columns">      <div class="column is-8 is-offset-2"> -        <div class="card post-card"> +        <div class="card">              <% if (page.thumbnail) { %>                  <div class="card-iamge">                      <figure class="image is-16by9"> @@ -12,7 +12,7 @@                      </figure>                  </div>              <% } %> -            <div class="card-content"> +            <div class="card-content post-card">                  <h2 class="title has-text-centered">                      <%= page.title %>                  </h2> diff --git a/source/css/style.css b/source/css/style.css index 2c54268..73dd579 100644 --- a/source/css/style.css +++ b/source/css/style.css @@ -19,7 +19,7 @@ pre {          padding-top: 0px !important;      }      .post-card { -        padding: 0 0 0 0 !important;  +        margin: 0 0 0 0 !important;       }  } @@ -28,7 +28,7 @@ pre {  }  .post-card { -    padding: 0 1rem 1rem 1rem; +    margin: 0 1rem 0rem 1rem;  }  .navbar-brand .navbar-item:hover { | 
