123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553 |
- :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 */
|