Mudanças entre as edições de "Widget:Teste2"

De Wiki Gla
Ir para navegação Ir para pesquisar
m
 
(14 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 1: Linha 1:
<style>
<style>
.infobox-boss {
body::before {
  float: right;
content: '';
  width: 260px;
position: fixed;
  background: #1c1c1c;
top: 0;
  border: 1px solid #333;
left: 0;
  border-radius: 10px;
width: 100%;
  overflow: hidden;
height: 100vh;
  font-family: sans-serif;
background: url('https://wiki.gla.com.br/images/b/b3/Testefundo.png') no-repeat;
  color: #eee;
filter: brightness(0.6);
  margin: 0 0 20px 20px;
    
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
background-attachment: fixed;
}
background-position: center;
 
background-repeat: no-repeat;
.infobox-image img {
background-size: cover;
  width: 100%;
z-index: -1;
  display: block;
  border-bottom: 1px solid #333;
}
 
.infobox-content {
  padding: 10px;
}
 
.infobox-title {
   font-size: 20px;
  margin-bottom: 10px;
  text-align: center;
  color: #ffc107;
}
 
.infobox-item {
  font-size: 14px;
  margin-bottom: 8px;
}
}
</style>
</style>
<div class="infobox-boss">
  <div class="infobox-image">
    <img src="{{@imagem}}" alt="{{@nome}}">
  </div>
  <div class="infobox-content">
    <h2 class="infobox-title">{{@nome}}</h2>
    <div class="infobox-item"><strong>Nível:</strong> {{@nivel}}</div>
    <div class="infobox-item"><strong>Localização:</strong> {{@localizacao}}</div>
    <div class="infobox-item"><strong>Drop:</strong> {{@drop}}</div>
  </div>
</div>

Edição atual tal como às 23h19min de 29 de agosto de 2025

<style>

body::before {

content: ; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: url('https://wiki.gla.com.br/images/b/b3/Testefundo.png') no-repeat; filter: brightness(0.6);

background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; z-index: -1; } </style>