:root { --white: #f8f8fb; --black: #393d3f; --gray: #a7b4bb; --blue: #10638c; --light-blue: #74c0e6; --red: #8c1016; --light-brown: #a69688; } html { font-size: 137.5%; /*22px*/ } @media (max-width: 600px) { html { font-size: 112.5%; /* 18px */ } } body { background: white; font-family: 'IBM Plex Sans', sans-serif; font-weight: 400; line-height: 1.75; color: #000000; } p { margin-bottom: 1rem; } h1, h2, h3, h4, h5 { margin: 3rem 0 1.38rem; font-family: 'IBM Plex Sans', sans-serif; font-weight: 700; line-height: 1.3; } h1 { margin-top: 0; font-size: 1.802rem; } h2 { font-size: 1.602rem; } h1 + h2 { margin-top: 0; } h3 { font-size: 1.424rem; } h4 { font-size: 1.266rem; } h5 { font-size: 1.125rem; } small { font-size: 0.889rem; } a { color: var(--blue); white-space: nowrap; } blockquote { margin-left: 0; padding-left: 2rem; border-left: 0.2rem solid var(--blue); } body > header { padding: 1rem; } article { max-width: 64rem; margin: 0 auto 2rem; padding: 1rem; border: 0.2rem solid var(--gray); } @media all and (max-width: 64rem) { article { border-right: none; border-left: none; } } .navbar__desktop { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; } .navbar__mobile { display: none; font-weight: 900; } .navbar__mobile .menu__items { text-align: center; } .navbar__menu_title { font-weight: 900; padding: 0.2rem 1rem; border: none; background-color: var(--blue); color: white; cursor: pointer; text-decoration: none; } .navbar__menu_items { position: absolute; z-index: 3; background-color: var(--white); padding: 1rem; margin: 0; border: 1px solid #bdc3c7; box-shadow: 3px 3px 3px #bdc3c7; right: 0; } @media (max-width: 900px) { .navbar__desktop { display: none; } .navbar__mobile { display: block; } } .navbar div a:not(:last-child) { margin-right: 1rem; } #todo__list { list-style-type: none; padding-left: 0; } .hidden_action { visibility: hidden; margin-left: 1rem; border: none; background-color: var(--light-brown); color: white; padding: 0.15rem 0.5rem; border-radius: 1rem; cursor: pointer; } .todo__item { display: flex; align-items: center; align-content: flex-start; } .todo__item:hover { background-color: #e3e3e3; } .todo__item:hover .hidden_action { visibility: visible; } .todo_display { display: grid; grid-template-columns: 0.25fr 2fr 1fr 1fr; align-items: center; gap: 0 1rem; width: 100%; } .todo__actions { font-size: 0.889rem; } .todo__due_date { color: var(--light-brown); } .todo__checkbox { margin-right: 0.5rem; } .todo__checkbox_input { opacity: 0; position: absolute; cursor: pointer; appearance: none; z-index: -1; } .todos__overdue { background-color: var(--white); padding: 1rem; } .todos__overdue h4 { margin-top: 0; } h2 + h4 { margin-top: 0; } .todo__checkbox_button { display: inline-block; width: 1.4em; height: 1.4em; border: 1px solid rgba(0,0,0,0.25); background-color: #fff; border-radius: 0.3em; vertical-align: top; cursor: pointer; } .todo__checkbox_button--completed { position: relative; border-color: rgba(0,0,0,0.1); background-color: var(--blue); box-shadow: none; } .todo__checkbox_button--completed::after { content: ''; position: absolute; width: 100%; height: 100%; top: 0; bottom: 0; right: 0; left: 0; background: url(../images/checkmark.svg) no-repeat center center; background-size: auto; background-size: 65%; } .todo_form { display: grid; row-gap: 1rem; margin: 1rem 0; width: 100%; border: 0.0625rem solid rgba(0, 0, 0, 0.25); background-color: var(--white); padding: 1rem; } .--hidden { display: none; } .--archived { text-align: center; background-color: #ccc; } .action-button { padding: 0.25rem 1rem; background-color: var(--blue); font-weight: 900; line-height: 1.75; border: none; color: white; cursor: pointer; text-decoration: none; } .action-button--danger { background-color: var(--red); } .--danger { color: var(--red); } /* FORMS */ input[type=text], input[type=number], input[type=date], input[type=time], input[type=password], input[type=search], textarea, select { border: 0.2rem solid var(--gray); padding: 0.3rem; font-family: inherit; outline: none; width: 100%; max-width: 100%; box-sizing: border-box; } input[type=radio], input[type=checkbox] { cursor: pointer; width: 1.5rem; height: 1.5rem; vertical-align: middle; } textarea { resize: none; } label { display: block; } input[type=checkbox], label { cursor: pointer; } input[type=checkbox] { height: 1rem; width: 1rem; } li label { display: inline-block; } input:focus, textarea:focus, select:focus { border-color: var(--blue) !important; } button { margin-left: 1rem; border: none; background-color: var(--light-brown); color: white; padding: 0.15rem 0.5rem; border-radius: 1rem; cursor: pointer; } /*MENU*/ hgroup { position: relative; } .menu__title { font-weight: 900; padding: 0.2rem 1rem; border: none; background-color: var(--blue); color: white; cursor: pointer; text-decoration: none; } .menu__items { background-color: var(--white); padding: 1rem; margin: 0; border: 1px solid #bdc3c7; } @media (min-width: 900px) { .menu { position: absolute; top: 0; right: 0; } .menu__items { width: 12rem; position: absolute; z-index: 3; box-shadow: 3px 3px 3px #bdc3c7; right: 0; text-align: left; } } .employee__item { display: grid; grid-template-columns: 0.25fr 4fr; column-gap: 1rem; align-items: center; } .log_entry { display: grid; grid-template-columns: 1fr 2fr 1fr; column-gap: 0.5rem; margin-bottom: 1rem; } .log_entry--employee { grid-template-columns: 1fr auto; } .today__event { display: grid; grid-template-columns: 1fr 2fr 0.5fr 0.5fr; column-gap: 1rem; margin-bottom: 2rem; padding-bottom: 0.5rem; border-bottom: 0.046rem solid var(--gray); } .activity__item { display: grid; grid-template-columns: 0.25fr 2fr 0.25fr; column-gap: 0.5rem; margin-bottom: 1rem; } .pie_chart { display: inline-block; width: 2rem; height: 2rem; } circle.pie { fill: rgba(255,255,255,0); stroke: var(--light-blue); } circle.slice { fill: rgba(255,255,255,0); stroke: var(--blue); } svg { border-radius: 50%; -webkit-transform: rotate(-90deg); -moz-transform: rotate(-90deg); -ms-transform: rotate(-90deg); -o-transform: rotate(-90deg); transform: rotate(-90deg); } svg:not(:root) { overflow: hidden; }