diff --git a/archivist/apps/templates/sites/twitter/partials/site-btn-overlay.html b/archivist/apps/templates/sites/twitter/partials/site-btn-overlay.html new file mode 100644 index 0000000..9bba89a --- /dev/null +++ b/archivist/apps/templates/sites/twitter/partials/site-btn-overlay.html @@ -0,0 +1,11 @@ + +{% load static %} + + + {% if category == "twitter" %} + {{ category }} + {% else %} + {{ category|capfirst }} + + {% endif %} + diff --git a/archivist/static/css/main.css b/archivist/static/css/main.css index f5e6099..7e35a7f 100644 --- a/archivist/static/css/main.css +++ b/archivist/static/css/main.css @@ -242,6 +242,34 @@ text-decoration: underline; } +/*================================================================= + Site icon overlay on gallery +=================================================================*/ + +.site-btn-overlay { + position: absolute; + z-index: 2; + right: 0; + top: 0; + font-size: 13px; + font-weight: 700; + line-height: 14px; + letter-spacing: .5px; + width: 30px; + color: #232326; + background-color: #414141; + border: 1.25px solid #232326; + border-radius: 0 1vmin 0 1vmin; + white-space: nowrap; + padding: 4px 4px 5px; + margin: 0 0 0 1px; + cursor: pointer; + opacity: .8; +} + +.site-btn-overlay img { + height: 16px; +} /*=================================================================