mirror of https://github.com/onweru/compose.git

weru
31.19.2021 8b7a60cd0b89d208cd3348f34c9bf1987a59c30e
edit styles
3 files modified
17 ■■■■■ changed files
assets/sass/_base.sass 11 ●●●●● patch | view | raw | blame | history
assets/sass/_components.sass 4 ●●●● patch | view | raw | blame | history
assets/sass/_variables.sass 2 ●●● patch | view | raw | blame | history
assets/sass/_base.sass
@@ -13,7 +13,7 @@
  font-family: var(--font)
  background-color: var(--bg)
  color: var(--text)
  font-size: 16px
  font-size: 18px
  line-height: 1.5
  max-width: 1440px
  margin: 0 auto
@@ -31,6 +31,7 @@
  color: inherit
p
  padding: 1rem 0
  // opacity: 0.9
  &:empty
    display: none
li
@@ -49,9 +50,12 @@
  background-size: 5rem
  background-position: 50% 50%
  position: relative
  background-color: var(--accent)
  border-radius: 0.25rem
  overflow: hidden
  &::before
    content: ""
    padding: 1px
    padding: 2px
    position: absolute
    top: 0
    bottom: 0
@@ -59,10 +63,9 @@
    background: var(--theme)
  p
    padding-left: 0.5rem 0 !important
    padding-left: 0.5rem !important
    font-size: 1.1rem !important
    width: 100%
    font-weight: 300
    font-style: italic
h1,h2,h3,h4,h5
assets/sass/_components.sass
@@ -34,8 +34,8 @@
    box-shadow: 0 1rem 4rem rgba(0,0,0,0.17)
    font-size: 1rem
  &_label
    width: 1.25rem
    height: 1.25rem
    width: 1rem
    height: 1rem
    position: absolute
    left: 0.33rem
    top: 0.25rem
assets/sass/_variables.sass
@@ -33,7 +33,7 @@
        &::after
          transform: translateX(1.75rem) scale(1.67)
      &_icon
        transform: translateX(1.75rem) translateY(-50%)
        transform: translateX(1.75rem) translateY(-50%) scale(1.1)
  &.dark:not([data-mode="light"])
    @media (prefers-color-scheme: dark)