Template:Sandbox3/styles.css: Difference between revisions

From Archon Arcana - The KeyForge Wiki
No edit summary
No edit summary
 
(98 intermediate revisions by the same user not shown)
Line 1: Line 1:
.contentrow {
 
display:flex;
.noexcerpt img {
box-sizing: border-box;
background-color:#f9f9f9;
border-top:1px solid #b3b3b3;
}
}
.content {
 
flex:25%;  
#pageOverlay {
font-size:0px;
line-height:0px;
height:0px;
}
}
.date {
 
flex:25%;
#pageOverlay img {
max-width:150px;
display:none;
}
}
.players {
 
flex:25%;
#pageOverlay p {
max-width:150px;
height:0px;
}
}
.location {
 
flex:25%;
 
max-width:300px;
.cropped {
font-weight:bold;
    width: 203px;
    height: 250px;
    object-fit: contain;
    object-position: center top;
}
 
.outer {
  position: relative;
  display: flex;
  flex-direction: row;
  width: 100%;
}
}


@media screen and (max-width: 900px) {
.deckViewer {
   div.winnercontent {
  display: flex;
  display:none;
  width: 100%;
   }
  margin-left: auto;
   div.winnercontent2 {
  margin-right: auto;
  display:block;
  flex-wrap: wrap;
   }
  justify-content: space-between;
   div.deckcontent {
}
  display:none;
 
   }
.archonSolo {
   div.deckcontent2 {
  flex: 1;
  display:block;
  min-width: 310px;
   }
  box-sizing: border-box;
  margin: 5px;
  /*  border-left:5px solid #1d6b11;
    border-top-left-radius:20px; */
 
}
 
.archonAdaptive {
  flex: 1;
  min-width: 310px;
  box-sizing: border-box;
  margin: 5px;
 
}
 
.archonTriad {
  flex: 3;
  min-width: 50%;
  box-sizing: border-box;
  margin: 5px;
}
 
.archonSolo .variantName {
/*  background-color: #1d6b11;
  background-image: linear-gradient(90deg, #12420a, #1d6b11);
*/
background-color:#efefef;
  border-bottom: 3px solid #909090;
  font-size: 1.2em;
  font-weight: 600;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
    padding: 8px 8px 5px 15px;
}
 
.archonAdaptive .variantName {
  /* background-color: #0b5866;
  background-image: linear-gradient(90deg, #073c45, #0b5866);
  color: white; */
  background-color:#efefef;
 
  border-bottom: 3px solid #909090;
    font-size: 1.2em;
  font-weight: 600;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 8px 8px 5px 15px;
}
 
.archonTriad .variantName {
  /* background-color: #2d0f63;
  background-image: linear-gradient(90deg, #1e0a43, #2d0f63);
  color:white; */
  background-color:#efefef;
 
  border-bottom: 3px solid #909090;
    font-size: 1.2em;
  font-weight: 600;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 8px 8px 5px 15px;
}
 
.deckName {
  font-size: 1em;
  padding: 5px 5px 3px 8px;
}
 
.deckSet {
  font-size: 1em;
  padding: 2px 5px 3px 8px;
}
 
.deckLink {
  font-size: 1em;
  padding: 2px 5px 8px 8px;
  border-bottom: 1px solid #bababa;
}
 
.deckImage {
  padding: 8px 5px 8px 8px;
  text-align: left;
  box-sizing: border-box;
}
 
.deckImage img {
  border-radius: 15px;
  filter: drop-shadow(0 0 0.2rem #909090);
  width: 270px;
  height: auto;
}
 
.triadDecks {
   display: flex;
  flex-wrap: wrap;
}
 
.decklist {
  flex: 1;
  min-width:300px;
}
 
 
 
 
 
/* toggle display */
 
.hide {
  display: none
}
 
.accordion {
  list-style: none;
   padding: 0;
  margin-left: 0px;
  margin-top: 0px;
  margin-bottom: 0px;
}
 
.accordion li,
.accordion ul {
   margin-left: 0px;
}
 
.deckpreview {
  width: 100%;
  display: block;
   height: auto;
  cursor: pointer;
  text-align: left;
  transition: background .3s ease;
  box-sizing: border-box;
  background-color: #ffffff;
  padding:12px 5px 12px 8px;
  border-bottom:1px solid #c0c0c0;
  line-height:1.8em;
}
 
.deckpreview:hover {
  background: #eaeaea;
   box-sizing: border-box;
}
 
.teamName {
  width: 100%;
  display: block;
  height: auto;
  cursor: pointer;
  text-align: left;
  transition: background .3s ease;
  box-sizing: border-box;
/*  border-top-left-radius: 20px;
  border-top-right-radius: 20px; */
  border-radius:20px;
  padding: 6px 8px 6px 15px;
  border-left:5px solid #505050;
  background-color:#efefef;
  font-size: 1.3em;
  margin-top:10px;
  margin-bottom:5px;
   font-weight:600;
}
 
.teamName:hover {
   background: #d0d0d0;
  box-sizing: border-box;
}
 
 
ul.accordion .inner {
  text-align: left;
  overflow: hidden;
  max-height: 0;
  transition: max-height .6s ease;
}
 
ul.accordion .inner2 {
  text-align: left;
  max-height: 3000px;
   transition: max-height .6s ease;
}
 
 
.accordion input[type="checkbox"]:checked+li>.inner {
  max-height: 3000px;
}
}


@media screen and (min-width: 901px) {
.spacer {
   div.winnercontent2 {
   height: 0px;
  display:none;
   display: block;
   }
  div.deckcontent2 {
  display:none;
  }
}
}

Latest revision as of 20:25, 12 May 2020

.noexcerpt img {
	
}

#pageOverlay {
	font-size:0px;
	line-height:0px;
	height:0px;
}

