Anonymous
×
Create a new article
Write your page title here:
We currently have 632 articles on SpellForce Wiki - Rohens encyclopedia. Type your article name above or click on one of the titles below and start writing!



SpellForce Wiki - Rohens encyclopedia

Template:CoE Styles: Difference between revisions

Basara (talk | contribs)
Undo revision 4784 by Niko (talk)
Tag: Undo
Basara (talk | contribs)
No edit summary
 
(132 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#css:
{{#css:
.fit-darn-it {
  max-width: 350px;
  height: auto;
}


.item-block {
.item-block {
Line 13: Line 18:
   display: block;
   display: block;
}
}


.item-threshold {
.item-threshold {
Line 36: Line 43:
   font-size: 160% !important;
   font-size: 160% !important;
   text-align: center;
   text-align: center;
}
.item-icon {
  float: left;
}
}


Line 55: Line 58:
   text-align: left;
   text-align: left;
   color: #cb9;
   color: #cb9;
   font-size: 130%;
   font-size: 110%;
   display: block;
   display: block;
}
.item-icon {
  float: left;
}
}


.float-clear {
.float-clear {
   clear: both;
   clear: both;
}
.spell-school-icon {
  float: left;
}
.spell-school-description {
  margin: 15px;
}
.spellpage-block {
  border-radius: 5px; 
  box-shadow: 0 0 20px #444 inset; 
  padding: 0px; 
  margin: 10px;
  border: 4px solid #564;
  display: block;
  max-width: 600px;
}
.spell-main-block {
  background: repeating-conic-gradient(#7b440800 0.000045%, #ac855d40 0.0005%), #cb9;
  border-radius: 5px; 
  box-shadow: 0 0 20px #444 inset; 
  padding: 5px 10px 10px 10px; 
  border: 4px solid #564;
  max-width: 600px;
}
.spell-grid {
  display: grid;
  gap: 1%;
  grid-template-columns: 25% 10% 50% 10% ;
  align-items:stretch;
}
.spell-icon-block {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: block;
  margin: 0 auto;
}
.spell-title-left-block {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: block;
  margin: 0 auto;
}
.spell-title-block {
  grid-column: 3;
  grid-row: 1;
  display: block;
  margin: 0 auto;
  align-content: end;
}
.spell-subtitle-block {
  grid-column: 3;
  grid-row: 2;
  display: block;
  margin: 0 auto;
  align-content: start;
}
.spell-title-right-block {
  grid-column: 4;
  grid-row: 1 / span 2;
  display: block;
  margin: 0 auto;
}
.spell-research-block {
  grid-column: 1;
  grid-row: 3;
}
.spell-mana-block {
  grid-column: 1;
  grid-row: 4;
}
.spell-upkeep-block {
  grid-column: 1;
  grid-row: 5;
}
.spell-info-block {
  grid-column: 2 / span 3;
  grid-row: 3 / span 3;
  display: block;
  margin: 0 auto;
  align-content: center;
  background: repeating-conic-gradient(#7b440800 0.000045%, #ac855d40 0.0005%), #aa9;
  padding: 10px;
}
.spell-room-icon-block {
  grid-column: 2 / span 3;
  grid-row: 3 / span 3;
  justify-content: center;
  display: block;
  margin: 0 auto;
  padding: 20px;
}
.spell-blank-block {
  grid-column: 1 / span 4;
  grid-row: 6;
  justify-content: center;
  align-items: center;
  display: block;
  margin: 0 auto;
}
.spell-page-block {
  grid-column: 1 / span 4;
  grid-row: 7;
  display: block;
  margin: 0 auto;
  align-content: center;
}
.spell-flavor-block {
  grid-column: 1 / span 4;
  grid-row: 8;
  display: block;
  margin: 0 auto;
  align-content: center;
  margin-bottom: 45px;
}
.spell-title {
  color: #411 !important;
  font-family: Georgia, serif !important;
  font-size: 180% !important;
  font-weight: bold !important;
  text-align: center;
}
.spell-subtitle {
  font-family: Georgia, serif;
  text-align: center;
  color: #733;
  font-weight: bold;
  font-size: 120%;
}
.spell-flavor-text {
  font-family: Georgia, serif;
  text-align: center;
  color: #411;
  font-size: 110%;
}
.spell-resource-text {
  font-family: Verdana, sans-serif !important;
  color: #411;
  font-size: 140%;
  font-weight: bold;
}
.spell-text {
  font-family: Georgia, serif;
  text-align: left;
  color: #411;
  font-size: 110%;
}
.spell-blank-text {
  font-family: Georgia, serif;
  display: block;
  clear: both;
  text-align: left;
  padding-left: 25px;
  color: #666;
  font-size: 120%;
}
.outer {
  width: 20px;
}
.left {
  border-left: 3px solid #733;
  border-top: 3px solid #733;
  border-bottom: 3px solid #733;
}
.middle{
  padding: 20px 45px;
}
.right {
  border-right: 3px solid #733;
  border-top: 3px solid #733;
  border-bottom: 3px solid #733;
}
}




Line 77: Line 277:
}
}
.tooltip-short a {   
.tooltip-short a {   
  position: absolute;
position: absolute;
  display: block;  
display: block;
  visibility: hidden;  
visibility: hidden;
  opacity: 0;  
opacity: 0;
  transition: all .3s;
transition: all .3s;
  border-radius: 5px;
border-radius: 5px;
  box-shadow: 0 0 20px #444 inset;
box-shadow: 0 0 20px #444 inset;
  padding: 3px 5px 3px 5px;
padding: 3px 5px 3px 5px;
  top: -120px;
top: -120px;
  left: -65px;
left: 0px;
  z-index: 9999999;
z-index: 9999999;
  border: 1px solid #514d4d;
border: 1px solid #514d4d;
}
}
.tooltip a {   
.tooltip a {   
  position: absolute;
position: absolute;
  display: block;  
display: block;
  visibility: hidden;  
visibility: hidden;
  opacity: 0;  
opacity: 0;
  transition: all .3s;
transition: all .3s;
  border-radius: 5px;
border-radius: 5px;
  box-shadow: 0 0 20px #444 inset;
box-shadow: 0 0 20px #444 inset;
  padding: 3px 5px 3px 5px;
padding: 3px 5px 3px 5px;
  top: -250px;
top: -200px;
  left: -65px;
left: 0px;
  z-index: 9999999;
z-index: 9999999;
  border: 1px solid #514d4d;
border: 1px solid #514d4d;
}
}
.tooltip-long a{   
.tooltip-long a{   
  position: absolute;
position: absolute;
  display: block;  
display: block;
  visibility: hidden;  
visibility: hidden;
  opacity: 0;  
opacity: 0;
  transition: all .3s;
transition: all .3s;
  border-radius: 5px;
border-radius: 5px;
  box-shadow: 0 0 20px #444 inset;
box-shadow: 0 0 20px #444 inset;
  padding: 3px 5px 3px 5px;
padding: 3px 5px 3px 5px;
  top: -500px;
top: -300px;
  left: -65px;
left: 0px;
  z-index: 9999999;
z-index: 9999999;
  border: 1px solid #514d4d;
border: 1px solid #514d4d;
}
}
.tooltip-short a img, .tooltip a img, .tooltip-long a img {
.tooltip-short a img, .tooltip a img, .tooltip-long a img {
Line 129: Line 329:
     opacity: 1;     
     opacity: 1;     
}
}
.tooltip b:before, .tooltip b:before, .tooltip-long b:before {
.tooltip b:before, .tooltip-short b:before, .tooltip-long b:before {
   content: "";
   content: "";
   position: absolute;
   position: absolute;
Line 162: Line 362:
}
}


@media screen and (max-width: 850px) {
.tooltip-wrapper {
.tooltip-short a img, .tooltip a img, .tooltip-long a img {
  height: auto !important;
  max-width: 290px !important;
}
 
.tooltiptest {
     position: relative;
     position: relative;
-webkit-transition: all 0.3s ease-in-out 0s;
-webkit-transition: all 0.3s ease-in-out 0s;
Line 174: Line 368:
display: inline-block;
display: inline-block;
}
}
.tooltiptest a {
.tooltip-wrapper a {
display: inline-block;
display: inline-block;
color: #07f!important;
color: #07f!important;
font-family: Palatino, serif;
font-family: Palatino, serif;
}
}
.tooltipvero a {
 
position: absolute;
.tooltip-wrapper:hover .tooltip-short a, .tooltip-wrapper:hover .tooltip a, .tooltip-wrapper:hover .tooltip-long a {
display: block;
    visibility: visible;
visibility: hidden;
    opacity: 1;
opacity: 0;
}
transition: all .3s;
 
border-radius: 5px;
@media only screen and (max-width: 600px) {
box-shadow: 0 0 20px #444 inset;
.item-block,
padding: 3px 5px 3px 5px;
.item-block-splitter img {
top: -140px;
width: 95%!important;
left: 0px;
z-index: 9999999;
border: 1px solid #514d4d;
}
}
.tooltipvero a::after {
h4 .item-title, h4 .spell-title {
content: " ";
font-size: 120% !important;
border-style: solid;
border-width: 7px 7px 0px 7px;
border-color: rgba(55, 64, 70, 0.5) transparent transparent transparent;
transition-duration: 0s;
transform-origin: top;
transform: translateX(-50%) scaleY(1);
position: absolute;
left: 5%;
bottom: -7px;
}
}
.tooltipvero a img {
.tooltip-short, .tooltip, .tooltip-long {
display: block;
display: none!important;
border: 1px solid #444;
max-width: 360px;
height: auto;
}
}
.tooltiptest:hover .tooltipvero a {
.fit-darn-it {
    visibility: visible;
  max-width: 150px;  
    opacity: 1;
  height: auto;  
}
}
}}
}  
 
}}
}}

Latest revision as of 23:32, 10 October 2023