Mais ações
Sem resumo de edição |
Sem resumo de edição |
||
| (86 revisões intermediárias pelo mesmo usuário não estão sendo mostradas) | |||
| Linha 1: | Linha 1: | ||
/* Estrutura Base */ | |||
.IntroCard { | .IntroCard { | ||
position: relative; | |||
height: | float:left; | ||
width: | min-height: 700px; | ||
width: 465px; | |||
color: #2b282c; | color: #2b282c; | ||
margin: 15px 15px 15px 0; | |||
} | } | ||
*, :after, :before { | *, :after, :before { | ||
box-sizing: border-box; | |||
} | } | ||
div { | div { | ||
display: block; | |||
} | } | ||
.IntroCard:before { | .IntroCard:before { | ||
content: ""; | |||
display: block; | display: block; | ||
position: absolute; | position: absolute; | ||
| Linha 19: | Linha 22: | ||
bottom: 0; | bottom: 0; | ||
left: 0; | left: 0; | ||
background-color: # | background-color: #cecbc5; | ||
border-radius: 15px; | |||
border: 1px solid #897051; | |||
} | } | ||
.OutlineFrame { | .OutlineFrame { | ||
position: relative; | |||
height: | min-height: 700px; | ||
} | } | ||
.IntroCard-content { | .IntroCard-content { | ||
position: relative; | |||
text-align: center; | /*text-align: center;*/ | ||
} | } | ||
@media (min-width: 1024px) { | |||
.IntroCard-figure { | |||
position: relative; | |||
overflow: hidden; | |||
} | |||
} | } | ||
.IntroCard-figure { | .IntroCard-figure { | ||
position: relative; | |||
width: 100%; | width: 100%; | ||
overflow: hidden; | overflow: hidden; | ||
height: 280px; | |||
} | } | ||
.IntroCard-figure{ | |||
margin: 0; | |||
.IntroCard-figure | |||
} | } | ||
@media (min-width: 1024px) { | |||
.IntroCard-figure:before { | |||
content: ""; | |||
display: block; | |||
padding-top: 0; | |||
} | |||
} | } | ||
.IntroCard-figure:before { | .IntroCard-figure:before { | ||
content: ""; | |||
display: block; | display: block; | ||
padding-top: | padding-top: 0; | ||
} | } | ||
.IntroCard-image { | .IntroCard-image { | ||
height: 100%; | |||
width: 100%; | width: 100%; | ||
position: absolute; | position: absolute; | ||
| Linha 64: | Linha 70: | ||
object-position: 50% 0; | object-position: 50% 0; | ||
} | } | ||
img { | .IntroCard-image img { | ||
border-style: none; | |||
border-radius: 15px 15px 0 0; | |||
} | } | ||
.IntroCard-figure:after { | .IntroCard-figure:after { | ||
content: ""; | |||
display: block; | display: block; | ||
position: absolute; | position: absolute; | ||
| Linha 75: | Linha 82: | ||
width: 100%; | width: 100%; | ||
height: 40%; | height: 40%; | ||
} | } | ||
.topleft{ | |||
position: absolute; | |||
bottom: 0; | |||
left: 24px; | |||
font-size: 18px; | |||
color: #FFF; | |||
padding: 5px; | |||
background: #897051; | |||
} | } | ||
/* Borda Personalizada */ | |||
.OutlineFrame .OutlineFrame-ext { | |||
overflow: hidden; | |||
.OutlineFrame | |||
position: absolute; | position: absolute; | ||
top: 0. | top: 0.5rem; | ||
bottom: | bottom: 0.85rem; | ||
left: | left: 0.5rem; | ||
right: | right: 0.5rem; | ||
color: #99664d; | color: #99664d; | ||
font-size: | font-size: 2rem; | ||
pointer-events: none; | pointer-events: none; | ||
} | } | ||
.OutlineFrame | .OutlineFrame .OutlineFrame-ext:before { | ||
position: absolute; | |||
top: 1em; | top: 1em; | ||
bottom: 0; | bottom: 0; | ||
| Linha 129: | Linha 115: | ||
content: ""; | content: ""; | ||
} | } | ||
.OutlineFrame | .OutlineFrame .OutlineFrame-circles { | ||
position: absolute; | |||
height: 1em; | height: 1em; | ||
top: 0; | top: 0; | ||
| Linha 136: | Linha 122: | ||
right: 0; | right: 0; | ||
} | } | ||
.OutlineFrame | .OutlineFrame .OutlineFrame-circles:before { | ||
left: 0.2em; | |||
} | } | ||
.OutlineFrame | .OutlineFrame .OutlineFrame-circles:before, | ||
.OutlineFrame .OutlineFrame-circles:after { | |||
position: absolute; | |||
height: 0.15em; | height: 0.15em; | ||
width: 0.15em; | width: 0.15em; | ||
| Linha 148: | Linha 135: | ||
content: ""; | content: ""; | ||
} | } | ||
.OutlineFrame | .OutlineFrame .OutlineFrame-circles:after { | ||
right: 0.2em; | |||
} | } | ||
.OutlineFrame | .OutlineFrame .OutlineFrame-cutOuts { | ||
display: block; | |||
height: 1em; | height: 1em; | ||
position: relative; | position: relative; | ||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
.OutlineFrame | .OutlineFrame .OutlineFrame-cutOuts:before { | ||
left: -1em; | |||
} | } | ||
.OutlineFrame | .OutlineFrame .OutlineFrame-cutOuts:before, | ||
.OutlineFrame .OutlineFrame-cutOuts:after { | |||
position: absolute; | position: absolute; | ||
top: -1em; | top: -1em; | ||
| Linha 169: | Linha 157: | ||
content: ""; | content: ""; | ||
} | } | ||
.OutlineFrame | .OutlineFrame .OutlineFrame-cutOuts:after { | ||
right: -1em; | |||
} | } | ||
.OutlineFrame | .OutlineFrame .OutlineFrame-topCut { | ||
position: absolute; | |||
top: 0; | top: 0; | ||
left: 1em; | left: 1em; | ||
| Linha 181: | Linha 169: | ||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
.OutlineFrame | .OutlineFrame .OutlineFrame-topCut:before { | ||
left: 0; | |||
} | } | ||
.OutlineFrame | .OutlineFrame .OutlineFrame-topCut:before, | ||
.OutlineFrame .OutlineFrame-topCut:after { | |||
position: absolute; | |||
background: currentColor; | background: currentColor; | ||
height: 0.1rem; | height: 0.1rem; | ||
| Linha 191: | Linha 180: | ||
content: ""; | content: ""; | ||
} | } | ||
.OutlineFrame | .OutlineFrame .OutlineFrame-topCut:after { | ||
right: 0; | |||
} | } | ||
.OutlineFrame | .OutlineFrame .OutlineFrame-cut { | ||
position: absolute; | |||
top: -0.2em; | top: -0.2em; | ||
left: 50%; | left: 50%; | ||
| Linha 203: | Linha 192: | ||
height: 0.4em; | height: 0.4em; | ||
} | } | ||
.OutlineFrame | .OutlineFrame .OutlineFrame-cut:before { | ||
position: absolute; | |||
top: 0; | top: 0; | ||
bottom: 0; | bottom: 0; | ||
| Linha 213: | Linha 202: | ||
content: ""; | content: ""; | ||
} | } | ||
.OutlineFrame | .OutlineFrame .OutlineFrame-ext.isDark { | ||
top: 0.85rem; | |||
bottom: 0. | bottom: 0.55rem; | ||
left: | left: 0.85rem; | ||
right: | right: 0.85rem; | ||
color: #68482c; | color: #68482c; | ||
font-size: | font-size: 1.1rem; | ||
} | } | ||
.OutlineFrame | .OutlineFrame .OutlineFrame-ext.isDark:after { | ||
position: absolute; | position: absolute; | ||
top: 0; | top: 0; | ||
| Linha 229: | Linha 218: | ||
border-top: 1px solid; | border-top: 1px solid; | ||
content: ""; | content: ""; | ||
} | |||
/* Conteúdo do Card */ | |||
.IntroCard-wrapper { | |||
position: relative; | |||
padding: 0.5rem 0.95rem 1.5rem; | |||
} | |||
@media (min-width: 1024px) { | |||
.IntroCard-title { | |||
font-size: 2.2rem; | |||
} | |||
} | |||
.IntroCard-title { | |||
color: #68482c; | |||
padding: 0 5px 0 5px; | |||
margin: 0 0 0 0; | |||
font-size: 25px; | |||
} | |||
#ClassName{ | |||
border-bottom: 2px solid #68482c; | |||
margin-top: 0px; | |||
margin-bottom: 0px; | |||
} | |||
#lore-separador{ | |||
padding:10px; | |||
border-bottom: 2px solid #68482c; | |||
background: rgba(137, 112, 81, 0.3);; | |||
} | |||
#lore{ | |||
border-left: 4px solid #baad9b; | |||
font-style:italic; | |||
font-size:16px; | |||
margin: 0; | |||
padding-left:10px; | |||
} | |||
#lore:first-letter{ | |||
font-size:18px; | |||
font-weight:bold; | |||
color: #897051; | |||
} | |||
/* Tabela interna */ | |||
.OutlineFrame table { | |||
margin: 15px 0 0 0; | |||
width: 435px; | |||
background: linear-gradient(rgba(206,203,197,0.9), rgba(206,203,197,.9)), url(https://wiki.institutodaguerra.com/images/d/d2/Icon_objetivos.png); | |||
background-position: center; | |||
background-repeat: no-repeat; | |||
background-size: contain; | |||
} | |||
.OutlineFrame td { | |||
text-align: left; | |||
vertical-align: top; | |||
padding: 0 0 0 10px; | |||
} | |||
#titulo{ | |||
font-weight:bold; | |||
width:140px; | |||
} | } | ||
Edição atual tal como às 22h04min de 19 de dezembro de 2022
/* Estrutura Base */
.IntroCard {
position: relative;
float:left;
min-height: 700px;
width: 465px;
color: #2b282c;
margin: 15px 15px 15px 0;
}
*, :after, :before {
box-sizing: border-box;
}
div {
display: block;
}
.IntroCard:before {
content: "";
display: block;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: #cecbc5;
border-radius: 15px;
border: 1px solid #897051;
}
.OutlineFrame {
position: relative;
min-height: 700px;
}
.IntroCard-content {
position: relative;
/*text-align: center;*/
}
@media (min-width: 1024px) {
.IntroCard-figure {
position: relative;
overflow: hidden;
}
}
.IntroCard-figure {
position: relative;
width: 100%;
overflow: hidden;
height: 280px;
}
.IntroCard-figure{
margin: 0;
}
@media (min-width: 1024px) {
.IntroCard-figure:before {
content: "";
display: block;
padding-top: 0;
}
}
.IntroCard-figure:before {
content: "";
display: block;
padding-top: 0;
}
.IntroCard-image {
height: 100%;
width: 100%;
position: absolute;
top: 0;
left: 0;
object-fit: cover;
object-position: 50% 0;
}
.IntroCard-image img {
border-style: none;
border-radius: 15px 15px 0 0;
}
.IntroCard-figure:after {
content: "";
display: block;
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 40%;
}
.topleft{
position: absolute;
bottom: 0;
left: 24px;
font-size: 18px;
color: #FFF;
padding: 5px;
background: #897051;
}
/* Borda Personalizada */
.OutlineFrame .OutlineFrame-ext {
overflow: hidden;
position: absolute;
top: 0.5rem;
bottom: 0.85rem;
left: 0.5rem;
right: 0.5rem;
color: #99664d;
font-size: 2rem;
pointer-events: none;
}
.OutlineFrame .OutlineFrame-ext:before {
position: absolute;
top: 1em;
bottom: 0;
left: 0;
right: 0;
border: 1px solid;
border-top: none;
content: "";
}
.OutlineFrame .OutlineFrame-circles {
position: absolute;
height: 1em;
top: 0;
left: 0;
right: 0;
}
.OutlineFrame .OutlineFrame-circles:before {
left: 0.2em;
}
.OutlineFrame .OutlineFrame-circles:before,
.OutlineFrame .OutlineFrame-circles:after {
position: absolute;
height: 0.15em;
width: 0.15em;
top: 0.25em;
border-radius: 50%;
border: 1px solid #99664d;
content: "";
}
.OutlineFrame .OutlineFrame-circles:after {
right: 0.2em;
}
.OutlineFrame .OutlineFrame-cutOuts {
display: block;
height: 1em;
position: relative;
overflow: hidden;
}
.OutlineFrame .OutlineFrame-cutOuts:before {
left: -1em;
}
.OutlineFrame .OutlineFrame-cutOuts:before,
.OutlineFrame .OutlineFrame-cutOuts:after {
position: absolute;
top: -1em;
height: 2em;
width: 2em;
border: 1px solid;
border-radius: 50%;
content: "";
}
.OutlineFrame .OutlineFrame-cutOuts:after {
right: -1em;
}
.OutlineFrame .OutlineFrame-topCut {
position: absolute;
top: 0;
left: 1em;
right: 1em;
height: 1em;
color: #99664d;
overflow: hidden;
}
.OutlineFrame .OutlineFrame-topCut:before {
left: 0;
}
.OutlineFrame .OutlineFrame-topCut:before,
.OutlineFrame .OutlineFrame-topCut:after {
position: absolute;
background: currentColor;
height: 0.1rem;
width: calc(50% - 0.25em);
content: "";
}
.OutlineFrame .OutlineFrame-topCut:after {
right: 0;
}
.OutlineFrame .OutlineFrame-cut {
position: absolute;
top: -0.2em;
left: 50%;
transform: translateX(-50%);
display: block;
width: 0.4em;
height: 0.4em;
}
.OutlineFrame .OutlineFrame-cut:before {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
border: 1px solid;
transform: rotate(45deg);
content: "";
}
.OutlineFrame .OutlineFrame-ext.isDark {
top: 0.85rem;
bottom: 0.55rem;
left: 0.85rem;
right: 0.85rem;
color: #68482c;
font-size: 1.1rem;
}
.OutlineFrame .OutlineFrame-ext.isDark:after {
position: absolute;
top: 0;
bottom: 0;
left: 1em;
right: 1em;
border-top: 1px solid;
content: "";
}
/* Conteúdo do Card */
.IntroCard-wrapper {
position: relative;
padding: 0.5rem 0.95rem 1.5rem;
}
@media (min-width: 1024px) {
.IntroCard-title {
font-size: 2.2rem;
}
}
.IntroCard-title {
color: #68482c;
padding: 0 5px 0 5px;
margin: 0 0 0 0;
font-size: 25px;
}
#ClassName{
border-bottom: 2px solid #68482c;
margin-top: 0px;
margin-bottom: 0px;
}
#lore-separador{
padding:10px;
border-bottom: 2px solid #68482c;
background: rgba(137, 112, 81, 0.3);;
}
#lore{
border-left: 4px solid #baad9b;
font-style:italic;
font-size:16px;
margin: 0;
padding-left:10px;
}
#lore:first-letter{
font-size:18px;
font-weight:bold;
color: #897051;
}
/* Tabela interna */
.OutlineFrame table {
margin: 15px 0 0 0;
width: 435px;
background: linear-gradient(rgba(206,203,197,0.9), rgba(206,203,197,.9)), url(https://wiki.institutodaguerra.com/images/d/d2/Icon_objetivos.png);
background-position: center;
background-repeat: no-repeat;
background-size: contain;
}
.OutlineFrame td {
text-align: left;
vertical-align: top;
padding: 0 0 0 10px;
}
#titulo{
font-weight:bold;
width:140px;
}