#pageOverlay img {
	display:none;
}

#pageOverlay p {
	height:0px;
}


.cropped {
    width: 203px; 
    height: 250px; 
    object-fit: contain;
    object-position: center top; 
}

.outer {
  position: relative;
  display: flex;
  flex-direction: row;
  width: 100%;
}

.deckViewer {
  display: flex;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
  justify-content: space-between;
}

.archonSolo {
  flex: 1;
  min-width: 310px;
  box-sizing: border-box;
  margin: 5px;
  /*  border-left:5px solid #1d6b11;
    border-top-left-radius:20px; */

}

.archonAdaptive {
  flex: 1;
  min-width: 310px;
  box-sizing: border-box;
  margin: 5px;

}

.archonTriad {
  flex: 3;
  min-width: 50%;
  box-sizing: border-box;
  margin: 5px;
}

.archonSolo .variantName {
 /*   background-color: #1d6b11;
  background-image: linear-gradient(90deg, #12420a, #1d6b11);
*/
background-color:#efefef;
  border-bottom: 3px solid #909090;
  font-size: 1.2em;
  font-weight: 600;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
    padding: 8px 8px 5px 15px;
}

.archonAdaptive .variantName {
  /* background-color: #0b5866;
  background-image: linear-gradient(90deg, #073c45, #0b5866);
  color: white; */
  background-color:#efefef;

  border-bottom: 3px solid #909090;
    font-size: 1.2em;
  font-weight: 600;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 8px 8px 5px 15px;
}

.archonTriad .variantName {
  /* background-color: #2d0f63;
  background-image: linear-gradient(90deg, #1e0a43, #2d0f63);
  color:white; */
  background-color:#efefef;

  border-bottom: 3px solid #909090;
    font-size: 1.2em;
  font-weight: 600;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 8px 8px 5px 15px;
}

.deckName {
  font-size: 1em;
  padding: 5px 5px 3px 8px;
}

.deckSet {
  font-size: 1em;
  padding: 2px 5px 3px 8px;
}

.deckLink {
  font-size: 1em;
  padding: 2px 5px 8px 8px;
  border-bottom: 1px solid #bababa;
}

.deckImage {
  padding: 8px 5px 8px 8px;
  text-align: left;
  box-sizing: border-box;
}

.deckImage img {
  border-radius: 15px;
  filter: drop-shadow(0 0 0.2rem #909090);
  width: 270px;
  height: auto;
}

.triadDecks {
  display: flex;
  flex-wrap: wrap;
}

.decklist {
  flex: 1;
  min-width:300px;
}





/* toggle display */

.hide {
  display: none
}

.accordion {
  list-style: none;
  padding: 0;
  margin-left: 0px;
  margin-top: 0px;
  margin-bottom: 0px;
}

.accordion li,
.accordion ul {
  margin-left: 0px;
}

.deckpreview {
  width: 100%;
  display: block;
  height: auto;
  cursor: pointer;
  text-align: left;
  transition: background .3s ease;
  box-sizing: border-box;
  background-color: #ffffff;
  padding:12px 5px 12px 8px;
  border-bottom:1px solid #c0c0c0;
  line-height:1.8em;
}

.deckpreview:hover {
  background: #eaeaea;
  box-sizing: border-box;
}

.teamName {
  width: 100%;
  display: block;
  height: auto;
  cursor: pointer;
  text-align: left;
  transition: background .3s ease;
  box-sizing: border-box;
/*  border-top-left-radius: 20px;
  border-top-right-radius: 20px; */
  border-radius:20px;
  padding: 6px 8px 6px 15px;
  border-left:5px solid #505050;
  background-color:#efefef;
  font-size: 1.3em;
  margin-top:10px;
  margin-bottom:5px;
  font-weight:600;
}

.teamName:hover {
  background: #d0d0d0;
  box-sizing: border-box;
}


ul.accordion .inner {
  text-align: left;
  overflow: hidden;
  max-height: 0;
  transition: max-height .6s ease;
}

ul.accordion .inner2 {
  text-align: left;
  max-height: 3000px;
  transition: max-height .6s ease;
}


.accordion input[type="checkbox"]:checked+li>.inner {
  max-height: 3000px;
}

.spacer {
  height: 0px;
  display: block;
}