Main Page: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
m (Inserted css from hydradark.css)
m (Removed classes attached to ids;)
Line 117: Line 117:
{{#css:
{{#css:


/* main page */
.main-page {
.main-page {
    font-size: 15px;
  font-size: 15px;
    margin: 2em auto;
  margin: 2em auto;
    width: 98%;
  width: 98%;
}
}


#mf-zw-logo img {
#mf-zw-logo img {
    max-width: 100%;
  max-width: 100%;
    height: auto;
  height: auto;
}
}


.main-page input {
.main-page input {
    max-width: 100%;
  max-width: 100%;
}
}


.empty-tile {
.empty-tile {
    display: none;
  display: none;
}
}


.spin-off-logo {
.spin-off-logo {
    display: block;
  display: block;
}
}


@media screen and (min-width: 950px) {
@media screen and (min-width: 950px) {
    .categories {
  .categories {
        max-width: 750px;
    max-width: 750px;
    }
  }
}
}


@media screen and (min-width: 1180px) {
@media screen and (min-width: 1180px) {
    .spin-off-logo, .empty-tile {
  .spin-off-logo,
        display: inline-block;
  .empty-tile {
    }
    display: inline-block;
  }
}
}


@media screen and (max-width: 1350px) {
@media screen and (max-width: 1350px) {
    #dyk.infoblock {
  #dyk {
        margin-top: 2em;
    margin-top: 2em;
        order: 3;
    order: 3;
        width: 100% !important;
    width: 100% !important;
    }
  }
 
  #cdm-zone-02 {
    #cdm-zone-02 {
    order: 2;
        order: 2;
  }
    }
  .infoblock-container {
 
    flex-wrap: wrap;
    .infoblock-container {
  }
        flex-wrap: wrap;
    }
}
}


@media screen and (min-width: 1650px) {
@media screen and (min-width: 1650px) {
    .categories, .main-series {
  .categories,
        max-width: 1415px;
  .main-series {
    }
    max-width: 1415px;
  }
}
}


@media screen and (min-width: 3000px) {
@media screen and (min-width: 3000px) {
    .categories {
  .categories {
        max-width: 2750px;
    max-width: 2750px;
    }
  }
}
}


.year {
.year {
    bottom: 0.5em;
  bottom: 0.5em;
    color: rgba(255, 255, 255, 0.9);
  color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
  font-size: 12px;
    left: 1em;
  left: 1em;
    position: absolute;
  position: absolute;
    z-index: 10;
  z-index: 10;
}
}


.game {
.game {
    display: inline-block;
  display: inline-block;
    font-size: 0;
  font-size: 0;
    margin: 2px;
  margin: 2px;
    position: relative;
  position: relative;
}
}


.game a {
.game a {
    background-color: rgba(0, 0, 0, 0.6);
  background-color: rgba(0, 0, 0, 0.6);
    clip: rect(0px, 230px, 125px, 0px);
  clip: rect(0px, 230px, 125px, 0px);
    color: #ffffff;
  color: #ffffff;
    display: flex;
  display: flex;
    flex-direction: column;
  flex-direction: column;
    font-size: 25px;
  font-size: 25px;
    font-style: normal;
  font-style: normal;
    height: 101%;
  height: 101%;
    justify-content: center;
  justify-content: center;
    line-height: 29px;
  line-height: 29px;
    position: absolute;
  position: absolute;
    text-decoration: none;
  text-decoration: none;
    width: 100%;
  width: 100%;
}
}


.game a:hover {
.game a:hover {
    background-color: rgba(0, 0, 0, 0.3);
  background-color: rgba(0, 0, 0, 0.3);
}
}


.game-container {
.game-container {
    margin: 0 auto 3em;
  margin: 0 auto 3em;
}
}


.main-series,
.main-series,
.remakes {
.remakes {
    display: flex;
  display: flex;
    flex-flow: row-reverse wrap-reverse;
  flex-flow: row-reverse wrap-reverse;
    justify-content: center;
  justify-content: center;
    margin: 0 auto;
  margin: 0 auto;
}
}


.remakes {
.remakes {
    max-width: 1000px;
  max-width: 1000px;
}
}


.categories {
.categories {
    margin: 0 auto;
  margin: 0 auto;
    text-align: center;
  text-align: center;
}
}


.infoblock-container {
.infoblock-container {
    display: flex;
  display: flex;
    justify-content: center;
  justify-content: center;
    margin: 3em auto;
  margin: 3em auto;
}
}


