diff --git a/res/main.less b/res/main.less index 2b53c2e..a737f0a 100644 --- a/res/main.less +++ b/res/main.less @@ -19,6 +19,15 @@ } } +._in_brackets { + &:after { + content: ")"; + } + &:before { + content: "("; + } +} + // do I need this @ lexonomy? // .elm-div { // clear: both; @@ -43,6 +52,13 @@ font-style: italic; margin-left: 1em; } + + #measure:not(:empty) { + color: @gray; + margin-left: 0.5em; + + ._in_brackets(); + } } #entry-buttons { @@ -70,12 +86,7 @@ margin-left: 0.4em; ._hoverable(); - &:after { - content: ")"; - } - &:before { - content: "("; - } + ._in_brackets(); } .sense-label-list { @@ -86,6 +97,10 @@ .sense-label + .sense-label:before { content: ", "; } + + &:empty:before { + content: "🍵"; + } } .translation-div-cluster + .translation-div-cluster:before {