:root { --white: #f8f8fb; --black: #393d3f; --grey: #a7b4bb; --blue: #10638c; --light-blue: #74c0e6; --red: #8c1016; } 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: 2px solid var(--blue); } body > header { padding: 1rem; } article { max-width: 64rem; margin: 0 auto 2rem; padding: 1rem; border: 0.2rem solid var(--grey); } @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 { margin-left: 1rem; display: none; } .todo__item { display: flex; align-items: center; align-content: flex-start; } .todo__item:hover .hidden_action { display: inline-block; } .todo__checkbox { margin-right: 0.5rem; } .todo_form { display: flex; } .todo__details { display: flex; align-items: center; flex-direction: row; } .--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); } /* FORMS */ input[type=text]:not([name=description]), input[type=number], input[type=date], input[type=time], input[type=password], input[type=search], textarea, select { border: 0.2rem solid var(--grey); padding: 0.3rem; font-family: inherit; outline: none; width: 100%; max-width: 100%; box-sizing: border-box; } input[name=description] { border: 0.2rem solid var(--grey); padding: 0.3rem; font-family: inherit; outline: none; 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; } /*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(--grey); } .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; }