Sfoglia il codice sorgente

Support for [fixed-center] moes

Vijayakrishnan 4 anni fa
parent
commit
8aefd9ed7e
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  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;