From 17a94934e9a0514e8719f431e74c854f8a742419 Mon Sep 17 00:00:00 2001 From: flashwave Date: Mon, 14 Nov 2016 00:29:31 +0100 Subject: [PATCH] prefer segoe ui again --- resources/assets/less/yuuno/base.less | 4 +++- resources/assets/less/yuuno/bem/alert.less | 2 +- resources/assets/less/yuuno/bem/comment.less | 2 +- resources/assets/less/yuuno/bem/dialogue.less | 4 ++-- resources/assets/less/yuuno/bem/dropdown.less | 2 +- resources/assets/less/yuuno/bem/header-login.less | 2 +- resources/assets/less/yuuno/bem/header.less | 2 +- resources/assets/less/yuuno/bem/news.less | 2 +- resources/assets/less/yuuno/bem/post.less | 2 +- 9 files changed, 12 insertions(+), 10 deletions(-) diff --git a/resources/assets/less/yuuno/base.less b/resources/assets/less/yuuno/base.less index 1135ee5..51c4182 100644 --- a/resources/assets/less/yuuno/base.less +++ b/resources/assets/less/yuuno/base.less @@ -1,3 +1,5 @@ +@cute-font: "Segoe UI", "Open Sans", sans-serif; + * { margin: 0; padding: 0; @@ -23,7 +25,7 @@ h3, h4, h5, h6 { - font-family: "Open Sans", sans-serif; + font-family: @cute-font; font-weight: 100; margin: 5px 0; } diff --git a/resources/assets/less/yuuno/bem/alert.less b/resources/assets/less/yuuno/bem/alert.less index bc3a6b1..56d57f1 100644 --- a/resources/assets/less/yuuno/bem/alert.less +++ b/resources/assets/less/yuuno/bem/alert.less @@ -3,7 +3,7 @@ bottom: 5px; right: 5px; z-index: 3; - font-family: "Open Sans", sans-serif; + font-family: @cute-font; overflow-y: auto; overflow-x: hidden; max-height: 100%; diff --git a/resources/assets/less/yuuno/bem/comment.less b/resources/assets/less/yuuno/bem/comment.less index 7339569..abf82ab 100644 --- a/resources/assets/less/yuuno/bem/comment.less +++ b/resources/assets/less/yuuno/bem/comment.less @@ -9,7 +9,7 @@ .comment { display: flex; align-items: stretch; - font-family: "Open Sans", sans-serif; + font-family: @cute-font; &__avatar { width: 40px; diff --git a/resources/assets/less/yuuno/bem/dialogue.less b/resources/assets/less/yuuno/bem/dialogue.less index ab1add4..516aa1b 100644 --- a/resources/assets/less/yuuno/bem/dialogue.less +++ b/resources/assets/less/yuuno/bem/dialogue.less @@ -12,7 +12,7 @@ } .dialogue { - font-family: "Open Sans", sans-serif; + font-family: @cute-font; display: inline-block; background: #9475b2; box-shadow: 0 0 5px #9475B2; @@ -25,7 +25,7 @@ } &__button { - font-family: "Open Sans", sans-serif; + font-family: @cute-font; background: #8364a1; border: 0 solid transparent; padding: 2px 4px; diff --git a/resources/assets/less/yuuno/bem/dropdown.less b/resources/assets/less/yuuno/bem/dropdown.less index 0de79ce..635f914 100644 --- a/resources/assets/less/yuuno/bem/dropdown.less +++ b/resources/assets/less/yuuno/bem/dropdown.less @@ -4,7 +4,7 @@ color: #fff; min-width: 200px; border: 2px solid #9475B2; - font-family: "Open Sans", sans-serif; + font-family: @cute-font; text-align: left; z-index: 999; margin: 0 2px; diff --git a/resources/assets/less/yuuno/bem/header-login.less b/resources/assets/less/yuuno/bem/header-login.less index 6740bce..d76aaba 100644 --- a/resources/assets/less/yuuno/bem/header-login.less +++ b/resources/assets/less/yuuno/bem/header-login.less @@ -19,7 +19,7 @@ } &__label { - font-family: "Open Sans", sans-serif; + font-family: @cute-font; font-weight: 100; font-size: 15px; } diff --git a/resources/assets/less/yuuno/bem/header.less b/resources/assets/less/yuuno/bem/header.less index 854a298..c33abd7 100644 --- a/resources/assets/less/yuuno/bem/header.less +++ b/resources/assets/less/yuuno/bem/header.less @@ -8,7 +8,7 @@ height: auto; width: auto; display: inline-block; - font: 100 70px/80px "Open Sans", sans-serif; + font: 100 70px/80px @cute-font; color: #B06AC4; text-decoration: none !important; transition: color .2s, text-shadow .2s; diff --git a/resources/assets/less/yuuno/bem/news.less b/resources/assets/less/yuuno/bem/news.less index fe4228f..b2891bd 100644 --- a/resources/assets/less/yuuno/bem/news.less +++ b/resources/assets/less/yuuno/bem/news.less @@ -51,7 +51,7 @@ &__username { font-size: 20px; line-height: 22px; - font-family: "Open Sans", sans-serif; + font-family: @cute-font; @media (max-width: 400px) { margin-top: 22px; diff --git a/resources/assets/less/yuuno/bem/post.less b/resources/assets/less/yuuno/bem/post.less index 0876195..0b8b3ed 100644 --- a/resources/assets/less/yuuno/bem/post.less +++ b/resources/assets/less/yuuno/bem/post.less @@ -41,7 +41,7 @@ } &__username { - font-family: "Open Sans", sans-serif; + font-family: @cute-font; font-size: 1.5em; &--deleted {