changeset 3259:857c551a39dc

html¹¹¿·
author OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
date Wed, 20 Jul 2016 11:09:10 +0900
parents bf993ec25da3
children a8007588d7b5
files event/oasis2016/attack.css event/oasis2016/don/ckgame.rb event/oasis2016/sea/ckgame.rb event/oasis2016/tori/ckgame.rb
diffstat 4 files changed, 47 insertions(+), 68 deletions(-) [+]
line wrap: on
line diff
--- a/event/oasis2016/attack.css	Fri Jul 15 16:23:44 2016 +0900
+++ b/event/oasis2016/attack.css	Wed Jul 20 11:09:10 2016 +0900
@@ -1,18 +1,41 @@
 div.don {
-    position: relative; width: 450px; height: 450px;
+    position: relative; width: 600px; height: 600px;
     border: 1px solid #f9f5a9; margin: 1em auto;
 }
-div.don div {width: 150px; height: 150px; margin: 0px;}
+div.don div {width: 200px; height: 200px; margin: 0px;}
 div.don div:first-child {left: 0px; top: 0px}
-div.don div:nth-child(2) {position: absolute; left: 150px; top: 0px;}
-div.don div:nth-child(3) {position: absolute; left: 300px; top: 0px;}
-div.don div:nth-child(4) {position: absolute; left: 0px; top: 150px;}
-div.don div:nth-child(5) {position: absolute; left: 150px; top: 150px;}
-div.don div:nth-child(6) {position: absolute; left: 300px; top: 150px;}
-div.don div:nth-child(7) {position: absolute; left: 0px; top: 300px;}
-div.don div:nth-child(8) {position: absolute; left: 150px; top: 300px;}
-div.don div:nth-child(9) {position: absolute; left: 300px; top: 300px;}
+div.don div:nth-child(2) {position: absolute; left: 200px; top: 0px;}
+div.don div:nth-child(3) {position: absolute; left: 400px; top: 0px;}
+div.don div:nth-child(4) {position: absolute; left: 0px; top: 200px;}
+div.don div:nth-child(5) {position: absolute; left: 200px; top: 200px;}
+div.don div:nth-child(6) {position: absolute; left: 400px; top: 200px;}
+div.don div:nth-child(7) {position: absolute; left: 0px; top: 400px;}
+div.don div:nth-child(8) {position: absolute; left: 200px; top: 400px;}
+div.don div:nth-child(9) {position: absolute; left: 400px; top: 400px;}
 body{text-align:center;
 background:#f9f5a9;}
 
 
+
+div.tori {
+    position: relative; width: 450px; height: 450px;
+    border: 1px solid #f9f5a9; margin: 1em auto;
+}
+div.tori div {width: 150px; height: 225px; margin: 0px;}
+div.tori div:first-child {left: 0px; top: 0px;}
+div.tori div:nth-child(2) {position: absolute; left: 0px; top: 225px;}
+div.tori div:nth-child(3) {position: absolute; left: 150px; top: 0px;}
+div.tori div:nth-child(4) {position: absolute; left: 300px; top: 0px;;}
+div.tori div:nth-child(5) {position: absolute; left: 150px; top: 225px;}
+div.tori div:nth-child(6) {position: absolute; left: 300px; top: 225px;}
+
+
+div.sea {
+    position: relative; width: 900px; height: 900px;
+    border: 1px solid #f9f5a9; margin: 1em auto;
+}
+div.sea div {width: 150px; height: 150px; margin: 0px;}
+div.sea div:first-child {position: absolute; left: 175px; top: 0px}
+div.sea div:nth-child(2) {position: absolute; left: 175px; top: 151px;}
+div.sea div:nth-child(3) {position: absolute; left: 175px; top: 298px;}
+
--- a/event/oasis2016/don/ckgame.rb	Fri Jul 15 16:23:44 2016 +0900
+++ b/event/oasis2016/don/ckgame.rb	Wed Jul 20 11:09:10 2016 +0900
@@ -92,30 +92,13 @@
 printf(<<-EOF,
 <!DOCTYPE html>
 <html lang="ja">
-<head><title>ã¾ã¡ãŒã„ã¿ã¤ã‘ã§ã¿ã£ã¡ã‚ƒ</title>
-<style type="text/css">
-<!--
-div.don {
-    position: relative; width: 600px; height: 600px;
-    border: 1px solid #f9f5a9; margin: 1em auto;
-}
-div.don div {width: 200px; height: 200px; margin: 0px;}
-div.don div:first-child {left: 0px; top: 0px}
-div.don div:nth-child(2) {position: absolute; left: 200px; top: 0px;}
-div.don div:nth-child(3) {position: absolute; left: 400px; top: 0px;}
-div.don div:nth-child(4) {position: absolute; left: 0px; top: 200px;}
-div.don div:nth-child(5) {position: absolute; left: 200px; top: 200px;}
-div.don div:nth-child(6) {position: absolute; left: 400px; top: 200px;}
-div.don div:nth-child(7) {position: absolute; left: 0px; top: 400px;}
-div.don div:nth-child(8) {position: absolute; left: 200px; top: 400px;}
-div.don div:nth-child(9) {position: absolute; left: 400px; top: 400px;}
-body{text-align:center;
-background:#f9f5a9;}
--->
-</style>
+<head>
+<title>ã¾ã¡ãŒã„ã¿ã¤ã‘ã§ã¿ã£ã¡ã‚ƒ</title>
+<link rel="stylesheet" type="text/css" href="../attack.css">
 </head>
+
 <body>
-<img src="rogo.png" width="900px" height="100px">
+<img src="../img/logo.png" width="900px" height="100px">
 <p>%s</p>
 <h1>%s</h1>
 <h2>%s</h2>
--- a/event/oasis2016/sea/ckgame.rb	Fri Jul 15 16:23:44 2016 +0900
+++ b/event/oasis2016/sea/ckgame.rb	Wed Jul 20 11:09:10 2016 +0900
@@ -79,24 +79,13 @@
 printf(<<-EOF,
 <!DOCTYPE html>
 <html lang="ja">
-<head><title>ã¾ã¡ãŒã„ã¿ã¤ã‘ã§ã¿ã£ã¡ã‚ƒ</title>
-<style type="text/css">
-<!--
-div.don {
-    position: relative; width: 900px; height: 900px;
-    border: 1px solid #f9f5a9; margin: 1em auto;
-}
-div.don div {width: 150px; height: 150px; margin: 0px;}
-div.don div:first-child {position: absolute; left: 175px; top: 0px}
-div.don div:nth-child(2) {position: absolute; left: 175px; top: 151px;}
-div.don div:nth-child(3) {position: absolute; left: 175px; top: 298px;}
-body{text-align:center;
-background:#f9f5a9;}
--->
-</style>
+<head>
+<title>ã¾ã¡ãŒã„ã¿ã¤ã‘ã§ã¿ã£ã¡ã‚ƒ</title>
+<link rel="stylesheet" type="text/css" href="../attack.css">
 </head>
+
 <body>
-<img src="rogo.png" width="900px" height="100px">
+<img src="../img/logo.png" width="900px" height="100px">
 <h1>%s</h1>
 <h2>%s</h2>
 <h2>%s</h2>
--- a/event/oasis2016/tori/ckgame.rb	Fri Jul 15 16:23:44 2016 +0900
+++ b/event/oasis2016/tori/ckgame.rb	Wed Jul 20 11:09:10 2016 +0900
@@ -85,28 +85,12 @@
 printf(<<-EOF,
 <!DOCTYPE html>
 <html lang="ja">
-<head><title>ã¾ã¡ãŒã„ã¿ã¤ã‘ã§ã¿ã£ã¡ã‚ƒ</title>
-<style type="text/css">
-<!--
-div.tori {
-    position: relative; width: 450px; height: 450px;
-    border: 1px solid #f9f5a9; margin: 1em auto;
-}
-div.tori div {width: 150px; height: 225px; margin: 0px;}
-div.tori div:first-child {left: 0px; top: 0px;}
-div.tori div:nth-child(2) {position: absolute; left: 0px; top: 225px;}
-div.tori div:nth-child(3) {position: absolute; left: 150px; top: 0px;}
-div.tori div:nth-child(4) {position: absolute; left: 300px; top: 0px;;}
-div.tori div:nth-child(5) {position: absolute; left: 150px; top: 225px;}
-div.tori div:nth-child(6) {position: absolute; left: 300px; top: 225px;}
-
-body{text-align:center;
-background:#f9f5a9;}
--->
-</style>
+<head>
+<title>ã¾ã¡ãŒã„ã¿ã¤ã‘ã§ã¿ã£ã¡ã‚ƒ</title>
+<link rel="stylesheet" type="text/css" href="../attack.css">
 </head>
 <body>
-<img src="rogo.png" width="900px" height="100px">
+<img src="../img/logo.png" width="900px" height="100px">
 <h1>%s</h1>
 <h2>%s</h2>
 <h2>%s</h2>

yatex.org