:root { --border-prop: 0px solid #F2F; --header-height: 10%; --prime-color: rgb(71, 17, 221); --container-bg: rgba(30, 30, 50, 0.644); --text-color: rgba(255,255,255, 1); --row-color: rgba(0, 0, 100, 0.3); --button-prim: rgba(255,255,255,0.1); --button-sec: rgba(255, 255, 255, 0.4); --popup-border: 2px solid rgb(11, 11, 128); --popup-stripe: 3px solid rgba(0,0,50,0.5); --title-size: 60px; --text-size: 30px; --smal-text: 20px; } div{ border: 0px #F2F; border-style: dashed; } html, body { width: 100%; height: 100%; background: var(--prime-color); margin: 0; } header{ height: var(--header-height); padding-top: 30px; display: flex; justify-content: center; } /*text*/ h1, h2, h3, .title, label{ font-size: var(--title-size); padding: 0px; margin: 0px; font-family: Arial; color: var(--text-color); } h2, label{ font-size: var(--text-size); } h3{ font-size: var(--smal-text); } input { width: 100%; font-family: Arial; font-size: 2em; color: rgb(255, 255, 255); padding: 0; padding-bottom: 5px; background: none; border: none; border-bottom: 1px solid #ffffff; margin-bottom: 15px; margin-top: 15px } input:focus { outline: 0; } .main { width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; } .container{ width: 400px; border: var(--border-prop); background-color: var(--container-bg); padding: 20px; display: flex; flex-direction: column; } .user-container{ width: 50%; min-height: 35em; } .header { border: var(--border-prop); font-size: 25px; text-align: center; margin-bottom: 25px; } .datasec { border: var(--border-prop); font-family: Arial; font-size: 30px; color: white; } /* buttons */ .buttons-container { border: var(--border-prop); display: flex; justify-content: center; width: 100%; } .button { display: inline-block; border-radius: 0; background-color: #303030; border: none; /*text*/ color: #FFFFFF; text-align: center; font-size: var(--text-size); padding: 10px; width: 100%; cursor: pointer; } .button span{ cursor: pointer; display: inline-block; position: relative; transition: 1s; } .button span::after { content: '\00bb'; position: absolute; opacity: 0; top: 0; right: -20px; transition: .5s; } .button:hover span { padding-right: 25px; } .button:hover span::after{ opacity: 1; right: 0; } .susButton , .remButton, .nextButton, .manageButton, #addBtn{ margin-left: 5px; } .icon{ pointer-events: none; } /* end of buttons*/ #loginText { transition: 0.35s; } .fadeout { opacity: 0; } #loginform { border: var(--border-prop); margin-bottom: 10px; } /* border: 1px #F2F; border-style: dashed; */ /* User/Mod Table */ .table{ min-height: 32em; } .row{ display: flex; flex-direction: row; align-items: center; justify-content: space-between; background-color: var(--row-color); margin-top: 10px; margin-bottom: 10px; padding-left: 10px; padding-right: 10px; } .col-left , .col-right{ display: flex; padding: 0; margin: 0; } /* End of Table */ /* Page Selector */ .rightButtons{ display: flex; margin-left: 10px; } .ButtonRow{ display: flex; flex-direction: row; justify-content: space-between; padding-right: 10px; } /* End of Page Selector*/ /*-----POPUP-----*/ .popup{ position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); transition: 50ms ease-in-out; border: var(--popup-border); z-index: 10; /*lay ontop of everything*/ background-color: var(--prime-color); width: 500px; max-width: 80%; min-height: 18em; display: flex; flex-direction: column; justify-content: space-evenly; } .popup.active{ transform: translate(-50%, -50%) scale(1); } .popup-header{ padding: 10px; display: flex; justify-content: space-between; align-items: center; border-bottom: var(--popup-stripe); } .popup-header .title{ font-size: var(--text-size); font-weight: bold; } .popup-header .close-btn{ cursor: pointer; border: none; outline: none; background: none; font-size: var(--title-size); font-weight: bold; color: white; } .popup-body{ display: flex; justify-content: center; padding: 10px; } #overlay{ position: fixed; opacity: 0; transition: 50ms ease-in-out; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,.75); pointer-events: none; } #overlay.active{ opacity: 1; pointer-events: all; } .popup-body{ display: fixed; justify-items: center; } #formNewUser{ width: 50%; } input { width: 100%; font-family: Arial; font-size: var(--text-size); color: white; padding: 0; padding-bottom: 5px; background: none; border: none; border-bottom: 1px solid #ffffff; margin-bottom: 15px; margin-top: 15px } input:focus { outline: 0; } /*-----POPUP-END-----*/ /* New Post Section*/ [contentEditable=true]:empty:not(:focus):before{ content:attr(data-text); color: rgba(0,0,0,0.5); } .preview-title{ color: #000; } .editor{ display: flex; flex-flow: row; justify-content: center; } .editor-menubar{ display: flex; flex-direction: column; align-items: center; justify-content: center; } button, .color-select{ color: #ffffff; font-size: var(--text-size); padding-left: 10px; padding-right: 10px; background-color: var(--button-prim); cursor: pointer; transition: all 250ms; border: none; min-width: 50px; min-height: 50px; } button:hover{ background-color: var(--button-sec); } button:focus{ outline: none; } .regSection{ font-size: var(--text-size); } .canvas{ background-color: rgba(255,255,255,1); width: 46.3rem; height: 30rem; padding: 2.5rem; font-size: var(--text-size); color: #000; font-family: arial; line-height: 1.5em; } .canvas:focus{ outline: none; } #title-canvas, #editor-canvas{ height: 5rem; font-size: var(--title-size); align-self: center; text-align: center; text-justify: center; padding: 10px; border-bottom: .5rem solid #000 ; } #editor-canvas{ text-align: left; text-justify: left; height: 30rem; font-size: var(--smal-text); } #box{ display: flex; flex-direction: column; } #cancelBtn{ padding: 0; font-size: var(--title-size); line-height: 1.8rem; } .postContainer{ width: 60em; } .lower{ display: flex; flex-flow: row; justify-content: center; align-items: center; } .topper{ display: flex; flex-flow: row; justify-content: flex-end; align-items: flex-end; } .calendar{ color: #ffffff; font-size: var(--text-size); padding: 1rem; transition: all 250ms; display: flex; flex-flow: column; align-items: center; justify-content: center; margin-left: .5rem; margin-right: .5rem; } .calendar-element{ border: none; } .calendar-element:focus{ outline: none; } #title-text{ width: 100%; display: flex; flex-flow: column; } #submit-post{ margin-left: .5rem; } .color-select{ background-color: var(--button-prim); padding-left: 0px; padding-right: 0px; display: flex; justify-content: center; margin: 0px; } .color-select:hover{ background-color: var(--button-sec); } .editor-button{ min-width: 50px; max-width: 50px; min-height: 50px; max-height: 50px; } /* End of New Post*/ /* Preview */ .TitleRow{ max-width: 100%; display: flex; flex-direction: row; justify-content: space-evenly; background-color: var(--container-bg); padding-right: 10px; padding-bottom: 10px; align-items: center; margin-bottom: 5px; } .titleDiv{ min-width: 25%; } #topper{ height: 10%; text-align: center; top: 0px; } #content{ width: 100%; height: 85%; display: flex; justify-content: center; flex-wrap: wrap; } @keyframes fadein { 0% { opacity: 0; } } .post{ animation: fadein 2s ease; min-width: 30%; max-width: 45%; min-height: 28%; max-height: 45%; padding: 2vh; margin: 5px; border-width: 0px; border-color: var(--prime); color: black; } .hidden{ color: red; } /* End of Preview */