diff --git a/source/scss/components/_page-main.scss b/source/scss/components/_page-main.scss index 71c98a0..09fa5e6 100644 --- a/source/scss/components/_page-main.scss +++ b/source/scss/components/_page-main.scss @@ -20,10 +20,19 @@ background-color: var(--background-1); border: 2px solid var(--foreground-1); padding: 1rem; + position: relative; &:hover { background-color: var(--foreground-1); } + + &::before { + content: attr(data-label); + font-size: 50%; + position: absolute; + right: 4px; + top: 4px; + } } } } diff --git a/source/templates/index.html b/source/templates/index.html index 1a09ad5..b17196e 100644 --- a/source/templates/index.html +++ b/source/templates/index.html @@ -11,11 +11,13 @@