diff options
author | gumi <git@gumi.ca> | 2019-07-25 20:07:30 -0400 |
---|---|---|
committer | gumi <git@gumi.ca> | 2019-07-25 20:07:30 -0400 |
commit | 144b769ddf07a7353cdb82da4468e3eda4c75079 (patch) | |
tree | 853796d00cfdd15f87cf23a65c33d320391481e0 | |
parent | 2d33eee26f58e6d15d6e67436f75eea3b9c2a4d3 (diff) | |
download | website-144b769ddf07a7353cdb82da4468e3eda4c75079.tar.gz website-144b769ddf07a7353cdb82da4468e3eda4c75079.tar.bz2 website-144b769ddf07a7353cdb82da4468e3eda4c75079.tar.xz website-144b769ddf07a7353cdb82da4468e3eda4c75079.zip |
align news entries with the rest of the content
-rw-r--r-- | src/components/Logo.vue | 6 | ||||
-rw-r--r-- | src/components/News.vue | 7 |
2 files changed, 12 insertions, 1 deletions
diff --git a/src/components/Logo.vue b/src/components/Logo.vue index 3d0bd8f..e3fa27f 100644 --- a/src/components/Logo.vue +++ b/src/components/Logo.vue @@ -9,6 +9,7 @@ <style scoped> @font-face { font-family: "Albertus TMW"; + font-display: swap; src: url("../assets/fonts/AlbertusTMW.eot"); src: url("../assets/fonts/AlbertusTMW.woff2") format("woff2"), url("../assets/fonts/AlbertusTMW.woff") format("woff"), @@ -21,7 +22,6 @@ background-size: 12vw 12vw; padding: 2vw 0 0 12vw; font-family: "Albertus TMW", "Arial Black", "Times New Roman", fantasy; - font-display: swap; font-size: 7vw; text-shadow: 0.03ch 0.07ch #070905; color: #34B039; @@ -46,6 +46,10 @@ position: relative; text-shadow: 0.05ch 0.09ch #070905; + &::selection { + text-shadow: none; + } + & span:first-of-type { position: absolute; left: 125px; diff --git a/src/components/News.vue b/src/components/News.vue index 5e2b598..a24209a 100644 --- a/src/components/News.vue +++ b/src/components/News.vue @@ -61,6 +61,13 @@ } } } + +@media (min-width: 1100px) { + .news .entry { + padding-left: 30px; + padding-right: 40px; + } +} </style> <script lang="ts"> |