OSDN Git Service

BugTrack/2390 Responsive images
[pukiwiki/pukiwiki.git] / skin / pukiwiki.css
index 138ae0c..75e2a77 100644 (file)
@@ -24,6 +24,11 @@ body,td {
   font-size:90%;
   font-family:verdana, arial, helvetica, Sans-Serif;
 }
+@media (max-width:767px) {
+  body,td {
+    font-size:100%;
+  }
+}
 
 a:link {
   color:#215dc6;
@@ -340,11 +345,15 @@ strong.word9 {
 .edit_form {
   clear:both;
 }
+.edit_form textarea,.edit_form select {
+  width:95%;
+}
 
 /* pukiwiki.skin.php */
 div#header {
   padding:0;
   margin:0;
+  word-break:break-all;
 }
 
 div#navigator {
@@ -370,6 +379,12 @@ div#menubar {
   order:1;
   flex-grow:0;
 }
+@media (max-width:767px) {
+  div#menubar {
+    font-size:100%;
+  }
+}
+
 div#menubar ul {
   margin:0 0 0 .5em;
   padding:0 0 0 .5em;
@@ -400,6 +415,10 @@ div#body {
   div#body {
     order:1;
   }
+  div#body img {
+    max-width:95%;
+    height:auto;
+  }
 }
 
 div#note {
@@ -702,6 +721,27 @@ tr.bugtrack_state_cancel td {
 tr.bugtrack_state_undef td {
   background-color:#ff3333;
 }
+._p_bugtrack_form_summary {
+  width:35em;
+}
+._p_bugtrack_form_body {
+  width:35em;
+}
+
+@media (max-width:767px) {
+  table._p_bugtrack_form th,table._p_bugtrack_form td {
+    display:block;
+    text-align:left;
+    margin-left:2%;
+  }
+  ._p_bugtrack_form_summary {
+    width:95%;
+  }
+  ._p_bugtrack_form_body {
+    width:95%;
+    height:6em;
+  }
+}
 
 /* search2.inc.php  */
 .search-result-page-summary {