@charset "UTF-8";

/*!
 * PukiWiki - Yet another WikiWikiWeb clone.
 * Copyright
 *   2002-2017 PukiWiki Development Team
 *   2001-2002 Originally written by yu-ji
 * License: GPL v2 or (at your option) any later version
 *
 * Default CSS
 */

/*!
 * Milligram v1.3.0
 * https://milligram.github.io
 *
 * Copyright (c) 2017 CJ Patoilo
 * Licensed under the MIT license
 */

@media (max-width: 555px) {

  body {
    -webkit-text-size-adjust:none;
    font-size:16px;
    font-size:-webkit-calc(11px + 5 * (100vw - 320px)/704);
    font-size:        calc(11px + 5 * (100vw - 320px)/704);
  }

  input,textarea,select {
    font-size:16px;
  }

  input[type="file"],input[type="reset"],input[type="submit"] {
    font-size:inherit;
  }

  textarea[name="msg"] {
    height:50vw;
  }

  p#search_simple {
    visibility:hidden;
  }

  div.ie5 {
    overflow-x:auto;
    white-space:pre;
  }

  div#navigator {
    display:none;
  }
  
  div#navigator span {
    display:none;
  }

  div#navigator-sp {
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:center;
    padding:2em 0 1em;
  }

  div#navigator-sp span {
    font-size:10vw;
    padding:0 3vw;
  }

  #pagebottom span {
    display:none;
  }

  #pagebottom-sp span {
    display:inline;
    bottom:16vh;
    right:7vw;
    font-weight:bold;
    font-size:10vw;
    position:fixed;
    z-index:1001;
    opacity:0.2;
  }
  
  #pagetop span {
    display:inline;
    bottom:4vh;
    right:7vw;
    font-weight:bold;
    font-size:10vw;
    position:fixed;
    z-index:1000;
    opacity:0.2;
  }

  .container {
    margin:0;
  }

  .row {
    display:flex;
    flex-direction:column;
    padding:0;
    width:100%;
  }

  .row .column {
    display:block;
    flex:1 1 auto;
    margin-left:0;
    padding:0;
    min-width:0;
    max-width:100%;
    width:100%;
  }

  .row .column-menu {
    display:block;
    flex:1 1 auto;
    margin-left:0;
    padding:0;
    min-width:0;
    max-width:100%;
    width:100%;
  }
}
