123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- /* global */
-
- * {
- box-sizing: border-box;
- margin: 0;
- padding: 0;
- }
-
- ul {
- list-style: none;
- }
-
- a {
- text-decoration: none;
- }
-
- .heading {
- border-bottom: 1px solid #000000;
- font-size: 24px;
- margin-bottom: 15px;
- }
-
- /* layout */
-
- .container {
- display: flex;
- }
-
- .main {
- display: flex;
- flex: 1;
- justify-content: center;
- padding: 20px;
- }
-
- .main__container {
- width: 768px;
- }
-
- /* sidebar */
- .sidebar {
- background: #496893;
- color: #ffffff;
- min-height: 100vh;
- padding: 20px 0;
- width: 150px;
- }
-
- .sidebar__title {
- color: #ffffff;
- font-size: 24px;
- }
-
- .sidebar__title,
- .nav__item {
- padding: 5px 10px;
- }
-
- .nav__item:hover {
- background: #ffffff;
- }
-
- .nav__item:hover a {
- color: #496893;
- }
-
- .nav__link {
- color: white;
- }
-
- .nav__link:hover {
- text-decoration: underline;
- }
-
- /* forms */
-
- .form__field {
- display: flex;
- flex-direction: column;
- margin: 5px 0;
- width: 100%;
- }
-
- .form__field,
- .form__label {
- margin-bottom: 5px;
- }
-
- .form__date-field,
- .form__textarea,
- .form__text-field {
- border: 1px solid #e8e8e8;
- font-family: serif;
- font-size: 16px;
- padding: 5px;
- }
-
- .form__textarea {
- resize: vertical;
- }
-
- .form__submit {
- border: 1px solid #e8e8e8;
- padding: 5px 10px;
- }
-
- /* post listing */
- .post-listing__item {
- position: relative;
- }
-
- .post-listing__item--changed:before {
- background-color: red;
- border-radius: 50%;
- content: '';
- display: block;
- height: 10px;
- left: -15px;
- position: absolute;
- top: 3px;
- width: 10px;
- }
|