body { background-image: url("../images/bg.jpeg"); background-size: cover; background-repeat: no-repeat; background-attachment: fixed; background-position: center; font-family: serif; padding: 0; margin: 0; min-height: calc(100vh); text-align: center; } .header { background-image: url("../images/banner.png"); background-size: contain; background-repeat: no-repeat; background-position: center; width: 1000px; height: 300px; margin: auto; } .mc { display: inline-flex; flex-direction: row; flex-wrap: wrap; width: 1000px; border: solid 1px cecece; padding: 2px; text-align: initial; } .sidebar { /* padding: 20px; */ overflow-x: hidden; overflow-y: auto; min-width: 15rem; max-width: 15rem; } /* COLORS SECTION ACCORIDING TO DARK MODE */ h1, h2, h3, h4, h5, h6, p, a, li, span, label, footer, .table { color: #cecece; } a { color: #8278ed; } /* a:visited { color: #b894dc; } */ svg { filter: invert(1); } fieldset, legend { color: #cecece; } .sidebar-lg { min-width: 20rem; max-width: 20rem; } .sidebar-bg-blue { background-color: #bad9ff; } .sidebar-border { border: 1px solid #e6e6e6; } .content { flex: 1; padding: 9px 20px 20px 20px; overflow-x: hidden; overflow-y: auto; min-height: calc(100vh - 40px); } .title:visited { color: #cecece; } .title > h1 { font-size: 1.2rem; font-weight: bold; margin-top: 0; } .title { display: block; } .title > img { width: 10rem; height: 3.23rem; display: block; margin: 0px auto 10px auto; pointer-events: none; } .alert { background-color: #0c1221; padding: 20px; border: 1px solid #cecece; } lebel, input, textarea, select { display: block; margin: 5px 0px; font-family: serif; font-size: 16px; } input, textarea { background-color: rgb(17, 17, 17); color: #cecece; } input[type = 'submit'] { margin-top: 10px; } fieldset { border: 1px solid #cecece; padding: 10px 20px; } nav > ul { list-style: none; padding: 0; margin: 0; } nav > ul > li { margin: 5px 0; } .center { text-align: center; } .login-box { padding: 20px; border: 1px solid #cecece; } .login-box > p { margin-top: 0; margin-bottom: 10px; } .error { color: rgb(255, 81, 81); } .success { color: green; } .alert.success { color: #d4ffbd; padding: 10px; background-color: rgb(5, 74, 5); font-weight: bold; } .alert.error { color: #ffbdbd; padding: 10px; background-color: rgb(74, 5, 5); font-weight: bold; } .account { display: flex; flex-direction: row; flex-wrap: wrap; } .ac-sidebar { padding: 20px; overflow-x: hidden; overflow-y: auto; } .ac-main { flex: 1; padding: 20px; overflow-x: hidden; overflow-y: auto; } .errorbox { background-color: #191919; padding: 20px; border: 1px solid #ffd4bd; } .errorbox > h1 { margin-top: 0; } #captcha { display: flex; flex-direction: row; } #captcha > img:nth-child(1) { height: 60px; margin-right: 10px; } #captcha > img:nth-child(2) { height: 30px; transform: translateY(15px); cursor: pointer; } .float-right { /* Float to the top right corner */ position: absolute; top: 2.5em; right: 23.85rem; } .table { border-collapse: collapse; width: 100%; margin-top: 10px; } /* Add borders to all cells */ .table, .table th, .table td { border: 1px solid #cecece; } .table-striped > tbody > tr:nth-child(odd) { background-color: #0000007a; } summary { cursor: pointer; font-size: 1.2rem; font-weight: bold; margin-top: 1em; } .disabled { color: #aaa; cursor: not-allowed; } .label { width: 100%; display: inline-block; height: 100%; position: absolute; top: 0; left: 0; } .label-success { color: #d4ffbd; background-color: rgb(5, 74, 5); } .label-error { color: #ffbdbd; background-color: rgb(74, 5, 5); } .label-warning { color: #ffd4bd; background-color: rgb(74, 5, 5); } .comment { display: flex; flex-direction: row; flex-wrap: wrap; margin-bottom: 20px; } .profile-picture > img { width: 48px; height: 48px; border-radius: 50%; margin-right: 15px; display: inline-block; } .comment-header { font-size: 0.8em; margin-top: 0px; margin-bottom: 10px; } .comment-body { flex: 1; margin-top: 0px; } .article-body > p > img { display: block; margin: 0px auto 10px auto; max-height: 50vh; max-width: 100%; }