Mercurial Hosting > lang
view src/site.css @ 57:7c31604ce3fc
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 17 Aug 2025 18:40:33 +0900 |
parents | 85c5f62070d8 |
children | ff7e5a8b649a |
line wrap: on
line source
* { box-sizing: border-box; } body { font-family: Sans-Serif; margin: 0; } a { text-decoration: none; outline: none; } a:hover { text-decoration: underline; } button, img[onclick], label[clickable], input[type="radio"], input[type="submit"] { cursor: pointer; } div[header] { font-size: 14px; background-color: #ddd; padding: 8px 3%; display: flex; justify-content: space-between; z-index: 1; position: fixed; top: 0; left: 0; right: 0; } div[padding] { height: 32px; } [content] { margin-left: 3%; margin-right: 3%; margin-bottom: 2em; } @media print { div[header], div[padding] { display: none; } } span[pulldown] { position: relative; } span[pulldown] > div { display: none; right: 100%; z-index: 2; position: absolute; border: 1px solid #cccccc; border-radius: 4px; text-align: left; background-color: #eeeeee; padding: 5px 0; } span[pulldown] > div > span, span[pulldown] > div > a { white-space: nowrap; display: block; padding: 8px 16px; cursor: pointer; color: black; } span[pulldown] > div > span:hover, span[pulldown] > div > a:hover { color: #ffffff; background-color: #428bca; text-decoration: none; } ruby rt { user-select: none; } pre, code { white-space: pre-wrap; } audio { max-height: 34px; } div[role] div[controls] { display: flex; gap: 16px; align-items: center; }