Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Lednerb/bilberry-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/sass/_articles.scss')
-rw-r--r--assets/sass/_articles.scss28
1 files changed, 28 insertions, 0 deletions
diff --git a/assets/sass/_articles.scss b/assets/sass/_articles.scss
index 6606c79..64910c0 100644
--- a/assets/sass/_articles.scss
+++ b/assets/sass/_articles.scss
@@ -322,6 +322,34 @@ article {
height: 0;
overflow: hidden;
+ a {
+ line-height: 0;
+ display: block;
+ }
+
+ img {
+ width: 100%;
+ }
+
+ .overlay {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background: rgba(#000000, 0.25);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ color: $base-color;
+ font-size: 45pt;
+ cursor: pointer;
+
+ &:hover {
+ color: $page-background-color;
+ }
+ }
+
iframe {
position: absolute;
top: 0;