diff --git a/css/bootstrap/privatebin.css b/css/bootstrap/privatebin.css index 74ea788a..f986b835 100644 --- a/css/bootstrap/privatebin.css +++ b/css/bootstrap/privatebin.css @@ -69,47 +69,8 @@ body.loading { margin-right: 8px; } -#qrcodemodalClose { - float: right; -} - -#qrcode-display { - width: 200px; - height: 200px; - margin: auto; -} - -#pastelink { - display: inline; -} - -#pastelink > a { - word-wrap: break-word; -} - -#message { - height: 70dvh; -} - -@media ((max-width: 450px) and (max-height: 950px)) { - #message { - height: 55dvh; - } -} - -#message, .replymessage { - font-family: monospace; - resize: vertical; -} - -#nickname { - margin: 5px 0; -} - .comment { - border-left: 1px solid #ccc; padding: 5px 0 5px 10px; - transition: background-color 0.75s ease-out; } footer h4 { diff --git a/css/bootstrap5/privatebin.css b/css/bootstrap5/privatebin.css index f486869d..211cfbd2 100644 --- a/css/bootstrap5/privatebin.css +++ b/css/bootstrap5/privatebin.css @@ -14,44 +14,6 @@ display: none !important; } -#qrcodemodalClose { - float: right; -} - -#qrcode-display { - width: 200px; - height: 200px; - margin: auto; -} - -#pastelink { - display: inline; -} - -#pastelink > a { - word-wrap: break-word; -} - -#message { - height: 70dvh; -} - -@media ((max-width: 450px) and (max-height: 950px)) { - #message { - height: 55dvh; - } -} - -#message, .replymessage { - font-family: monospace; - resize: vertical; -} - -.comment { - border-left: 1px solid #ccc; - transition: background-color 0.75s ease-out; -} - .dropdown-menu { --bs-dropdown-min-width: 23rem; } diff --git a/css/common.css b/css/common.css index d44530e0..5a488d54 100644 --- a/css/common.css +++ b/css/common.css @@ -38,27 +38,65 @@ outline-offset: -50px; } -.dragAndDropFile { - color: #777; - font-size: 1em; - display: inline; - white-space: normal; -} - #filewrap { transition: background-color 0.75s ease-out; } -.highlight { - background-color: #fd8; - transition: background-color 0.2s ease-in; -} - #deletelink { float: right; margin-left: 5px; } +#qrcodemodalClose { + float: right; +} + +#qrcode-display { + width: 200px; + height: 200px; + margin: auto; +} + +#pastelink { + display: inline; +} + +#pastelink > a, #plaintext > a { + word-wrap: break-word; +} + +#message { + height: 70dvh; +} + +@media ((max-width: 450px) and (max-height: 950px)) { + #message { + height: 55dvh; + } +} + +#message, .replymessage { + font-family: monospace; + resize: vertical; +} + +.comment { + border-left: 1px solid #ccc; + transition: background-color 0.75s ease-out; +} + .commentdata { white-space: pre-wrap; } + +.dragAndDropFile { + color: #777; + font-size: 1em; + display: inline; + white-space: normal; +} + +.highlight { + background-color: #fd8; + transition: background-color 0.2s ease-in; +}