Zelda Wiki

Want to contribute to this wiki?
Sign up for an account, and get started!

Come join the Zelda Wiki community Discord server!

READ MORE

Zelda Wiki
No edit summary
mNo edit summary
(34 intermediate revisions by 9 users not shown)
Line 1: Line 1:
  +
__NOCACHE__ <!-- The Did You Know block will not properly randomize trivia without this -->
__NOCACHE__
 
<htmlet>main-page font</htmlet> <!-- Imports fonts -->
+
<htmlet>main-page-fonts</htmlet> <!-- Imports fonts -->
   
 
<div class=main-page>
 
<div class=main-page>
[[File:ZW Logo White.png|400px|center]]
+
<div id="mf-zw-logo">[[File:ZW Logo White.png|400px|center|link=]]</div>
   
 
<inputbox>
 
<inputbox>
Line 11: Line 11:
 
</inputbox>
 
</inputbox>
   
  +
<div id="mf-welcome-text">
'''Zelda Wiki''' is a ''Legend of Zelda'' encyclopedia that [[Help:Contents|anyone can edit]] and is [[Zelda Wiki:Staff|maintained by fans just like you]].
+
'''Zelda Wiki''' is a ''The Legend of Zelda'' encyclopedia that [[Help:Contents|anyone can edit]] and is [[Zelda Wiki:Staff|maintained by fans just like you]].
   
 
[[Zelda Wiki:Getting Involved|Learn how you can become a part of the Zelda Wiki community]].
 
[[Zelda Wiki:Getting Involved|Learn how you can become a part of the Zelda Wiki community]].
  +
</div>
   
 
<div class="game-container">
 
<div class="game-container">
Line 22: Line 24:
   
 
|content1=
 
|content1=
<div class="main-series"><!--*************** MAIN SERIES ***************
+
<div id="mf-maingames" class="main-series"><!--*************** MAIN SERIES ***************
  +
 
--><div class="game">
  +
<span class=year>1987</span>
  +
{{TLoZ}}
  +
[[File:TLoZ Tile.png|link=]]
  +
</div><!--
   
 
--><div class="game">
 
--><div class="game">
<span class=year>TBD</span>
+
<span class=year>1988</span>
  +
{{TAoL}}
[[Zelda Wii U]]
 
[[File:Zelda WiiU Tile.png|link=]]
+
[[File:TAoL Tile.png|link=]]
 
</div><!--
 
</div><!--
   
--><div class="game twoline">
+
--><div class="game">
<span class=year>2013</span>
+
<span class=year>1992</span>
{{ALBW}}
+
{{ALttP}}
[[File:ALBW Tile.png|link=]]
+
[[File:ALttP Tile.png|link=]]
 
</div><!--
 
</div><!--
   
 
--><div class="game">
 
--><div class="game">
<span class=year>2011</span>
+
<span class=year>1993</span>
{{SS}}
+
{{LA}}
[[File:SS Tile.png|link=]]
+
[[File:LA Tile.png|link=]]
 
</div><!--
 
</div><!--
   
 
--><div class="game">
 
--><div class="game">
<span class=year>2009</span>
+
<span class=year>1998</span>
{{ST}}
+
{{OoT}}
[[File:ST Tile.png|link=]]
+
[[File:OoT Tile.png|link=]]
 
</div><!--
 
</div><!--
   
--><div class="game twoline">
+
--><div class="game">
<span class=year>2007</span>
+
<span class=year>2000</span>
  +
{{MM}}
[[The Legend of Zelda: Phantom Hourglass|Phantom<br>Hourglass]] <!-- DON'T CHANGE THIS. The text wraps to two lines on some platforms and not on others. This is forcing it to two lines so the code doesn't break. -->
 
[[File:PH Tile.png|link=]]
+
[[File:MM Tile.png|link=]]
 
</div><!--
 
</div><!--
   
 
--><div class="game">
 
--><div class="game">
<span class=year>2006</span>
+
<span class=year>2001</span>
{{TP}}
+
{{OoS}}
[[File:TP Tile.png|link=]]
+
[[File:OoS Tile.png|link=]]
 
</div><!--
 
</div><!--
   
 
--><div class="game">
 
