diff options
| author | Eltrac <hi@guhub.cn> | 2025-09-15 10:10:29 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-09-15 10:10:29 +0800 |
| commit | 4cb9d21fb8860d3401db5d94d30c309385599a2e (patch) | |
| tree | 08bd2cb39bc2602fec302c78f3990edfd11a93b1 /src/libo.css | |
initial commit
Diffstat (limited to 'src/libo.css')
| -rw-r--r-- | src/libo.css | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/libo.css b/src/libo.css new file mode 100644 index 0000000..f495ed1 --- /dev/null +++ b/src/libo.css @@ -0,0 +1,30 @@ +.libo-overlay { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: #fff; + transition: opacity 0.3s ease-in-out; + + display: flex; + justify-content: center; + align-items: center; +} + +.libo-shadow { + position: absolute; + transition-duration: 0.3s; + transition-property: transform; + display: block; +} + +.libo-shadow.zoomed { + position: static; + margin: 0 auto; + max-width: 100%; + width: auto; + height: auto; + + box-shadow: 0 0 1rem rgba(0, 0, 0, 0.3); +} |
