font and size

This commit is contained in:
2025-07-30 13:38:37 +02:00
parent 31b5613552
commit 0b835c4a23
5 changed files with 9 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
<!-- <!--
* @Author: Uyanide pywang0608@foxmail.com * @Author: Uyanide pywang0608@foxmail.com
* @Date: 2025-06-24 17:56:20 * @Date: 2025-06-24 17:56:20
* @LastEditTime: 2025-07-30 13:00:43 * @LastEditTime: 2025-07-30 13:34:36
* @Discription: * @Discription:
--> -->
@@ -51,6 +51,7 @@ including:
- MesloLGM Nerd Font (& Mono) - MesloLGM Nerd Font (& Mono)
- Maple Mono NF CN - Maple Mono NF CN
- WenQuanYi Micro Hei
- Sour Gummy - Sour Gummy
- Noto Sans - Noto Sans
- ... - ...

View File

@@ -27,7 +27,7 @@
.lyrics-box-single { .lyrics-box-single {
margin: 5px 0px 5px 10px; margin: 5px 0px 5px 10px;
min-width: 740px; min-width: 743px;
} }
.lyrics-text { .lyrics-text {
@@ -40,7 +40,7 @@
color: $fg; color: $fg;
font-size: 15px; font-size: 15px;
font-family: 'Maple Mono NF CN', 'Maple Mono CN', monospace; font-family: 'Maple Mono NF CN', 'Maple Mono CN', monospace;
min-height: 29px; min-height: 31px;
} }
.control-box { .control-box {

View File

@@ -90,6 +90,6 @@
:windowtype "normal" :windowtype "normal"
:wm-ignore true :wm-ignore true
:monitor 0 :monitor 0
:geometry (geometry :x 1100 :y -49) :geometry (geometry :x 1092 :y -51)
(lyrics-single) (lyrics-single)
) )

View File

@@ -137,9 +137,9 @@ class PlayerManager:
if track_info: if track_info:
if player.props.status == "Playing": if player.props.status == "Playing":
track_info = " " + track_info track_info = "" + track_info
else: else:
track_info = " " + track_info track_info = "" + track_info
# only print output if no other player is playing # only print output if no other player is playing
current_playing = self.get_first_playing_player() current_playing = self.get_first_playing_player()
if ( if (

View File

@@ -1,10 +1,9 @@
@import 'mocha.css'; @import 'mocha.css';
* { * {
/* main font icons Chinese/Japanese/... Fallback */ /* main font icons CJK Fallback */
font-family: 'Sour Gummy Light', 'Meslo LGM Nerd Font Mono', 'Maple Mono NF CN ExtraLight', 'Noto Sans', sans-serif; font-family: 'Sour Gummy Light', 'Meslo LGM Nerd Font Mono', 'WenQuanYi Micro Hei', 'Noto Sans', sans-serif;
font-size: 16px; font-size: 16px;
font-weight: 900;
margin: 0; margin: 0;
padding: 0; padding: 0;
transition-property: background-color; transition-property: background-color;