* { margin: 0; padding: 0; box-sizing: border-box; } body, html { margin: 0; padding: 0; width: 100%; height: 100%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; font-size: 15px; } h1 { margin: 0 0 10px; } a { color: #08f; text-decoration: none; } .desktop a:hover { text-decoration: underline; } .modal { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(255,255,255,0.9); pointer-events: none; opacity: 0; transition: opacity 0.1s; } .modal.visible { pointer-events: auto; opacity: 1; } .inner { position: absolute; top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%) translateZ(0); background: white; box-shadow: 0 1px 1px #888; padding: 20px; } .modal .close { position: absolute; top: 5px; right: 10px; background: white; cursor: pointer; } input[type=date], input[type=time] { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; } input, input[type=submit], button { border: 1px solid #888; color: black; background: white; font-size: 15px; line-height: 1; padding: 5px; margin: 5px; } input[type=submit], button { border-color: black; border-radius: 4px; cursor: pointer; } button.selected { background: black; color: white; } form.create .clear { display: none; } form.update .clear { color: #888; padding-left: 5px; text-decoration: underline; cursor: pointer; } .quiet { color: #888; padding: 5px; } .desktop input[type=submit]:hover, button:hover { color: white; background: black; } .error { color: red; } .group { padding-bottom: 5px; } .groupDate { padding: 5px; font-size: 150%; font-weight: bold; width: 300px; display: inline-block; } .group > .calories { padding: 5px; } .isOverLimit { font-weight: bold; color: #800; } .isUnderLimit { color: #084; } .row > .remove { display: none; } .row.canEdit:hover > .remove { display: inline-block; color: #888; cursor: pointer; } .row > div:first-child { width: 300px; font-size: 100%; } .row .calories { color: #888; font-style: italic; } .row > div { font-size: 80%; } .menu { width: 100%; } .menu li { list-style-type: none; display: inline-block; padding: 5px; } .row div { display: inline-block; min-width: 100px; padding: 5px; } .email.active { font-weight: bold; } .role.admin { font-weight: bold; }