generated from obsidianmd/obsidian-sample-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
76 lines (66 loc) · 1.43 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
.redirect-suggester-el {
position: relative;
width: 100%;
margin-left: 0.5em;
}
.redirect-suggester-el * {
display: inline-block;
}
.redirect-suggestion-text {
margin-right: 3em;
}
.redirect-item {
font-size: smaller;
clear: left;
display: block;
color: var(--text-muted);
}
.redirect-suggestion-image-container-small {
width: 2em;
height: 2em;
overflow: hidden;
position: absolute;
right: 1em;
top: 0.5em;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.redirect-suggestion-image-container .redirect-suggestion-image-large {
z-index: 10;
max-width: 100%;
width: auto;
max-height: 50vh;
overflow: scroll;
/* Center the image on the screen: */
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
transition: all 0.3s ease-in-out;
box-shadow: 0.1em 1em 2em 0.5em var(--background-modifier-cover);
visibility: hidden;
opacity: 0;
z-index: 1000;
transition-delay: 0.2s;
}
.redirect-suggestion-image-container:hover .redirect-suggestion-image-large {
visibility: visible;
opacity: 1.0;
transition: all 0.3s ease-in-out;
transition-delay: 0.3s;
background: white;
}
.redirect-is-alias {
color: var(--text-muted);
font-weight: bold;
/* margin-left: -1em;
margin-right: 1em;
*/ position: absolute;
left: -1em;
transform: scale(1, -1);
font-size: larger;
}
.is-mobile .redirect-is-alias {
position: unset;
}