소스 검색

Support for [fixed-center] moes

Vijayakrishnan 4 년 전
부모
커밋
8aefd9ed7e
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      public/css/yemi.css

+ 6 - 0
public/css/yemi.css

@@ -14,6 +14,12 @@
     padding: 10px;
     border: 1px solid gray;
 }
+[moe][fixed-center] [url]:not([show]) {
+    position: fixed !important;
+    top: 50% !important;
+    left: 50% !important;
+    transform: translate(-50%, -50%) !important;
+}
 [moe] [url][right] {
     right: 0;
     min-width: 200px;