Hanlin_Huang-main #8

Merged
sangge merged 4 commits from Hanlin_Huang-main into main 2023-12-24 22:19:51 +08:00
9 changed files with 16 additions and 16 deletions
Showing only changes of commit 8ddc8ad3cf - Show all commits

View File

@ -73,7 +73,7 @@
<!-- foods elements --> <!-- foods elements -->
<div id="champagne" class="dish"> <div id="champagne" class="dish">
<img src="asset/pic/louis16/Champagne.png" alt="香槟" <img src="asset/pic/alexander/greek_salad.png" alt="香槟"
onclick="handleClick('cham');"> onclick="handleClick('cham');">
</div> </div>
<div id="cheese" class="dish"> <div id="cheese" class="dish">

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

BIN
asset/pic/nixon/burger.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 MiB

BIN
asset/pic/nixon/hot_dog.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

View File

@ -131,7 +131,7 @@
top:100px !important; top:100px !important;
display: none; display: none;
} }
#champagne img{ /* 香槟 */ # img{ /* 香槟 */
left: -10px; left: -10px;
display: none; display: none;

View File

@ -3,11 +3,11 @@
background-repeat: no-repeat; background-repeat: no-repeat;
background-color: rgb(0, 136, 109); background-color: rgb(0, 136, 109);
} }
#desktop{ #desk{
position: absolute; position: absolute;
background-repeat: no-repeat; background-repeat: no-repeat;
} }
#desktop img{ #desk img{
left: -10px; left: -10px;
top: -10px; top: -10px;
position: absolute; position: absolute;
@ -131,24 +131,24 @@
top:100px !important; top:100px !important;
display: none; display: none;
} }
#champagne img{ /* 香槟 */ #burger img{
left: -10px; left: -10px;
display: none; display: none;
} }
#cheese img{ /* 芝士 */ #hot_dog img{
left: 170px; left: 170px;
display: none; display: none;
} }
#crepe img{ #apple_pie img{
left: 380px; left: 380px;
display: none; display: none;
} }
#foie-gras img{ #fried_chicken img{
left: 590px; left: 590px;
display: none; display: none;
} }
#onion-soup img{ #pancakes img{
left: 750px; left: 750px;
top: 719px!important; top: 719px!important;
width: 181px!important; width: 181px!important;

View File

@ -3,7 +3,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>路易十六餐厅</title> <title>尼克松餐厅</title>
<link rel="stylesheet" type="text/css" href="css/nixongame.css"> <link rel="stylesheet" type="text/css" href="css/nixongame.css">
</head> </head>
@ -15,7 +15,7 @@
<!-- 游戏的界面元素 --> <!-- 游戏的界面元素 -->
<div id="restaurant"> <div id="restaurant">
<div id="desktop"> <div id="desktop">
<img src="asset/pic/louis16/LouisXVI_RestaurantTable.png" alt="desktop"> <img src="asset/pic/nixon/desk.png" alt="desktop">
</div> </div>
<!-- empires elements--> <!-- empires elements-->
@ -73,23 +73,23 @@
<!-- foods elements --> <!-- foods elements -->
<div id="champagne" class="dish"> <div id="champagne" class="dish">
<img src="asset/pic/louis16/Champagne.png" alt="香槟" <img src="asset/pic/nixon/burger.png" alt="burger"
onclick="handleClick('cham');"> onclick="handleClick('cham');">
</div> </div>
<div id="cheese" class="dish"> <div id="cheese" class="dish">
<img src="asset/pic/louis16/BrieCheese.png" alt="芝士" <img src="asset/pic/nixon/hot_dog.png" alt="hot_dog"
onclick="handleClick('cheese');"> onclick="handleClick('cheese');">
</div> </div>
<div id="crepe" class="dish"> <div id="crepe" class="dish">
<img src="asset/pic/louis16/Crepe.png" alt="雪糕" <img src="asset/pic/nixon/apple_pie.png" alt="apple_pie"
onclick="handleClick('crepe');"> onclick="handleClick('crepe');">
</div> </div>
<div id="foie-gras" class="dish"> <div id="foie-gras" class="dish">
<img src="asset/pic/louis16/FoieGras.png" alt="肥肝" <img src="asset/pic/nixon/fried_chicken.png" alt="fried_chicken"
onclick="handleClick('foiegras');"> onclick="handleClick('foiegras');">
</div> </div>
<div id="onion-soup" class="dish"> <div id="onion-soup" class="dish">
<img src="asset/pic/louis16/FrenchOnionSoup.png" alt="洋葱汤" <img src="asset/pic/nixon/pancakes.png" alt="pancakes"
onclick="handleClick('onionsoup');"> onclick="handleClick('onionsoup');">
</div> </div>
</div> </div>