--><div class="game">
<span class=year>2005</span>
+
<span class=year>2001</span>
{{TMC}}
+
{{OoA}}
[[File:TMC Tile.png|link=]]
+
[[File:OoA Tile.png|link=]]
 
</div><!--
 
</div><!--
   
--><div class="game twoline">
+
--><div class="game">
<span class=year>2004</span>
+
<span class=year>2002</span>
{{FSA}}
+
{{FS}}
[[File:FSA Tile.png|link=]]
+
[[File:FS Tile.png|link=]]
 
</div><!--
 
</div><!--
   
Line 79: Line 87:
   
 
--><div class="game">
 
--><div class="game">
<span class=year>2002</span>
+
<span class=year>2004</span>
{{FS}}
+
{{FSA}}
[[File:FS Tile.png|link=]]
+
[[File:FSA Tile.png|link=]]
 
</div><!--
 
</div><!--
   
 
--><div class="game">
 
--><div class="game">
<span class=year>2001</span>
+
<span class=year>2005</span>
{{OoS}}
+
{{TMC}}
[[File:OoS Tile.png|link=]]
+
[[File:TMC Tile.png|link=]]
 
</div><!--
 
</div><!--
   
 
--><div class="game">
 
--><div class="game">
<span class=year>2001</span>
+
<span class=year>2006</span>
{{OoA}}
+
{{TP}}
[[File:OoA Tile.png|link=]]
+
[[File:TP Tile.png|link=]]
 
</div><!--
 
</div><!--
   
 
--><div class="game">
 
--><div class="game">
<span class=year>2000</span>
+
<span class=year>2007</span>
{{MM}}
+
{{PH}}
[[File:MM Tile.png|link=]]
+
[[File:PH Tile.png|link=]]
 
</div><!--
 
</div><!--
   
 
--><div class="game">
 
--><div class="game">
<span class=year>1998</span>
+
<span class=year>2009</span>
{{OoT}}
+
{{ST}}
[[File:OoT Tile.png|link=]]
+
[[File:ST Tile.png|link=]]
 
</div><!--
 
</div><!--
   
 
--><div class="game">
 
--><div class="game">
<span class=year>1993</span>
+
<span class=year>2011</span>
{{LA}}
+
{{SS}}
[[File:LA Tile.png|link=]]
+
[[File:SS Tile.png|link=]]
 
</div><!--
 
</div><!--
   
 
--><div class="game">
 
--><div class="game">
<span class=year>1992</span>
+
<span class=year>2013</span>
{{ALttP}}
+
{{ALBW}}
[[File:ALttP Tile.png|link=]]
+
[[File:ALBW Tile.png|link=]]
 
</div><!--
 
</div><!--
   
--><div class="game twoline">
+
--><div class="game">
<span class=year>1988</span>
+
<span class=year>2015</span>
{{TAoL}}
+
{{TFH}}
[[File:TAoL Tile.png|link=]]
+
[[File:TFH Tile.png|link=]]
 
</div><!--
 
</div><!--
   
--><div class="game twoline">
+
--><div class="game">
<span class=year>1987</span>
+
<span class=year>2017</span>
{{TLoZ}}
+
{{BotW}}
[[File:TLoZ Tile.png|link=]]
+
[[File:BotW Tile.png|link=]]
 
</div>
 
</div>
 
</div>
 
</div>
Line 138: Line 146:
   
 
--><div class="game">
 
--><div class="game">
<span class=year>2015</span>
+
<span class=year>1998</span>
{{MM3D}}
+
{{LADX}}
[[File:MM3D Tile.png|link=]]
+
[[File:LADX Tile.png|link=]]
 
</div><!--
 
</div><!--
   
--><div class="game twoline">
+
--><div class="game">
<span class=year>2013</span>
+
<span class=year>2002</span>
  +
{{ALttP&FS}}
[[The Legend of Zelda: The Wind Waker HD|The Wind Waker<br>HD]] <!-- DON'T CHANGE THIS. The text wraps to two lines on some platforms and not on others. This is forcing it to two lines so the code doesn't break. -->
 
[[File:TWWHD Tile.png|link=]]
+
[[File:ALttP&FS Tile.png|link=]]
 
</div><!--
 
</div><!--
   
