/*wikitable by @limegreen on neocities. a link is appreciated!*/


/*to change the fonts here, go to google fonts, find ones you'd like, and use the @import snippet*/
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap" rel="stylesheet"');

/*example styles*/


/*global colors. change here to see the effect*/
:root {
  --backgroundcolor: grey;
  --textcolor: #2b2b2b;
  --header:#969696;
  --main: rgba(255, 255, 255, 0.8);
  --footer: #eaecf0;
  --borders: #454545;

  /*links*/
  --link: blue;
  --linkhover: purple;
  
  /*headings*/
  --breadcrumb: grey;
  --h1: #2b2b2b;
  --h2: #2b2b2b;
  --h3: #2b2b2b;
  --h4: #2b2b2b;
  --headerunderline: grey;
  
  /*boxes*/
  --quotebackground:#bfbfbf;
  --quotetext: #2b2b2b;
  --boxbg: #bfbfbf;
  --showcontentborder:grey;
  --contentwarningtext: #000000;
  
  --seriesofbg:#bfbfbf;
  --seriesoftext:#2b2b2b;
  --seriesofheader:#FFFFFF;
  
  --nsfwbox:#f6b6b6;
  --nsfwboxtext:#2b2b2b;
  --nsfwboxborder:#d21919;
  --nsfwglow: #FF0000;
  
  
  /*infotable*/
  --infoboxbg:#eaecf0;
  --centertext:#bdbdbd;
  --centertextcolor:#000000;
  --boldtext:#2b2b2b;
  --infotext:#2b2b2b;
  --zebraodd:#eaecf0;
  --zebraeven:white;
}



body{
  background-color: var(--backgroundcolor);
  font-family:Arial, sans-serif;
  font-size: 16px;
  margin: 0;
  line-height: 1.4;
  color: var(--textcolor);
}

li {
  margin: 4px 0;
}

/*container*/
.wrapper{ 
 min-height: 100vh;
 margin: auto;
 /*width of the content*/
 width: 85%;
 margin: auto;
 border:2px solid var(--borders);
 margin-top: 15px;
 margin-bottom: 15px;
}
/*main content*/
main{
 padding: 15px;
 background: var(--main);
 min-height: 100vh;
 clear: left;
}
/*links*/
a{
 color: var(--link); 
}
/*link hover*/
 a:hover{
 text-shadow: 0 0 1px ;
 color: var(--linkhover);
 text-decoration: underline;
}
/*breadcrumbs*/
.breadcrumb{
color: var(--breadcrumb);  
}
header{
  height: 100px;
  border-bottom:2px solid var(--borders);
  background:var(--header);
}
/*prevent image overflow*/
main img{
  max-width: 100%;
}
/*footer*/
footer{
  background:var(--footer);
  padding: 35px;
  border-top:2px solid var(--borders);
  text-align: center;
}

/*headers*/
h1,h2,h3,h4{
overflow: hidden;
border-bottom: 2px solid var(--headerunderline); 
}
h2{
font-size: 19pt; 
color: var(--h2);
}
h3{
font-size: 16pt;
color: var(--h3);
}

h4{
font-size: 14pt;
color: var(--h4);
}

/*table of contents*/
.showcontent{
  padding: 3px;
  font-weight: bold;
}
.contents{
 background-color:var(--boxbg);
 width: 14%;
 padding: 7px;
 border: 2px solid var(--showcontentborder);
}
/*this changes the dropdown to a hamburger menu for desktop screens*/
.toc summary {
    list-style-type: '☰ ';
}
.toc ul{
 list-style: none;
  margin-left: -30px;
}


/*quotes*/
.quotebox{
  width: 30%;
  background-size: cover;
  font-style: italic; 
  border-radius: 16px;
  padding: 13px;
  border-left: solid;
  background-color:var(--quotebackground);
  color: var(--quotetext);
}

/*Gallery stuff*/
.gallery {
  background-color: none;
  padding: 10px;
  overflow: hidden;
}
            
 .galleryimage {
   float: left;
   width: 170px;
   height: 170px;
   background-repeat: no-repeat;
   background-size: cover;
   background-position: left;
   margin: 10px;
   border: 2px solid var(--borders);
 }
            

