/* SPDX-FileCopyrightText: 2023 Sayantan Santra */ /* SPDX-License-Identifier: MIT */ @font-face { font-family: Montserrat; src: url('/assets/Montserrat-VF.woff2'); } :root { color-scheme: light dark; } body { color: light-dark(black, #e8e6e3); background-color: light-dark(white, #181a1b); } .pure-button { background-color: light-dark(#0078e7, #0060b9); } input { border-color: light-dark(#cccccc, #3e4446) !important; box-shadow: light-dark(#dddddd, #2b2f31) 0px 1px 3px inset !important; } ::placeholder { color: light-dark(#757575, #636061); } legend { color: light-dark(#333333, #c8c3bc) !important; border-bottom-color: light-dark(#e5e5e5 ,#373c3e) !important; } * { font-family: Montserrat; } .container { max-width: 1200px; margin: 20px auto auto; } a { color: light-dark(blue, #3391ff); } table tr td div { max-height: 75px; line-height: 25px; word-wrap: break-word; max-width: 575px; overflow: auto; } .pure-table { border-color: light-dark(black, #867d6e); } .pure-table caption { color: light-dark(black, #e8e6e3); } .pure-table thead { color: light-dark(black, #e8e6e3); background-color: light-dark(#e0e0e0, #2a2d2f); } .pure-table td { border-left: none; } td[name="hitsColumn"] { text-align: right; } td[name="deleteBtn"] div { display: flex; align-items: center; justify-content: center; } td[name="deleteBtn"] { text-align: center; } td[name="deleteBtn"] div button { border-radius: 100%; aspect-ratio: 1; border-style: solid; cursor: pointer; display: flex; align-items: center; justify-content: center; font-weight: bold; background-color: transparent; } input { width: 65%; } form input[name="shortUrl"]::placeholder { text-transform: none; } div[name="links-div"] { position: absolute; right: 0.5%; top: 0.5%; } .pure-table { width: 98%; } .pure-table caption { font-size: 22px; text-align: left; font-style: normal; } #logo { font-size: 32px; } #password { width: 100%; margin-bottom: 10px; } #login-dialog { border-radius: 10px; border-width: 2px; } #login-dialog form { text-align: center; } /* Settings for mobile devices */ @media (pointer:none), (pointer:coarse) { .container { max-width: 100vw; } .pure-control-group input { width: 98%; } table tr { border-bottom: 1px solid #999; } table thead { display: none; } table td { display: flex; justify-content: left !important; width: 98vw; padding: .5em .1em !important; } table td::before { content: attr(label); font-weight: bold; width: 120px; min-width: 120px; text-align: left; } .pure-table caption { padding-top: 0px; } }