--><div class="game twoline">
+
--><div class="game">
<span class=year>2011</span>
+
<span class=year>2003</span>
{{FSAE}}
+
{{OoTMQ}}
[[File:FSAE Tile.png|link=]]
+
[[File:MQ Tile.png|link=]]
 
</div><!--
 
</div><!--
   
Line 161: Line 169:
 
</div><!--
 
</div><!--
   
--><div class="game twoline">
+
--><div class="game">
<span class=year>2003</span>
+
<span class=year>2011</span>
  +
{{FSAE}}
[[The Legend of Zelda: Ocarina of Time Master Quest|Ocarina of Time Master Quest]]
 
[[File:MQ Tile.png|link=]]
+
[[File:FSAE Tile.png|link=]]
 
</div><!--
 
</div><!--
   
--><div class="game twoline">
+
--><div class="game">
<span class=year>2002</span>
+
<span class=year>2013</span>
{{ALttP&FS}}
+
{{TWWHD}}
[[File:ALttP&FS Tile.png|link=]]
+
[[File:TWWHD Tile.png|link=]]
 
</div><!--
 
</div><!--
   
--><div class="game twoline">
+
--><div class="game">
<span class=year>1998</span>
+
<span class=year>2015</span>
{{LADX}}
+
{{MM3D}}
[[File:LADX Tile.png|link=]]
+
[[File:MM3D Tile.png|link=]]
</div>
+
</div><!--
  +
  +
--><div class="game">
  +
<span class=year>2016</span>
  +
{{TPHD}}
  +
[[File:TPHD Tile.jpg|link=]]
  +
</div><!--
  +
  +
-->
  +
 
</div>
 
</div>
   
 
|content3=
 
|content3=
 
<div class=spin-offs><!--*************** SPIN-OFFS ***************
 
<div class=spin-offs><!--*************** SPIN-OFFS ***************
  +
  +
--><div class="game">
  +
<span class="year">2016</span>
  +
{{HWL}}
  +
[[File:HWL Tile.png|link=]]
  +
</div><!--
   
 
--><div class="game">
 
--><div class="game">
Line 189: Line 212:
 
</div><!--
 
</div><!--
   
--><div class="game twoline">
+
--><div class="game">
 
<span class="year">2007</span>
 
<span class="year">2007</span>
 
{{LCT}}
 
{{LCT}}
Line 195: Line 218:
 
</div><!--
 
</div><!--
   
--><div class="game twoline">
+
--><div class="game">
 
<span class="year">1989</span>
 
<span class="year">1989</span>
 
[[Zelda (Game & Watch)|Game & Watch Zelda]]
 
[[Zelda (Game & Watch)|Game & Watch Zelda]]
Line 204: Line 227:
   
 
<div class="spin-off-logo">[[File:MainPage Tingle.png|link=Tingle (Series)]]</div><!--
 
<div class="spin-off-logo">[[File:MainPage Tingle.png|link=Tingle (Series)]]</div><!--
--><div class="game twoline">
+
--><div class="game">
<span class="year">2009 [[File:JPflag.png|x12px|link=|Japan only]]</span>
+
<span class="year">2009 [[File:Japan Flag.png|x12px|link=|Japan only]]</span>
{{TBToL}}
+
{{RTBToL}}
 
[[File:TBToL Tile.png|link=]]
 
[[File:TBToL Tile.png|link=]]
 
</div><!--
 
</div><!--
   
--><div class="game twoline">
+
--><div class="game">
<span class="year">2007 [[File:JPflag.png|x12px|link=|Japan only]]</span>
+
<span class="year">2007 [[File:Japan Flag.png|x12px|link=|Japan only]]</span>
{{TBF}}
+
{{TBFDS}}
 
[[File:TBF Tile.png|link=]]
 
[[File:TBF Tile.png|link=]]
 
</div><!--
 
</div><!--
   
--><div class="game twoline">
+
--><div class="game">
<span class="year">2007 [[File:EUflag.png|x12px|link=|Japan and Europe only]]</span>
+
<span class="year">2007 [[File:European Union Flag.png|x12px|link=|Japan and Europe only]]</span>
{{TRR}}
+
{{FPTRR}}
 
