"Şablon:Overlayimg/styles.css" sayfasının sürümleri arasındaki fark

Stardew Valley Wiki sitesinden
Gezinti kısmına atla Arama kısmına atla
("→‎Missing width & height: .parent {position: relative; top: 0; left: 0;} →‎.parent img {margin: 0 auto;}: .backimage {position: relative; top: 0; left:..." içeriğiyle yeni sayfa oluşturdu)
 
(new)
 
(Aynı kullanıcının aradaki diğer 13 değişikliği gösterilmiyor)
1. satır: 1. satır:
/* Missing width & height */
+
.parent,
.parent {position: relative; top: 0; left: 0;}
+
.backimage,
/* .parent img {margin: 0 auto;} */
+
.backimagetransparent {
 +
  position: relative;
 +
  top: 0;
 +
  left: 0;
 +
}
  
.backimage {position: relative; top: 0; left: 0; background-color: rgba(0,255,0,0.5);}
+
.backimage img,
.backimagetransparent {position: relative; top: 0; left: 0; background-color: rgba(0,255,0,0.3);}
+
.foreimage img,
.backimage img {display: block;}
+
.backimagetransparent img {
.backimagetransparent img {display: block; opacity: 0.7;}
+
  display: block;
 +
}
  
/* Must account for td's padding if in a table cell */
+
.backimagetransparent img {
/* Could set top to 0, but then 48x96 images display wrong */
+
  opacity: 0.6;
.foreimage {position: absolute; bottom: 0; left: 0;}
+
}
.foreimage img {display: block;}
+
 
 +
.foreimage {
 +
  position: absolute;
 +
  bottom: 0;
 +
  right: 0;
 +
}
 +
 
 +
/* [[Category:Şablon]] */

21.34, 9 Şubat 2023 itibarı ile sayfanın şu anki hâli

.parent,
.backimage,
.backimagetransparent {
   position: relative;
   top: 0;
   left: 0;
}

.backimage img,
.foreimage img,
.backimagetransparent img {
   display: block;
}

.backimagetransparent img {
   opacity: 0.6;
}

.foreimage {
   position: absolute;
   bottom: 0;
   right: 0;
}

/* [[Category:Şablon]] */