• R/O
  • HTTP
  • SSH
  • HTTPS

pybbs: コミット

無料の掲示板


コミットメタ情報

リビジョンda9f2b1cf70fa20466a0229255c55abef8c3ae95 (tree)
日時2017-10-01 17:57:02
作者yamat0jp <yamat0jp@yaho...>
コミッターyamat0jp

ログメッセージ

tablet に対応

変更サマリ

差分

--- a/static/css/main.css
+++ b/static/css/main.css
@@ -47,13 +47,13 @@ header p {
4747 display:inline
4848 }
4949
50-@media only screen and (min-width:599px){
50+@media only screen and (min-width:900px){
5151 header textarea {
5252 width:100%;
5353 height:150px;
5454 }
5555 }
56-@media only screen and (max-width:599px){
56+@media only screen and (max-width:899px){
5757 header textarea {
5858 width:70%;
5959 height:90px
--- a/static/css/top.css
+++ b/static/css/top.css
@@ -1,31 +1,24 @@
1-@media only screen and (min-width:599px){
2-.slideshow {
3- background-color:rgb(225,225,225);
4- height:465px;
5- min-width:960px;
6- overflow:hidden;
7- position:relative
1+@media only screen and (min-width:900px){
2+.slideshow-nav a.prev {
3+ margin-left:-480px
4+ }
5+.slideshow-nav a.next {
6+ margin-left:408px
87 }
8+}
9+@media only screen and (min-width:600px)
10+and (max-width:899px){
911 .slideshow .slide img {
10- float:right;
11- height:465px
12+ display:none
1213 }
1314 .slideshow-nav a.prev {
14- margin-left:-480px
15+ margin-left:-300px
1516 }
1617 .slideshow-nav a.next {
17- margin-left:408px
18+ margin-left:200px
1819 }
1920 }
20-
2121 @media only screen and (max-width:599px){
22-.slideshow {
23- background-color:rgb(225,225,225);
24- width:100%;
25- height:465px;
26- overflow:hidden;
27- position:relative
28- }
2922 .slideshow .slide img {
3023 display:none
3124 }
@@ -36,12 +29,21 @@
3629 margin-left:100px
3730 }
3831 }
32+
3933 .slideshow-slides {
4034 height:100%;
4135 position:absolute;
4236 width:100%;
4337 }
4438
39+.slideshow {
40+ background-color:rgb(225,225,225);
41+ width:100%;
42+ height:465px;
43+ overflow:hidden;
44+ position:relative
45+}
46+
4547 .slideshow-slides .slide {
4648 height:100%;
4749 overflow:auto;
--- a/templates/top.htm
+++ b/templates/top.htm
@@ -4,7 +4,7 @@
44 <meta charset=utf-8 name="google-site-verification" content="5KOTJTKv1HgTtIt0zVGzuyAkADCwXRme-RiiKJ03l3s" />
55 <meta http-equiv="X-UA-Compatible" content="IE=edge">
66 <title>Top Page</title>
7- <link rel=stylesheet href='static/css/top.css'>
7+ <link rel=stylesheet href=/static/css/top.css>
88 <link rel=stylesheet href={{static_url('css/normalize.css')}}>
99 <script src={{static_url('js/jquery-1.10.2.min.js')}}></script>
1010 <script src={{static_url('js/top.js')}}></script>
@@ -28,7 +28,7 @@
2828 {% for x in coll %}
2929 {% if d % i == 0 %}
3030 <div class=slide>
31- <img src={{static_url('img/slide{0}.jpg'.format(1+d//i))}}>
31+ <img src={{static_url('img/slide{0}.jpg'.format(1+d//i))}} style=float:right;height:465px>
3232 {% end %}
3333 {% set d += 1 %}
3434 {% if full(x) == True %}
旧リポジトリブラウザで表示