/* general */ @media (min-width: 300px) and (max-width: 750px) { body { padding: 0; margin: 0; width: 100%; } } @media (min-width: 751px) { body { width: 85%; margin: 8px; margin-left: auto; margin-right: auto; } } body { font-family: sans-serif; } a:link, a:visited { text-decoration: none; color: green; } a:hover { text-decoration: underline; } pre { white-space: pre-line; } h2 { font-size: 125%; margin-bottom: 20px; } /* header */ #ob-header { background-color: #65cb25; height: 26px; padding: 2px; display: flex; align-items: center; justify-content: space-between; img.logo { background-color: white; padding: 2px; border: 2px solid green; height: 18px; } .links { display: flex; align-items: center; .sitename { color: black; } .oddbean-name { font-weight: bold; margin-left: 5px; } .community-rules { font-size: 70%; color: darkmagenta; margin-left: 5px; } .new-post { margin-left: 20px; } } .login { margin-right: 5px; } a:link, a:visited { color: black; } .logout-link:hover { text-decoration: underline; } } #ob-page { padding: 10px 10px 10px 10px; background-color: #f6f6ef; } #ob-footer { margin-top: 30px; padding-top: 20px; border-top: 1px solid #65cb25; text-align: center; } table { width: 100%; th { color: white; background-color: black; } tr:nth-child(odd) { background-color: #fefefe; } tr:nth-child(even) { background-color: #f6f6ef; } td,th { padding: 8px 5px 8px 5px; } td { line-break: anywhere; } } table.horiz { tr td:nth-child(1) { text-align: right; padding-right: 20px; } tr td:nth-child(2) { padding-left: 15px; } } table.vert { tr td:nth-child(1) { text-align: center; } /* tr td:nth-child(2) { padding-left: 15px; } */ } .user-metadata { .user-links { margin-top: 10px; display: flex; flex-direction: row; justify-content: space-evenly; > a { margin: 3px; } } } /* user comments */ .user-comments > div { margin-bottom: 30px; border-bottom: 1px solid black; } /* event */ .event { margin-bottom: 20px; overflow-x: clip; .event-present { display: flex; flex-direction: row; } .event-not-present { color: red; } .header { } .highlight { font-weight: bold; } .abbrev { } .content { padding-left: 25px; } } .event-root { .replies { margin-top: 20px; padding-left: 20px; border-left: 1px dotted black; } } /* new post */ .new-post { .submit-button { margin-top: 20px; margin-bottom: 20px; } .result-message { color: red; text-weight: bold; } } /* communities */ .community-item { margin-bottom: 8px; overflow: hidden; display: flex; flex-direction: row; .left { padding-right: 5px; color: #828282; } .summary > a:link, .summary > a:visited { text-decoration: none; color: black; } .info { padding-top: 5px; font-size: 75%; color: #828282; } } .community-info { h2 { margin-bottom: 10px; font-size: 110%; font-weight: bold; } > div { padding-left: 5px; margin-bottom: 25px; } .desc { white-space: pre-line; } .algo { white-space: pre; font-family: monospace; margin-top: 25px; padding: 10px 10px 10px 10px; background-color: lightgoldenrodyellow; } } /* voting */ .vote-buttons { padding-right: 5px; color: #828282; font-size: 16px; justify-content: flex-start; display: flex; flex-direction: column; > span { margin-bottom: 2px; } }