/*content warning*/
.contentwarning{
  width: auto;
  padding: 13px;
  padding-top:25px;
  background-color:var(--header);
  color: var(--contentwarningtext);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/*series of*/
.revealsummary{
  text-align: center;
  background-color:var(--seriesofheader);
  padding: 10px;
  font-weight: bold;
  border: 2px solid var(--showcontentborder);
  margin:auto;
}
.reveal{
  text-align: center;
  background-color:var(--seriesofbg);
  padding: 5px;
  width: 50%;
  border: 2px solid var(--showcontentborder);
  color: var(--seriesoftext);
  margin:auto;
}
  
  /*NSFWinfo*/
  .revealsummarynsfw{
  background-color:var(--nsfwbox);
  padding: 5px;
  font-weight: bold;
  border-radius: 10px;
  
}
.revealnsfw{
  background-color:var(--nsfwbox);
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
  width: 80%;
  border: 2px solid var(--nsfwboxborder);
  color: var(--nsfwboxtext);
  border-radius: 16px;
  margin-left: auto;
  margin-right: auto;
  overflow:hidden;
}

.revealnsfw img{
  float: right;
  margin-bottom:15px;
  border: 2px solid var(--headerunderline);
}

mark {
  /* Text highlighted by using the <mark> element */
  text-shadow: 1px 1px 4px var(--nsfwglow);
  background-color: inherit;
  color: var(--text-color);
}

/*flair*/
 #flair::before {
  background-size: cover;
  background-size: 25px 25px;
  display: inline-block;
  width: 30px; 
  height: 20px;
  margin-left: 4px;
  margin-right: 4px;
  content:"☆";
}

/*flair with image- delete above if using. you will need to play with the width and height to make it fit properly*/

/*  #flair::before { background-image: url('https://i.ibb.co/SwkXQjP/itsalime.png');
  background-size: cover;
  background-size: 20px 25px;
  display: inline-block;
  width: 20px; 
  height: 20px;
  margin-left: 4px;
  content:" ";
}*/

/*infotable*/
.infotable {
  float:right;
  margin-left:25px;
  background:var(--infoboxbg);
  opacity: 100%;
  border-left:2px solid var(--borders);
  border:2px solid var(--borders);
  width:21%;
  font-size: 14px;
  color: var(--infotext);
}
  
  /* Zebra stripes */
tr:nth-child(odd) {
  background-color: var(--zebraodd);
}
tr:nth-child(even) {
  background-color: var(--zebraeven);
}

.infotable img{
  max-width: 100%;
  margin: auto;
}
.infotable th {
  text-align:left;
  vertical-align:top;
 
}
.infotable th{
    padding: 5px;
  color: var(--boldtext);
}
.infotable ul{
  list-style: none;
  padding: 0px;
  margin: 4px;
}

.infotable p{
  margin: 1px;
}


#centertext{
  text-align: center;
  color: var(--centertextcolor);
  background: var(--centertext);
}

/*clear float after infobox*/
#clear::after {
  content: "";
  clear: both;
  display: table;
}
/*responsiveness*/

/*narrow*/
@media(max-width: 900px) {
  .infotable{
    width: 30%;
  }
    .wrapper{
    width: 100%;
  }
      .chapters{
    width: 50%;
  }
  .reveal{
    width: 60%;
  }
  }  
/*medium*/
@media(max-width: 1250px) {
  .infotable{
    width: 35%;
  }
   .contents{
    width: 40%;
  }
  }  

/*mobile */
@media(orientation: portrait) {
  .quotebox{
    width: 90%;
    margin: auto;
    padding: 15px;
    margin-top: 10px;
  }
  
    .cwbox{
    width: 90%;
    margin: auto;
    padding: 15px;
    margin-top: 10px;
  }
  
  body{
    margin-top: 0px;
  }
   .infotable{
    width: 100%;
     margin-bottom: 20px;
  }
 
  .wrapper{
    width: 95%;
  }
    .chapters{
    width: 50%;
  }
  .main{
    padding-top: 20px;
  }
  .contents{
    width: 95%;
  }
   .reveal{
    width: 95%;
  }
}