.infoblock {
.infoblock {
    background: #1d578b none repeat scroll 0 0;
  background: #1d578b none repeat scroll 0 0;
    border-radius: 5px;
  border-radius: 5px;
    margin: 0 1em;
  margin: 0 1em;
    padding: 1em;
  padding: 1em;
    text-align: left;
  text-align: left;
    vertical-align: top;
  vertical-align: top;
}
}


.infoblock-header {
.infoblock-header {
    display: block;
  display: block;
    font-family: "Bowlby One";
  font-family: "Bowlby One";
    font-size: 3em;
  font-size: 3em;
    letter-spacing: 1px;
  letter-spacing: 1px;
    line-height: 1em;
  line-height: 1em;
    padding: 0 0.5em 0.2em;
  padding: 0 0.5em 0.2em;
    text-transform: uppercase;
  text-transform: uppercase;
}
}


#dyk.infoblock {
#dyk {
    width: 60%;
  width: 60%;
}
}


#news.infoblock {
#news {
    width: 40%;
  width: 40%;
}
}


@media screen and (max-width: 768px) {
@media screen and (max-width: 768px) {
    #dyk.infoblock {
  #dyk {
        width: 100%;
    width: 100%;
    }
  }
 
  #news {
    #news.infoblock {
    width: 100%;
        width: 100%;
  }
    }
}
}


#news.infoblock dl {
#news dl {
    display: none;
  display: none;
}
}


.infoblock.curse-ad {
.infoblock.curse-ad {
    flex-shrink: 0;
  flex-shrink: 0;
}
}


#news.infoblock ul li {
#news ul li {
    margin-bottom: 10px;
  margin-bottom: 10px;
}
}


#dyk.infoblock ul li {
#dyk ul li {
    margin-bottom: 20px;
  margin-bottom: 20px;
}
}


/* NIWA nav */
/* NIWA nav */
#mf-NIWAnav .high-res {
#mf-NIWAnav .high-res {
    display:none;
  display: none;
}  
}


@media screen and (min-width: 700px) {
@media screen and (min-width: 700px) {
    #mf-NIWAnav .low-res {
  #mf-NIWAnav .low-res {
        display:none;
    display: none;
    }
  }
 
  #mf-NIWAnav .high-res {
    #mf-NIWAnav .high-res {
    display: block;
        display:block;
  }
    }  
}
}


#mf-NIWAnav .low-res img {
#mf-NIWAnav .low-res img {
    height: auto;  
  height: auto;
    max-width: 100%;  
  max-width: 100%;
    width: auto;
  width: auto;
}
}


#mf-NIWAnav { /*The mf- prefix allows the nav to be included on the mobile main page */
#mf-NIWAnav {
    background: #1d578b;
  /*The mf- prefix allows the nav to be included on the mobile main page */
    border: 1px solid #426787;
  background: #1d578b;
    border-radius: 10px;
  border: 1px solid #426787;
    box-sizing: border-box;
  border-radius: 10px;
    margin: 0 auto;
  box-sizing: border-box;
    max-width: 1400px; /*Needs to be readjusted when new members are added. */
  margin: 0 auto;
    padding: 0.5em;
  max-width: 1400px;
    text-align: center;
  /*Needs to be readjusted when new members are added. */
  padding: 0.5em;
  text-align: center;
}
}


#mf-NIWAnav .cell {
#mf-NIWAnav .cell {
    background: #17456e;
  background: #17456e;
    border: 1px solid #426787;
  border: 1px solid #426787;
    border-radius: 10px;
  border-radius: 10px;
    display: inline-block;
  display: inline-block;
    margin: 3px;
  margin: 3px;
    padding: 10px 0;
  padding: 10px 0;
    text-align: center;
  text-align: center;
    width: 165px;
  width: 165px;
}
}


#mf-NIWAnav .header {
#mf-NIWAnav .header {
    font-size:1.2em;
  font-size: 1.2em;
}
}


}}
}}

Revision as of 02:23, 16 April 2017

 

Latest News

It's November!
We've listed pages that need some love. Take a look!
It's Halloween!
We've listed pages that need some love. Take a look!
Link's Awakening for Nintendo Switch just released!
We've listed pages that need updating, think you're up for the task? Take a look!
We're less than 3 weeks away from the release of Link's Awakening for Nintendo Switch! Let's contribute on pages related to that! Take a look!
It's the back to school period! Let's contribute on pages related to that! Take a look!
The sealife of The Legend of Zelda series is pretty diversified, let's contribute on those pages! Take a look!
A bunch of Outfits exist in The Legend of Zelda series, let's contribute on those pages! Take a look!

