Mercurial > hgrepos > hgweb.cgi > s4
diff examples/common/default/default.css @ 185:78914c16b41c
Use property of pre-wrap
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Wed, 02 Mar 2016 22:23:53 +0900 |
parents | f7b4f7e5df2a |
children | ba6c2c3c0373 |
line wrap: on
line diff
--- a/examples/common/default/default.css Tue Mar 01 19:02:24 2016 +0900 +++ b/examples/common/default/default.css Wed Mar 02 22:23:53 2016 +0900 @@ -29,6 +29,9 @@ table.form, table.b, table.b tr, table.b td, table.b th { border: 1px solid black; border-collapse: collapse; } +table.b, table.bloghead { + border-radius: 1ex; box-shadow: rgb(250,222,222) 1px 2px 3px; +} td.warn {background: #fcc;} input[type="checkbox"][name="rm"]:checked ~ table {background: red;} input[type="checkbox"][name="rm"] ~ span {display: none;} @@ -72,10 +75,11 @@ table.blog_replies, .blog_replies tr, .blog_replies td { border: 1px solid black; border-collapse: collapse; - white-space: pre; + white-space: pre-wrap; } .blog_replies td:nth-child(2) { vertical-align: top; min-width: 30em; height: 3em; + max-width: 50em; } p.profimg {float: left; max-width: 400px; max-height: 400px; overflow: hidden; margin-right: 1em;