From ae80314f85d14dc62f47995641c71606b73d4ede Mon Sep 17 00:00:00 2001 From: ache Date: Sun, 1 Nov 2020 20:17:56 +0100 Subject: CSS Pubdate --- src/css/_contenu.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src') diff --git a/src/css/_contenu.scss b/src/css/_contenu.scss index 80dc221..54d2990 100755 --- a/src/css/_contenu.scss +++ b/src/css/_contenu.scss @@ -9,7 +9,18 @@ article { padding-left: 0; padding: 1.6em 1.6em; font-family: Merriweather, "Liberation Serif", "Segoe UI"; + position: relative; + .pubdate { + position: absolute; + top: 0; + right: 0; + padding: 55px 10px; + transform: rotate(20deg); + text-shadow: 1px 1px 0.2px green; + color: pink; + text-align: right; + } code { color: #a00; background: #eee; -- cgit v1.2.3