| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- /**
- * PrivateBin
- *
- * Cascading style sheets for bootstrap 5 template.
- *
- * @link https://github.com/PrivateBin/PrivateBin
- * @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
- * @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
- */
- @import url("../common.css");
- .hidden {
- display: none !important;
- }
- .opacity-05-1-hover {
- opacity: 0.5;
- transition: all 0.15s ease;
- }
- .opacity-05-1-hover:hover {
- opacity: 1;
- }
- .dropdown-menu {
- --bs-dropdown-min-width: 23rem;
- }
- pre {
- margin-bottom: 0;
- }
- [data-bs-theme=light] pre, [data-bs-theme=light] .card {
- background-color: RGBA(var(--bs-light-rgb), var(--bs-bg-opacity, 1));
- }
- li.L0, li.L1, li.L2, li.L3, li.L4, li.L5, li.L6, li.L7, li.L8, li.L9 {
- color: revert !important;
- list-style-type: decimal !important;
- }
- [data-bs-theme=dark] li.L1, [data-bs-theme=dark] li.L3, [data-bs-theme=dark] li.L5,
- [data-bs-theme=dark] li.L7, [data-bs-theme=dark] li.L9 {
- background-color: var(--bs-gray-dark) !important;
- }
- .text-right button {
- float: right;
- }
- html[dir="rtl"] #deletelink, html[dir="rtl"] #qrcodemodalClose {
- float: left;
- }
- #prettyprint {
- padding-right: 30px;
- }
- #sendbutton svg {
- transform: translateY(1.5px);
- }
- /* Markdown rendering */
- #plaintext {
- max-width: 1050px;
- margin: 2rem auto 5rem;
- padding: 0 1.5rem;
- font-size: 16px;
- line-height: 1.7;
- }
- #plaintext h1 {
- margin: 0 0 1.75rem;
- padding-bottom: 0.65rem;
- border-bottom: 2px solid var(--bs-border-color);
- font-size: 2.25rem;
- }
- #plaintext h2 {
- margin: 2.75rem 0 1.25rem;
- padding-bottom: 0.4rem;
- border-bottom: 1px solid var(--bs-border-color);
- font-size: 1.65rem;
- }
- #plaintext h3 {
- margin: 2rem 0 1rem;
- font-size: 1.3rem;
- }
- #plaintext p {
- margin-bottom: 1.15rem;
- }
- #plaintext pre {
- margin: 1rem 0 1.5rem;
- padding: 1rem 1.2rem;
- overflow-x: auto;
- background: var(--bs-tertiary-bg);
- border: 1px solid var(--bs-border-color);
- border-radius: 0.5rem;
- box-shadow: inset 3px 0 0 var(--bs-primary);
- line-height: 1.55;
- }
- #plaintext pre code {
- padding: 0;
- color: var(--bs-body-color);
- background: transparent;
- white-space: pre;
- }
- #plaintext :not(pre) > code {
- padding: 0.15em 0.4em;
- color: var(--bs-body-color);
- background: var(--bs-tertiary-bg);
- border: 1px solid var(--bs-border-color);
- border-radius: 0.3rem;
- }
- #plaintext ul,
- #plaintext ol {
- margin-bottom: 1.25rem;
- }
- #plaintext blockquote {
- padding: 0.5rem 1rem;
- color: var(--bs-secondary-color);
- border-left: 4px solid var(--bs-primary);
- }
- #plaintext table {
- width: 100%;
- margin: 1.5rem 0;
- }
- @media (max-width: 768px) {
- #plaintext {
- margin-top: 1rem;
- padding: 0 1rem;
- font-size: 15px;
- }
- }
|