[[File:TRR Tile.png|link=]]
 
[[File:TRR Tile.png|link=]]
 
</div>
 
</div>
Line 228: Line 251:
 
--><div class="empty-tile">[[File:Tile Empty.png|link=]]</div><!--Easiest way to center this row
 
--><div class="empty-tile">[[File:Tile Empty.png|link=]]</div><!--Easiest way to center this row
   
--><div class="game twoline">
+
--><div class="game">
<span class="year">1997 [[File:JPflag.png|x12px|link=|Japan only]]</span>
+
<span class="year">1997 [[File:Japan Flag.png|x12px|link=|Japan only]]</span>
 
{{AST}}
 
{{AST}}
 
[[File:AST Tile.png|link=]]
 
[[File:AST Tile.png|link=]]
 
</div><!--
 
</div><!--
   
--><div class="game twoline">
+
--><div class="game">
<span class=year>1995 [[File:JPflag.png|x12px|link=|Japan only]]</span>
+
<span class=year>1995 [[File:Japan Flag.png|x12px|link=|Japan only]]</span>
{{BSLoZ}}
+
{{BSTLoZ}}
 
[[File:BSZ Tile.png|link=]]
 
[[File:BSZ Tile.png|link=]]
 
</div><!--
 
</div><!--
Line 251: Line 274:
 
</div><!--
 
</div><!--
   
--><div class="game twoline">
+
--><div class="game">
 
<span class="year">1993</span>
 
<span class="year">1993</span>
 
{{TWoG}}
 
{{TWoG}}
Line 257: Line 280:
 
</div><!--
 
</div><!--
   
--><div class="game twoline">
+
--><div class="game">
 
<span class="year">1993</span>
 
<span class="year">1993</span>
{{FoE}}
+
{{TFoE}}
 
[[File:FoE Tile.png|link=]]
 
[[File:FoE Tile.png|link=]]
 
</div>
 
</div>
Line 266: Line 289:
 
</div>
 
</div>
   
<div class=categories>
+
<div id="mf-categoryportal" class="categories">
 
==[[:Category:Zelda|Categories]]==
 
==[[:Category:Zelda|Categories]]==
[[File:MainPage Bosses MM3D.png|link=Category:Bosses]]
+
[[File:Main Page TP Bosses.png|link=Category:Bosses]]
[[File:MainPage Characters MM3D.png|link=Category:Characters]]
+
[[File:Main Page TP Characters.png|link=Category:Characters]]
[[File:MainPage Dungeons MM3D.png|link=Category:Dungeons]]
+
[[File:Main Page TP Dungeons.png|link=Category:Dungeons]]
[[File:MainPage Enemies MM3D.png|link=Category:Enemies]]
+
[[File:Main Page TP Enemies.png|link=Category:Enemies]]
[[File:MainPage Events MM3D.png|link=Category:Events]]
+
[[File:Main Page TP Events.png|link=Category:Events]]
[[File:MainPage Items MM3D.png|link=Category:Items]]
+
[[File:Main Page TP Items.png|link=Category:Items]]
[[File:MainPage Locations MM3D.png|link=Category:Places]]
+
[[File:Main Page TP Locations.png|link=Category:Places]]
[[File:MainPage Merchandise MM3D.png|link=Category:Merchandise]]
+
[[File:Main Page TP Merchandise.png|link=Category:Merchandise]]
[[File:MainPage Mini Games MM3D.png|link=Category:Minigames]]
+
[[File:Main Page TP Mini Games.png|link=Category:Minigames]]
[[File:MainPage Races MM3D.png|link=Category:Races]]
+
[[File:Main Page TP Races.png|link=Category:Races]]
[[File:MainPage Side Quests MM3D.png|link=Category:Sidequests]]
+
[[File:Main Page TP Side Quests.png|link=Category:Sidequests]]
[[File:MainPage Songs MM3D.png|link=Category:Songs]]
+
[[File:Main Page TP Songs.png|link=Category:Songs]]
   
[[File:MainPage Listings MM3D.png|center|link=Category:Listings]]
+
[[File:Main Page TP Listings.png|center|link=Category:Listings]]
 
----
 