Announcement archives

Did You Know...

Template:NIWAnav

{{#css:

.main-page {

 font-size: 15px;
 margin: 2em auto;
 width: 98%;

}

  1. mf-zw-logo img {
 max-width: 100%;
 height: auto;

}

.main-page input {

 max-width: 100%;

}

.empty-tile {

 display: none;

}

.spin-off-logo {

 display: block;

}

@media screen and (min-width: 950px) {

 .categories {
   max-width: 750px;
 }

}

@media screen and (min-width: 1180px) {

 .spin-off-logo,
 .empty-tile {
   display: inline-block;
 }

}

@media screen and (max-width: 1350px) {

 #dyk {
   margin-top: 2em;
   order: 3;
   width: 100% !important;
 }
 #cdm-zone-02 {
   order: 2;
 }
 .infoblock-container {
   flex-wrap: wrap;
 }

}

@media screen and (min-width: 1650px) {

 .categories,
 .main-series {
   max-width: 1415px;
 }

}

@media screen and (min-width: 3000px) {

 .categories {
   max-width: 2750px;
 }

}

.year {

 bottom: 0.5em;
 color: rgba(255, 255, 255, 0.9);
 font-size: 12px;
 left: 1em;
 position: absolute;
 z-index: 10;

}

.game {

 display: inline-block;
 font-size: 0;
 margin: 2px;
 position: relative;

}

.game a {

 background-color: rgba(0, 0, 0, 0.6);
 clip: rect(0px, 230px, 125px, 0px);
 color: #ffffff;
 display: flex;
 flex-direction: column;
 font-size: 25px;
 font-style: normal;
 height: 101%;
 justify-content: center;
 line-height: 29px;
 position: absolute;
 text-decoration: none;
 width: 100%;

}

.game a:hover {

 background-color: rgba(0, 0, 0, 0.3);

}

.game-container {

 margin: 0 auto 3em;

}

.main-series, .remakes {

 display: flex;
 flex-flow: row-reverse wrap-reverse;
 justify-content: center;
 margin: 0 auto;

}

.remakes {

 max-width: 1000px;

}

.categories {

 margin: 0 auto;
 text-align: center;

}

.infoblock-container {

 display: flex;
 justify-content: center;
 margin: 3em auto;

}

.infoblock {

 background: #1d578b none repeat scroll 0 0;
 border-radius: 5px;
 margin: 0 1em;
 padding: 1em;
 text-align: left;
 vertical-align: top;

}

.infoblock-header {

 display: block;
 font-family: "Bowlby One";
 font-size: 3em;
 letter-spacing: 1px;
 line-height: 1em;
 padding: 0 0.5em 0.2em;
 text-transform: uppercase;

}

  1. dyk {
 width: 60%;

}

  1. news {
 width: 40%;

}

@media screen and (max-width: 768px) {

 #dyk {
   width: 100%;
 }
 #news {
   width: 100%;
 }

}

  1. news dl {
 display: none;

}

.infoblock.curse-ad {

 flex-shrink: 0;

}

  1. news ul li {
 margin-bottom: 10px;

}

  1. dyk ul li {
 margin-bottom: 20px;

}


/* NIWA nav */

  1. mf-NIWAnav .high-res {
 display: none;

}

@media screen and (min-width: 700px) {

 #mf-NIWAnav .low-res {
   display: none;
 }
 #mf-NIWAnav .high-res {
   display: block;
 }

}

  1. mf-NIWAnav .low-res img {
 height: auto;
 max-width: 100%;
 width: auto;

}

  1. mf-NIWAnav {
 /*The mf- prefix allows the nav to be included on the mobile main page */
 background: #1d578b;
 border: 1px solid #426787;
 border-radius: 10px;
 box-sizing: border-box;
 margin: 0 auto;
 max-width: 1400px;
 /*Needs to be readjusted when new members are added. */
 padding: 0.5em;
 text-align: center;

}

  1. mf-NIWAnav .cell {
 background: #17456e;
 border: 1px solid #426787;
 border-radius: 10px;
 display: inline-block;
 margin: 3px;
 padding: 10px 0;
 text-align: center;
 width: 165px;

}

  1. mf-NIWAnav .header {
 font-size: 1.2em;

}

}}