Przeglądaj źródła

New style of .tag

soyjavi 13 lat temu
rodzic
commit
dd77b66b8f

+ 3 - 3
src/stylesheets/lungo.widget.styl

@@ -67,14 +67,14 @@
 
 /* ================================  TAG  ================================ */
 .tag
-  SIZE = 20px
+  SIZE = 16px
   font-size: FONT_SIZE_TINY
-  min-width: SIZE
+  min-width: SIZE + 1
   height: SIZE
   line-height: SIZE !important
   text-align: center
   z-index: 1
-  display: inline-block
+  display: inline-block !important
 
 
 /* ================================  .LAYOUT  ================================ */

+ 4 - 2
src/stylesheets/theme/theme.widget.styl

@@ -10,10 +10,12 @@
 /* =================================  TAG  ================================= */
 .tag:not(.icon)
   color: #fff
-  font-weight: 400
+  font-weight: bold
+  text-shadow: 0 1px rgba(0,0,0,0.25)
   &.count
-    border-radius 1em
+    border-radius 0.3em
     background-color: DANGER
+    box-shadow 0 0 1px rgba(0,0,0,0.25)
 
 /* =================================  PULL  =============================== */
 body > section > [data-control="pull"]