----
</div><!--
+
</div>
   
 
<div class="infoblock-container">
-->{{#vardefine:infoblock-news|
 
 
<div class="infoblock" id="news">
 
<span class="infoblock-header">Latest News</span>
 
<span class="infoblock-header">Latest News</span>
 
{{#section:Zelda Wiki:Latest Announcements|body}}
 
{{#section:Zelda Wiki:Latest Announcements|body}}
<span style="font-size:80%;">[[Zelda Wiki:Latest Announcements|Announcement archives]]</span>}}<!--
+
<span style="font-size:80%;">[[Zelda Wiki:Latest Announcements|Announcement archives]]</span>
  +
</div>
 
-->{{#vardefine:infoblock-dyk|
+
<div class="infoblock" id="dyk">
 
<span class="infoblock-header">Did You Know...</span>
 
<span class="infoblock-header">Did You Know...</span>
 
{{DYK/A}}
 
{{DYK/A}}
 
{{DYK/B}}
 
{{DYK/B}}
 
{{DYK/C}}
 
{{DYK/C}}
}}
 
{| class="infoblocks largeres"
 
| class="infoblock-news" |
 
{{#var:infoblock-news}}
 
| class="infoblock-separator" |
 
| class="infoblock-dyk" |
 
{{#var:infoblock-dyk}}
 
|}
 
{| class="infoblocks lowres"
 
| class="infoblock-news" |
 
{{#var:infoblock-news}}
 
|-
 
| class="infoblock-separator" |
 
|-
 
| class="infoblock-dyk" |
 
{{#var:infoblock-dyk}}
 
|}
 
<div class=niwabar>
 
{{NIWAnav}}
 
 
</div>
 
</div>
 
<div class="infoblock curse-ad">
  +
<div id="mf-incontentad"></div>
  +
</div>
  +
</div>
 
{{NIWAnav}}
 
</div>
 
</div>
 
<css>
 
<css>
   
/* These media queries handle how the main page behaves at different screen sizes. It will need to be modified with each new game.
+
/* These media queries handle how the main page behaves at different screen sizes. In particular, they assure that floating items (i.e. games and categories) are listed neatly in even "rows".
  +
* Without these styles, these lists may look off at certain screen sizes.
* This is not ideal responsive design by any means. It'll have to do until a more elegant solution presents itself.
+
* These styles may need to be modified with each new game. This is not ideal responsive design by any means. It'll have to do until a more elegant solution presents itself (possibly with JQuery).
 
*/
 
*/
.largeres, .empty-tile {display:none}
+
.empty-tile {display:none}
 
.spin-off-logo{display:block}
 
.spin-off-logo{display:block}
@media screen and (min-width: 950px) {.categories, .main-series {width:750px;} }
+
@media screen and (min-width: 950px) {
  +
.categories {max-width:750px;}
@media screen and (min-width: 1180px) {.categories, .main-series {width:950px;} .lowres {display:none} .largeres {display:block} .spin-off-logo, .empty-tile {display:inline-block} }
 
 
}
@media screen and (min-width: 1650px) {.categories, .main-series {width:1415px;} }
 
@media screen and (min-width: 1720px) {#NIWAnav .body {width:1500px;} }
+
@media screen and (min-width: 1180px) {
  +
.categories, {max-width:950px;}
@media screen and (min-width: 2355px) {.main-series, .infoblocks, #NIWAnav {width:2130px;} #NIWAnav .body{width:auto} }
 
  +
.spin-off-logo, .empty-tile {display:inline-block}
@media screen and (min-width: 3000px) {.categories {width:2750px;} }
 
 
}
  +
@media screen and (max-width: 1350px) {
 
.infoblock#dyk {
  +
order:3;
  +
width:100% !important;
  +
margin-top:2em;
  +
}
  +
#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: 2355px) {
  +
.main-series, .infoblocks, {max-width:2130px;}
 
}
 
@media screen and (min-width: 3000px) {
  +
.categories {max-width:2750px;}
 
}
  +
  +
#content {
 
text-align:center;
  +
}
   
 
#siteNotice, .main-page{
 
#siteNotice, .main-page{
Line 335: Line 369:
   
 
.main-page{
 
.main-page{
font-size:14px;
+
font-size:15px;
 
margin:2em auto;
text-align:center;
 
margin:30px auto;
 
 
width:98%;
 
width:98%;
 
}
 
}
   
  +
#mf-zw-logo {
 
 
margin:0 auto;
  +
}
   
 
/* #################### SEARCH BAR #################### */
 
/* #################### SEARCH BAR #################### */
  +
.bodySearch{
 
  +
.bodySearchWrap {
margin:30px 0 60px;
 
 
height:40px;
 
margin-top:30px;
 
font-size:18px;
 
}
 
}
   
  +
.mw-ui-input {
#bodySearchInput{
 
width:100%;
+
max-width: 600px;
max-width:600px;
+
width: 100%;
  +
font-size:18px;
 
height:35px;
+
height:100%;
 
padding:2px 2px 2px 10px;
 
padding:2px 2px 2px 10px;
 
border-radius:3px;
 
border-radius:3px;
Line 358: Line 396:
 
}
 
}
   
/* Custom search button styling. Based on the button styling from MediaWiki 1.23+ (iirc) */
+
/* Custom search button styling */
  +
.mw-ui-button {
.bodySearchBtnGo{
 
 
-webkit-appearance: none;
 
-webkit-appearance: none;
 
-moz-appearance: none;
 
-moz-appearance: none;
appearance: none;
 
   
  +
height: 100%;
font-size:18px;
 
height: 41px;
 
 
background-color:#ebebeb;
 
background-color:#ebebeb;
 
border-radius: 3px;
 
border-radius: 3px;
Line 377: Line 413:
 
transition: background .1s ease-in-out,color .1s ease-in-out,box-shadow .1s ease-in-out;
 
transition: background .1s ease-in-out,color .1s ease-in-out,box-shadow .1s ease-in-out;
 
}
 
}
  +
 
.bodySearchBtnGo:hover{
+
.mw-ui-button:hover{
 
box-shadow: 0 2px rgba(0,0,0,0.1),inset 0 -4px rgba(0,0,0,0.2);
 
box-shadow: 0 2px rgba(0,0,0,0.1),inset 0 -4px rgba(0,0,0,0.2);
 
}
 
}
  +
 
.bodySearchBtnGo:focus{
+
.mw-ui-button:focus{
 
border:2px solid rgba(0,0,0,0.3);
 
border:2px solid rgba(0,0,0,0.3);
 
border-radius: 4px;
 
border-radius: 4px;
Line 388: Line 424:
 
box-shadow:none;
 
box-shadow:none;
 
}
 
}
  +
 
.bodySearchBtnGo:active{
+
.mw-ui-button:active{
 
box-shadow: 0 0 3px rgba(0,0,0,0.2);
 
box-shadow: 0 0 3px rgba(0,0,0,0.2);
 
background-color:#ccc;
 
background-color:#ccc;
 
}
 
}
   
  +
/* #################### WELCOME TEXT #################### */
 
  +
#mf-welcome-text {
 
margin:3em 0;
  +
}
   
 
/* #################### GAME NAV #################### */
 
/* #################### GAME NAV #################### */
.game-container{
 
margin:50px auto 0;
 
}
 
 
 
.tab{
 
.tab{
 
font-size:18px;
 
font-size:18px;
Line 416: Line 451:
 
color:rgba(255, 255, 255, 0.9); !important;
 
color:rgba(255, 255, 255, 0.9); !important;
 
position:absolute;
 
position:absolute;
bottom:1em;
+
bottom:.5em;
 
left:1em;
 
left:1em;
 
font-size:12px;
 
font-size:12px;
Line 425: Line 460:
 
display:inline-block;
 
display:inline-block;
 
position:relative;
 
position:relative;
text-align:center;
 
 
font-size:0;
 
font-size:0;
 
margin:2px;
 
margin:2px;
Line 435: Line 469:
 
.game a {
 
.game a {
 
width:100%;
 
width:100%;
  +
height:101%;
  +
clip:rect(0px,230px,125px,0px);
  +
/* Overdoing the height by 1% and clipping it off prevents the bug on certain browsers/OSes/screen-zoom-ins where the shadow falls short by a few pixels and doesn't cover the whole image. */
  +
 
display:inline-block;
 
display:inline-block;
 
font-style:normal;
 
font-style:normal;
 
color:white;
 
color:white;
padding-top:48px;
 
padding-bottom:48px;
 
 
position:absolute;
 
position:absolute;
text-align:center;
 
 
line-height:29px;
 
line-height:29px;
 
font-size:25px;
 
font-size:25px;
 
text-decoration:none;
 
text-decoration:none;
 
background-color:rgba(0,0,0, 0.6);
 
background-color:rgba(0,0,0, 0.6);
}
 
   
  +
/* Vertically centers game title text. Flexboxes are not compatible with IE. */
.twoline a {
 
  +
display:flex;
padding-top:34px;
 
  +
flex-direction:column;
padding-bottom:33px;
 
  +
justify-content:center;
 
}
 
}
   
Line 457: Line 492:
 
}
 
}
   
 
.game-container{
.main-series {
 
 
margin:0 auto 3em;
  +
}
  +
 
.main-series, .remakes {
 
margin:0 auto;
 
margin:0 auto;
  +
display:flex;
  +
flex-flow:row-reverse wrap-reverse;
  +
justify-content:center;
 
}
 
}
  +
 
.remakes {
 
.remakes {
 
max-width:1000px;
 
max-width:1000px;
margin:0 auto;
 
}
 
.spin-offs{
 
margin:0 auto;
 
 
}
 
}
  +
 
.categories{
 
.categories{
margin:30px auto 50px;
+
margin:0 auto;
 
text-align:center;
 
}
 
}
   
 
/* #################### NEWS AND DID YOU KNOW BLOCKS #################### */
 
/* #################### NEWS AND DID YOU KNOW BLOCKS #################### */
   
  +
.infoblock-container{
.infoblocks{
 
margin:50px auto 0;
+
margin:3em auto;
  +
display:flex;
  +
justify-content:center;
 
}
 
}
   
  +
.infoblock {
.infoblocks td {
 
text-align: left;
+
text-align:left;
padding: 1em;
+
margin: 0 1em;
 
padding: 1em;
border-radius:5px;
+
border-radius:5px;
background: #1d578b;
+
background: #1d578b;
vertical-align:top;
+
vertical-align:top;
 
}
 
}
   
Line 495: Line 539:
 
}
 
}
   
.infoblock-news {width:39%}
+
.infoblock#dyk {width:60%;}
.infoblock-news dl{display:none;} /* Removes the main text from the announcements (otherwise the block is too bulky) */
 
   
.infoblock-separator {
+
.infoblock#news {
width:1%;
+
width:40%;
background:transparent !important;
 
 
}
 
}
 
.infoblock#news dl{display:none;} /* Removes the main text from the announcements (otherwise the block is too bulky) */
   
.infoblock-dyk {width:60%}
+
.infoblock.curse-ad {
  +
flex-shrink:0;
  +
}
   
  +
#cdm-zone-02 {
.infoblock-news ul li {margin-bottom: 10px;}
 
  +
vertical-align:middle;
.infoblock-dyk ul li {margin-bottom: 20px;}
 
  +
}
   
 
.infoblock#news ul li {margin-bottom: 10px;}
 
.infoblock#dyk ul li {margin-bottom: 20px;}
   
 
/* #################### NIWA NAV #################### */
 
/* #################### NIWA NAV #################### */
   
#NIWAnav {
+
#mf-NIWAnav {
  +
max-width:1650px;
margin:30px auto 0;
 
 
border:none;
 
border:none;
 
border-radius:2px;
 
border-radius:2px;
 
}
 
}
   
#NIWAnav .cell {width:175px; border-radius:5px}
+
#mf-NIWAnav .cell {
  +
width:12em;
  +
border-radius:5px;
  +
}
 
</css>
 
</css>

Revision as of 11:12, 26 October 2016

__NOCACHE__ <htmlet>main-page-fonts</htmlet>

 

Template:Tab2

Latest News


Announcement archives

Did You Know...

Template:NIWAnav

<css>

/* These media queries handle how the main page behaves at different screen sizes. In particular, they assure that floating items (i.e. games and categories) are listed neatly in even "rows".

* Without these styles, these lists may look off at certain screen sizes.
* These styles may need to be modified with each new game. This is not ideal responsive design by any means. It'll have to do until a more elegant solution presents itself (possibly with JQuery).
  • /

.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) {

 .categories, {max-width:950px;} 
 .spin-off-logo, .empty-tile {display:inline-block} 

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

 .infoblock#dyk {
   order:3;
   width:100% !important;
   margin-top:2em;
 }
 #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: 2355px) {

 .main-series, .infoblocks, {max-width:2130px;}

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

  1. content {

text-align:center; }

  1. siteNotice, .main-page{

font-family: 'Open Sans', Helvetica, Tahoma, Arial, sans-serif; }

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

  1. mf-zw-logo {

margin:0 auto; }

/* #################### SEARCH BAR #################### */

.bodySearchWrap { height:40px; margin-top:30px; font-size:18px; }

.mw-ui-input { max-width: 600px; width: 100%;

height:100%; padding:2px 2px 2px 10px; border-radius:3px; border:1px solid #999; }

/* Custom search button styling */ .mw-ui-button { -webkit-appearance: none; -moz-appearance: none;

height: 100%; background-color:#ebebeb; border-radius: 3px; border: 1px solid #999; padding: 2px; width:130px; cursor:pointer;

 -webkit-transition: background .1s ease-in-out,color .1s ease-in-out,box-shadow .1s ease-in-out;
 -moz-transition: background .1s ease-in-out,color .1s ease-in-out,box-shadow .1s ease-in-out;
 -o-transition: background .1s ease-in-out,color .1s ease-in-out,box-shadow .1s ease-in-out;
 transition: background .1s ease-in-out,color .1s ease-in-out,box-shadow .1s ease-in-out;

} ​ .mw-ui-button:hover{

 box-shadow: 0 2px rgba(0,0,0,0.1),inset 0 -4px rgba(0,0,0,0.2);

} ​ .mw-ui-button:focus{

 border:2px solid rgba(0,0,0,0.3);
 border-radius: 4px;
 outline:none;
 box-shadow:none;

} ​ .mw-ui-button:active{

box-shadow: 0 0 3px rgba(0,0,0,0.2);
background-color:#ccc;

}

/* #################### WELCOME TEXT #################### */

  1. mf-welcome-text {
 margin:3em 0;

}

/* #################### GAME NAV #################### */ .tab{ font-size:18px; font-weight:bold; padding:0.5em 1em !important; background-image:none !important; /* It was decided the tab gradient is outdated and tacky. */ border-radius: 2px !important; }

.tab:hover{background-color:#214b71 !important;}

.tab.active{background-color:#153f63 !important;}

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

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

/* "Stretches" the game link over the tile image.

* Relying on pixel sizes is not ideal and makes the design very delicate. Again, it'll have to do until a more elegant solution comes up.
*/

.game a { width:100%; height:101%; clip:rect(0px,230px,125px,0px); /* Overdoing the height by 1% and clipping it off prevents the bug on certain browsers/OSes/screen-zoom-ins where the shadow falls short by a few pixels and doesn't cover the whole image. */

display:inline-block; font-style:normal; color:white; position:absolute; line-height:29px; font-size:25px; text-decoration:none; background-color:rgba(0,0,0, 0.6);

/* Vertically centers game title text. Flexboxes are not compatible with IE. */ display:flex; flex-direction:column; justify-content:center; }

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

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

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

.remakes { max-width:1000px; }

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

/* #################### NEWS AND DID YOU KNOW BLOCKS #################### */

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

.infoblock {

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

}

.infoblock-header {

       font-family:'Bowlby One';
       letter-spacing:1px;

display: block; font-size: 3em;

       line-height:1em;
       padding:0 .5em .2em .5em;

text-transform:uppercase; }

.infoblock#dyk {width:60%;}

.infoblock#news {

 width:40%;

} .infoblock#news dl{display:none;} /* Removes the main text from the announcements (otherwise the block is too bulky) */

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

  1. cdm-zone-02 {

vertical-align:middle; }

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

/* #################### NIWA NAV #################### */

  1. mf-NIWAnav {

max-width:1650px; border:none; border-radius:2px; }

  1. mf-NIWAnav .cell {
 width:12em; 
 border-radius:5px; 

} </css>