s4

changeset 185:78914c16b41c

Use property of pre-wrap
author HIROSE Yuuji <yuuji@gentei.org>
date Wed, 02 Mar 2016 22:23:53 +0900
parents 6f4fd4fadcfe
children fb05a0504425
files examples/common/default/default.css
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/examples/common/default/default.css	Tue Mar 01 19:02:24 2016 +0900
     1.2 +++ b/examples/common/default/default.css	Wed Mar 02 22:23:53 2016 +0900
     1.3 @@ -29,6 +29,9 @@
     1.4  table.form, table.b, table.b tr, table.b td, table.b th {
     1.5    border: 1px solid black; border-collapse: collapse;
     1.6  }
     1.7 +table.b, table.bloghead {
     1.8 +    border-radius: 1ex; box-shadow: rgb(250,222,222) 1px 2px 3px;
     1.9 +}
    1.10  td.warn {background: #fcc;}
    1.11  input[type="checkbox"][name="rm"]:checked ~ table {background: red;}
    1.12  input[type="checkbox"][name="rm"] ~ span {display: none;}
    1.13 @@ -72,10 +75,11 @@
    1.14  
    1.15  table.blog_replies, .blog_replies tr, .blog_replies td {
    1.16      border: 1px solid black; border-collapse: collapse;
    1.17 -    white-space: pre;
    1.18 +    white-space: pre-wrap;
    1.19  }
    1.20  .blog_replies td:nth-child(2) {
    1.21      vertical-align: top; min-width: 30em; height: 3em;
    1.22 +    max-width: 50em;
    1.23  }
    1.24  p.profimg {float: left; max-width: 400px; max-height: 400px;
    1.25  	   overflow: hidden; margin-right: 1em;