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: right; } .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%; } .topnav { list-style: none; padding: 0; margin: 0; text-align: right; } .topnav > li { display: inline-block; margin-left: 10px; background: #0000FF; border-top: 2px solid #6666FF; border-left: 2px solid #6666FF; border-right: 2px solid #00007C; border-bottom: 2px solid #00007C; font-family: 'TopNavbar', sans-serif; position: relative; } li.new::before{ /* Add a "new" image gif to top right corner. */ content: url('../images/gifs/new.gif'); position: absolute; top: -9px; right: -10px; } .topnav > li > a { color: #feffcf; display: inline-block; text-decoration: none; font-weight: bold; font-size: 12px; padding: 4px 8px; } .ad { border: solid 1px #cecece78; padding: 10px; position: relative; } .ad::before { content: 'Advertisement'; display: block; font-size: 10px; position: absolute; top: 0; right: 0; background-color: #ffffffc4; padding: 2px 5px; border-radius: 0 0 0 5px; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; } .file { padding: 4px 0px; display: flex; flex-direction: row; flex-wrap: wrap; width: 100%; } .file > div { color: #cecece; } .file > a { color: #cecece; text-decoration: none; } .ft-file { width: 32px; background-image: url('../images/icons/file.ico'); background-repeat: no-repeat; background-position: center; margin-right: 10px; background-size: contain; } .ft-dir { width: 32px; background-image: url('../images/icons/Folder.ico'); background-repeat: no-repeat; background-position: center; background-size: contain; margin-right: 10px; } .file-name:hover { cursor: pointer; text-decoration: underline; } .file-meta.file-meta-dark { display: none; } .hljs-style-github-dark-dimmed .hljs { background: rgb(34 39 46 / 0%) !important; }