mirror of
https://github.com/hotomoe/hotomoe
synced 2024-12-12 13:48:12 +09:00
wip
This commit is contained in:
parent
f4bf824e79
commit
d1dce76e28
@ -8,12 +8,4 @@
|
||||
|
||||
html
|
||||
height 100%
|
||||
background #ececed !important
|
||||
|
||||
&[data-darkmode]
|
||||
background #191B22 !important
|
||||
|
||||
body
|
||||
display flex
|
||||
flex-direction column
|
||||
min-height 100%
|
||||
background var(--bg)
|
||||
|
@ -226,8 +226,8 @@ root(isDark)
|
||||
|
||||
.announcements
|
||||
> article
|
||||
background isDark ? rgba(30, 129, 216, 0.2) : rgba(155, 196, 232, 0.2)
|
||||
color isDark ? #fff : #3f4967
|
||||
background var(--mobileAnnouncement)
|
||||
color var(--mobileAnnouncementFg)
|
||||
padding 16px
|
||||
margin 8px 0
|
||||
font-size 12px
|
||||
|
@ -3,7 +3,7 @@
|
||||
<div class="banner" :style="{ backgroundImage: banner ? `url(${banner})` : null }"></div>
|
||||
|
||||
<div>
|
||||
<img :src="$store.state.device.darkmode ? 'assets/title.dark.svg' : 'assets/title.light.svg'" :alt="name">
|
||||
<img svg-inline src="../../../../assets/title.svg" :alt="name">
|
||||
<p class="host">{{ host }}</p>
|
||||
<div class="about">
|
||||
<h2>{{ name }}</h2>
|
||||
@ -144,16 +144,17 @@ root(isDark)
|
||||
left 0
|
||||
width 100%
|
||||
height 100px
|
||||
background linear-gradient(transparent, isDark ? #191b22 : #f7f7f7)
|
||||
background linear-gradient(transparent, var(--bg))
|
||||
|
||||
> div:not(.banner)
|
||||
padding 32px
|
||||
margin 0 auto
|
||||
max-width 500px
|
||||
|
||||
> img
|
||||
> svg
|
||||
display block
|
||||
max-width 200px
|
||||
width 200px
|
||||
height 50px
|
||||
margin 0 auto
|
||||
|
||||
> .host
|
||||
@ -169,8 +170,8 @@ root(isDark)
|
||||
> .about
|
||||
margin-top 16px
|
||||
padding 16px
|
||||
color #555
|
||||
background #fff
|
||||
color var(--text)
|
||||
background var(--face)
|
||||
border-radius 6px
|
||||
|
||||
> h2
|
||||
@ -238,7 +239,7 @@ root(isDark)
|
||||
margin 16px 0
|
||||
padding 8px
|
||||
font-size 14px
|
||||
color #444
|
||||
color var(--text)
|
||||
background rgba(#000, 0.1)
|
||||
border-radius 6px
|
||||
|
||||
@ -249,9 +250,9 @@ root(isDark)
|
||||
margin 16px 0
|
||||
|
||||
> article
|
||||
background isDark ? rgba(30, 129, 216, 0.2) : rgba(155, 196, 232, 0.2)
|
||||
background var(--mobileAnnouncement)
|
||||
border-radius 6px
|
||||
color isDark ? #fff : #3f4967
|
||||
color var(--mobileAnnouncementFg)
|
||||
padding 16px
|
||||
margin 8px 0
|
||||
font-size 12px
|
||||
@ -263,10 +264,10 @@ root(isDark)
|
||||
margin 16px 0
|
||||
padding 32px
|
||||
font-size 14px
|
||||
background #fff
|
||||
background var(--face)
|
||||
border-radius 6px
|
||||
overflow hidden
|
||||
color #3a3e46
|
||||
color var(--text)
|
||||
|
||||
> h1
|
||||
margin 0
|
||||
@ -279,12 +280,12 @@ root(isDark)
|
||||
|
||||
> section
|
||||
> h2
|
||||
border-bottom 1px solid isDark ? rgba(#000, 0.2) : rgba(#000, 0.05)
|
||||
border-bottom 1px solid var(--faceDivider)
|
||||
|
||||
> section
|
||||
margin-bottom 16px
|
||||
padding-bottom 16px
|
||||
border-bottom 1px solid isDark ? rgba(#000, 0.2) : rgba(#000, 0.05)
|
||||
border-bottom 1px solid var(--faceDivider)
|
||||
|
||||
> h3
|
||||
margin-bottom 8px
|
||||
@ -301,7 +302,7 @@ root(isDark)
|
||||
|
||||
> .info
|
||||
padding 16px 0
|
||||
border solid 2px #ddd
|
||||
border solid 2px rgba(0, 0, 0, 0.1)
|
||||
border-radius 8px
|
||||
|
||||
> *
|
||||
@ -309,7 +310,7 @@ root(isDark)
|
||||
|
||||
> footer
|
||||
text-align center
|
||||
color #444
|
||||
color var(--text)
|
||||
|
||||
> small
|
||||
display block
|
||||
|
@ -120,6 +120,8 @@
|
||||
"desktopSettingsNavItem": ":alpha<0.8<$text",
|
||||
"desktopSettingsNavItemHover": ":lighten<10<$text",
|
||||
|
||||
"mobileAnnouncement": "rgba(30, 129, 216, 0.2)",
|
||||
"mobileAnnouncementFg": "#fff",
|
||||
"mobileSignedInAsBg": "#273c34",
|
||||
"mobileSignedInAsFg": "#49ab63",
|
||||
"mobileSignoutBg": "#652222",
|
||||
|
@ -120,6 +120,8 @@
|
||||
"desktopSettingsNavItem": ":alpha<0.8<$text",
|
||||
"desktopSettingsNavItemHover": ":darken<10<$text",
|
||||
|
||||
"mobileAnnouncement": "rgba(155, 196, 232, 0.2)",
|
||||
"mobileAnnouncementFg": "#3f4967",
|
||||
"mobileSignedInAsBg": "#fcfff5",
|
||||
"mobileSignedInAsFg": "#2c662d",
|
||||
"mobileSignoutBg": "#fff6f5",
|
||||
|
Loading…
Reference in New Issue
Block a user