diff --git a/css/base.css b/css/base.css index 7d4048d..00cb088 100644 --- a/css/base.css +++ b/css/base.css @@ -31,10 +31,6 @@ background: #202020; } -.dark .code { - color: var(--color-content-high); -} - html:not(.dark) .card.\@low:not(.\~neutral):not(.\~positive):not(.\~urge):not(.\~warning):not(.\~info):not(.\~critical) { --color-fill: va(--color-fill); --color-content: var(--color-content); @@ -92,11 +88,6 @@ html:not(.dark) .card.\@low:not(.\~neutral):not(.\~positive):not(.\~urge):not(.\ padding: var(--spacing-4,1rem); } -.modal-content .banner { - margin-left: calc(-1 * var(--spacing-4,1rem) - 0.5%); /* Not sure why this is necessary */ - margin-right: calc(-1 * var(--spacing-4,1rem) - 0.5%); -} - div.card:contains(section.banner.footer) { padding-bottom: 0px; } @@ -133,20 +124,11 @@ div.card:contains(section.banner.footer) { align-items: top; } -.flex { - display: flex; -} - .flex-expand { display: flex; justify-content: space-between; } -.flex-row { - display: flex; - flex-direction: row; -} - .flex-row-group { display: block; flex-grow: 1; diff --git a/css/modal.css b/css/modal.css index 3f27a99..ef6536e 100644 --- a/css/modal.css +++ b/css/modal.css @@ -10,56 +10,6 @@ background-color: rgba(0,0,0,40%); } -.modal-shown { - display: block; -} - -@keyframes modal-hide { - from { opacity: 1; } - to { opacity: 0; } -} - -.modal-hiding { - animation: modal-hide 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); -} - -@keyframes modal-content-show { - from { - opacity: 0; - top: -6rem; - } - to { - opacity: 1; - top: 0; - } -} - -.modal-content { - position: relative; - margin: 10% auto; - width: 30%; -} - -.modal-content.wide { - width: 60%; -} - -.modal-shown .modal-content { - animation: modal-content-show 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); -} - -@media screen and (max-width: 1000px) { - .modal-content.wide { - width: 75%; - } -} - -@media screen and (max-width: 400px) { - .modal-content, .modal-content.wide { - width: 90%; - } -} - .modal-close { float: right; color: #aaa; diff --git a/html/admin.html b/html/admin.html index 97567dd..67b1414 100644 --- a/html/admin.html +++ b/html/admin.html @@ -23,7 +23,7 @@