:root { /* THEME 1 */ --base00: #72a85b; --base-bg-color: #1d1c1d; --base-font-color: #fff; --sec-font-color: #fff; --box-bg-color: #3c3c3c; /* THEME 2 */ --base00: #38428a; --base-bg-color: #ffffff; --base-font-color: rgb(53, 53, 53); --sec-font-color: #eaf2ff; --box-bg-color: #dddddd; /* THEME 3 */ --base00: rebeccapurple; } * { box-sizing: border-box; padding: 0; margin: 0; } body { background-color: white; color: #333; font-family: "Source Sans Pro", Helvetica, sans-serif; font-weight: 400; font-size: 16px; overflow-y: scroll; } a, a:visited { color: rebeccapurple; text-decoration: none; font-weight: 600; transition: color .2s ease, background-color .2s ease; } a:hover { color: #422063; } ul { list-style-type: none; } .list--inline > li { display: inline-block; } h1, h2, h3, h4, h5 { font-weight: 600; } h1 { font-size: 32px; margin: 20px 0 10px; } h2 { font-size: 24px; margin: 10px 0 5px; } h3 { font-size: 20px; margin: 5px 0; } h4 { font-size: 16px; margin: 0; } th, td { text-align: left; padding: 0 2px 0 4px; } /* LAYOUT */ .main { display: flex; padding: 0 10vw; } .main__aside { flex: 0 0 200px; margin-right: 40px; } .main__content { /*padding: 0 10vw;*/ flex: 1; div { margin: 20px 0; } p { margin: 10px 0; } } /* FORMS */ input[type="text"], input[type="password"], input[type="url"], input[type="number"], input[type="email"] { background-color: rgba(0, 0, 0, 0.05); padding: 7px 3px 7px; border: none; outline: 0; border-bottom: 2px solid rebeccapurple; color: var(--base-font-color); transition: all .1s; font-size: 16px; min-width: 300px; } input[type="text"]:focus, input[type="password"]:focus, input[type="url"]:focus, input[type="number"]:focus, input[type="email"]:focus { border-bottom-color: red; background-color: rgba(0, 0, 0, 0.02); } input[type="submit"], input[type="button"], button { outline: 0; border: 0; box-shadow: 0; background-color: var(--base00); color: white; padding: 7px 13px; border: 1px solid rebeccapurple; transition: all .1s; font-size: 16px; cursor: pointer; } input[type="submit"][disabled], input[type="button"][disabled], button[disabled] { opacity: 0.3; border: 1px solid transparent; cursor: default; } input[type="submit"]:not([disabled]):hover, input[type="button"]:not([disabled]):hover, button:not([disabled]):hover { background-color: var(--base-bg-color); color: var(--base-font-color); } .form-group { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, max-content)); align-items: center; } /*CUSTOM CHECKBOXES AND RADIO BOXES*/ .checkbox, .radio { position: relative; } .checkbox > [type="checkbox"], .radio > [type="radio"] { display: none; } .checkbox > label, .radio > label { padding: 7px 13px 7px 30px; background-color: rebeccapurple; border-radius: 4px; color: white; cursor: pointer; } .checkbox > label::before, .radio > label::before, .checkbox > label::after, .radio > label::after { content: ''; position: absolute; top: 7px; left: 4px; display: block; width: 20px; height: 20px; background-color: white; transform: scale(0.2, 0.2); transition: all .2s; } .radio > label::before, .radio > label::after { transform: scale(0.01, 0.01); } .checkbox > label::before, .radio > label::before { width: 20px; height: 2px; } .checkbox > label::after, .radio > label::after { width: 20px; height: 2px; } .checkbox > :checked + label, .radio > :checked + label { background-color: #451477; text-decoration: underline; } .checkbox > :checked + label::before, .radio > :checked + label::before { transform: rotate(45deg); } .checkbox > :checked + label::after, .radio > :checked + label::after { transform: rotate(-45deg); }