X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1606b7fa632d87b954f086c4cd0fa0fa2fd17f40..a8930abf977175e1034465cb4e93d4d3673e366c:/cookbooks/planet/files/default/html/style.css diff --git a/cookbooks/planet/files/default/html/style.css b/cookbooks/planet/files/default/html/style.css index 600622fa2..26dfdb8b1 100644 --- a/cookbooks/planet/files/default/html/style.css +++ b/cookbooks/planet/files/default/html/style.css @@ -1,22 +1,59 @@ -body, -table#about tr * -{ +body { font-family: sans-serif; line-height: 1.25em; + margin: 2em; + min-width: 350px; + max-width: 1100px; } -body { margin: 2em; } img#logo { float: left; } img#logo, h1 { margin: 0 1em 0 0; } -a { white-space: nowrap; } li { margin-bottom: 1em; } -body>p { width: 42em; } -table#about -{ - clear: left; - margin: 3em 0 2em 0; +p, li {color: #333;} + +#about { + display: flex; + flex-direction: row; + width: 100%; +} + +#about > div { + padding-right: 2em; + flex: 1; +} + +@media(max-width: 900px) { + body { + margin: 20px 10px; + } + + img#logo { + width: 64px; + height: 64px; + } + + #about { + flex-direction: column; + } + + #about > div { + padding-right: 0; + } + + pre { + width: 100%; + overflow: scroll; + } +} + +ul { + padding-left: 1em; +} + +ul li { + margin-bottom: 0.3em; } table tr th { text-align: left; } @@ -54,8 +91,11 @@ table#about tr td } .alert { + clear: both; padding: 20px; background-color: #ff9800; /* Orange */ color: white; - margin-bottom: 15px; + margin: 15px auto; + max-width: 42em; + border-radius: 4px; }