Difference between revisions of "Team:Tianjin/hahaha"

Line 9: Line 9:
 
#content {width: 100%;  background: transparent; margin: 0; padding: 0; }
 
#content {width: 100%;  background: transparent; margin: 0; padding: 0; }
 
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5  { margin-bottom: 2px; }
 
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5  { margin-bottom: 2px; }
         #top_menu_under {
+
         #top_menus_under {
 
                 height: 0px;
 
                 height: 0px;
 
                 border-bottom: 0 none;
 
                 border-bottom: 0 none;
Line 15: Line 15:
 
       }
 
       }
  
         #top_menu_14 {
+
         #top_menus_14 {
 
                 height: 24px;
 
                 height: 24px;
 
                 border-bottom: 0 none;
 
                 border-bottom: 0 none;
Line 36: Line 36:
 
}
 
}
  
#sideMenu .mainMenu_Title, #sideMenu .mainMenu_toggle, #sideMenu #MainPage_menu ul li li {
+
#sideMenu .mainMenu_Title, #sideMenu .mainMenu_toggle, #sideMenu #MainPage_menus ul li li {
 
border: none;
 
border: none;
 
}
 
}
Line 44: Line 44:
 
}
 
}
  
#top_menu_inside .submenu {
+
#top_menus_inside .submenus {
 
width: auto;
 
width: auto;
 
}
 
}
Line 100: Line 100:
 
}
 
}
 
/* All screens style */
 
/* All screens style */
#gameover a,#setting a,#menu a {
+
#gameover a,#setting a,#menus a {
 
display:block;
 
display:block;
 
}
 
}
#gameover a,#setting a:hover,#menu a:hover {
+
#gameover a,#setting a:hover,#menus a:hover {
 
cursor:pointer;
 
cursor:pointer;
 
}
 
}
#gameover a:hover::before,#setting a:hover::before,#menu a:hover::before {
+
#gameover a:hover::before,#setting a:hover::before,#menus a:hover::before {
 
content:">";
 
content:">";
 
margin-right:10px;
 
margin-right:10px;
 
}
 
}
 
/* Menu Screen Style */
 
/* Menu Screen Style */
#menu {
+
#menus {
 
display:block;
 
display:block;
 
width:340px;
 
width:340px;
Line 122: Line 122:
 
color:#FFF;
 
color:#FFF;
 
}
 
}
#menu h2 {
+
#menus h2 {
 
-webkit-animation:logo-ani 1000ms linear infinite;
 
-webkit-animation:logo-ani 1000ms linear infinite;
 
animation:logo-ani 1000ms linear infinite;
 
animation:logo-ani 1000ms linear infinite;
 
margin-bottom:30px;
 
margin-bottom:30px;
 
}
 
}
#menu a {
+
#menus a {
 
font-size:30px;
 
font-size:30px;
 
}
 
}
Line 232: Line 232:
  
 
<!-- Main Menu Screen -->
 
<!-- Main Menu Screen -->
<div id="menu">
+
<div id="menus">
 
     <h2>Snake</h2>
 
     <h2>Snake</h2>
  
     <a id="newgame_menu">new game</a>
+
     <a id="newgame_menus">new game</a>
     <a id="setting_menu">settings</a>
+
     <a id="setting_menus">settings</a>
 
</div>
 
</div>
  

Revision as of 12:25, 1 November 2017

<!doctype html> /* OVERRIDE IGEM SETTINGS */

Snake

Score: 0

Game Over

press space to begin a

new game settings

Settings

new game

Speed:

Wall: