The repo tracks work progress for ura.design website redesign
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1222 lines
20 KiB

3 years ago
// Smooth Scrolling
html {
scroll-behavior: smooth;
height: 100%;
}
html[data-theme="dark"] {
& * {
background: #121212 !important;
color: hsla(0, 0%, 100%, 0.87) !important;
}
3 years ago
& a:not(.nav-link, .see-more) {
text-decoration: underline;
}
3 years ago
& .back-overview:before {
color: $contrast !important;
}
3 years ago
& .logo {
fill: $contrast !important;
}
& a {
color: $contrast !important;
border-color: $contrast;
}
& .fa-grip-lines,
.fa-xmark {
color: $contrast !important;
}
3 years ago
& .acctoggle {
&:hover,
&:focus-visible,
&:focus {
border: 2px solid $contrast;
}
}
& .tablinkservice:hover {
color: $contrast !important;
border-left-color: $contrast;
}
& .tablinkservice.active {
color: $contrast !important;
border-left-color: $contrast;
}
3 years ago
& .carousel-dark .carousel-indicators [data-bs-target] {
border-color: $contrast;
3 years ago
&.active {
background-color: $contrast !important;
3 years ago
}
}
3 years ago
& .button-filter {
color: $contrast !important;
3 years ago
&:after {
background: $contrast !important;
}
}
& .carousel-control-next path {
fill: $contrast !important;
}
3 years ago
& .home a {
text-decoration: none !important;
}
& .circle-icons i {
&:hover,
&:focus-visible,
&:focus {
outline-color: $contrast;
3 years ago
}
}
3 years ago
& footer a i:hover:before {
color: $contrast;
}
3 years ago
& a:after {
color: $contrast !important;
3 years ago
}
}
// Body
body {
font-family: "Inter", sans-serif;
font-feature-settings: "calt" 1, "tnum" 1, "frac" 1, "case" 1, "ccmp" 1,
"ss01" 1, "ss02" 1, "ss03" 1, "zero" 1;
line-height: 1.5;
overflow-y: scroll;
color: $gray-800;
}
3 years ago
@keyframes fadeInAnimation {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
// Accessibility
.acctoggle {
background: $white;
outline: none;
border: 2px solid $gray-700;
border-radius: 0 6px 6px 0;
padding: 0.5rem 0.75rem;
font-size: 1.25rem;
position: fixed;
bottom: auto;
top: 85vh;
3 years ago
left: 0;
right: auto;
z-index: 100;
transition: 0.2s;
will-change: border;
3 years ago
}
// Backgrounds
.background-white {
background-color: $white;
}
.background-black {
background-color: $black;
}
// Headings
h1,
h2,
h3,
h4,
h5,
h6 {
3 years ago
font-feature-settings: "ss01" 1, "ss03" 1, "zero" 1, "cv02" 1, "cv11" 1;
font-weight: 600;
letter-spacing: -0.025em;
}
3 years ago
// Navbar
nav {
z-index: 2;
}
nav .nav-link {
color: $blue-500;
font-weight: 500;
display: inline-block;
3 years ago
position: relative;
&:after {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 0;
3 years ago
height: 0.25rem;
background: transparent;
display: block;
margin-top: 0.5rem;
transition: 0.25s ease-in-out;
3 years ago
}
&:hover,
&:focus-visible,
&:active,
3 years ago
&.active {
color: $blue-800;
&:after {
width: 100%;
3 years ago
background: currentColor;
}
}
}
.navbar-toggler {
font-size: 1.5rem;
border: none;
3 years ago
}
.navbar-toggler:focus {
box-shadow: none;
}
.overlay {
height: 0;
width: 100%;
position: fixed;
z-index: 1000;
top: 0;
left: 0;
background-color: $blue-500;
overflow-x: hidden;
transition: 0.3s;
overflow: auto;
overscroll-behavior-y: contain;
& .container {
padding-top: 0.2rem;
}
3 years ago
}
.overlay a:not(.brand) {
text-decoration: none;
font-size: 2.5rem;
color: $white;
display: block;
transition: 0.3s;
font-weight: 500;
}
.overlay a:hover,
.overlay a:focus {
color: $gray-100;
}
.overlay .closebtn {
border: none;
outline: none;
background: transparent;
color: $white;
font-size: 1.5rem;
padding: 0.25rem 0.75rem;
}
.wordmark {
opacity: 0;
transition: transform 0.3s ease-in-out;
position: absolute;
left: 40px;
}
.navbar-brand:hover .wordmark {
opacity: 1;
transform: translateX(15px);
}
// Home
.home {
& h1 {
font-size: 3.5rem;
font-weight: 300;
line-height: 100%;
}
& p {
font-size: 1.5rem;
font-weight: 400;
margin-bottom: 2rem;
}
a {
color: $white;
border: 2px solid $white;
padding: 0.85rem 1.5rem;
background-color: transparent;
text-decoration: none;
transition: 0.25s ease-in-out;
&:after {
content: "\f061";
font-family: "Font Awesome 6 Free";
font-weight: 700;
color: $white;
margin-left: 0.75rem;
transition: 0.25s ease-in-out;
}
3 years ago
&:hover,
&:focus-visible,
&:focus {
3 years ago
color: $blue-500;
background-color: $white;
3 years ago
&:after {
color: $blue-500;
}
3 years ago
}
}
}
.dim {
opacity: 0.5;
}
main h3 {
font-size: 1.25rem;
}
// Footer
footer {
background-color: $gray-100;
}
.cta h2 {
3 years ago
font-size: 1.5rem;
margin-bottom: 0.25rem;
color: $gray-700;
}
.cta .arrow-link {
font-size: 2.25rem;
font-weight: 600;
color: $blue-600;
text-decoration: none;
&:hover {
text-decoration: underline;
}
&:after {
content: "\f061";
font-family: "Font Awesome 6 Free";
font-weight: 700;
font-size: 2rem;
display: inline-block;
color: $blue-600;
margin-left: 0.75rem;
transition: 0.25s ease-in-out;
text-decoration: none;
}
3 years ago
&:hover,
&:focus-visible,
&:focus {
&:after {
margin-left: 1rem;
}
3 years ago
}
}
.cta i {
color: $blue-600;
}
#footerNav .nav-link {
padding-inline: 0;
margin-right: 1.75rem;
color: $gray-800;
text-transform: uppercase;
}
#footerLinks .nav-link {
font-size: 0.875rem;
padding-inline: 0;
margin-right: 1.5rem;
color: $blue-600;
}
.copyright {
font-size: 0.875rem;
color: $gray-600;
& a {
color: $blue-600;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
// Posts
.posts h1 {
font-size: 3.5rem;
color: $blue-500;
}
.post .header {
margin-top: -5rem;
min-height: auto;
background: $blue-500;
overflow: hidden;
position: relative;
& .white-block {
position: absolute;
background-color: $white;
right: 0;
bottom: 0;
width: 75%;
height: 50%;
}
}
.post .post-cover {
width: 100%;
max-height: 35rem;
object-fit: cover;
margin-top: -5rem;
opacity: 0.4;
mix-blend-mode: multiply;
}
.post-content {
& h1,
3 years ago
h2,
h3,
h4,
h5,
h6 {
3 years ago
margin-top: 2.5rem;
3 years ago
}
& a {
color: $blue-600;
&:hover,
:active,
:focus-visible {
color: $blue-700;
}
}
3 years ago
}
.post .move-up {
margin-top: -14rem;
}
.post .cutoff {
z-index: 3;
}
.post .post-title {
font-size: 3rem;
font-weight: 300;
color: $blue-800;
}
article.card {
padding: 1.5rem;
background-color: $blue-50;
border: none;
border-radius: 0;
height: 100%;
&:hover .grayscale {
filter: none;
}
& .grayscale {
filter: grayscale(1);
transition: 0.3s ease-in-out;
&:hover {
filter: none;
}
}
& .info {
font-size: 0.875rem;
color: $blue-600;
}
& .title {
font-size: 1.5rem;
font-weight: 800;
color: $blue-700;
text-decoration: none;
}
& .description {
color: $blue-800;
}
}
article.first {
height: 100%;
position: relative;
&:hover .grayscale {
filter: none;
}
& .grayscale {
filter: grayscale(1);
transition: 0.3s ease-in-out;
&:hover {
filter: none;
}
}
& img {
width: 100%;
object-fit: cover;
height: 100%;
}
& .data {
position: absolute;
bottom: 0;
left: 0;
width: 60%;
padding: 2.25rem;
background-color: $blue-500;
color: $white;
}
& .title {
font-size: 1.5rem;
font-weight: 800;
color: $white;
text-decoration: none;
}
}
.schedule {
background-color: $blue-100;
color: $blue-800;
padding: 4rem 5rem;
& a {
background-color: $blue-500;
color: $white;
padding: 1rem 3rem;
border-radius: 0;
text-decoration: none;
transition: 0.25s ease-in-out;
&:hover {
background-color: $blue-600;
}
}
}
3 years ago
address {
margin-bottom: 0;
}
3 years ago
// Work
.project {
a {
color: inherit;
}
&-title {
font-size: 3.5rem;
font-weight: 500;
margin-bottom: 2rem;
}
&-summary {
font-size: 1.5rem;
font-weight: 400;
margin-bottom: 1rem;
}
& .category {
color: inherit;
text-decoration: none;
font-weight: 600;
display: inline-flex;
&:hover {
text-decoration: underline;
}
&:focus-visible {
text-decoration: underline;
}
}
& .list {
font-size: 0.9rem;
opacity: 0.85;
text-transform: uppercase;
margin-bottom: 0.2rem;
}
& a.links {
display: inline-flex;
text-transform: capitalize;
text-decoration: none;
color: inherit;
font-weight: 600;
&:hover {
text-decoration: underline;
}
}
& p img {
max-width: 100%;
margin-block: 2rem;
}
& figure {
max-width: 100%;
margin-block: 2rem;
text-align: center;
}
& figure img {
max-width: 100%;
}
& h2 {
margin-top: 3rem;
}
}
// About
.about {
& h1 {
font-size: 3rem;
margin-bottom: 3rem;
}
& p {
font-size: 1.25rem;
margin-bottom: 0;
}
}
.zoom-wrapper {
display: inline-block;
overflow: hidden;
width: 100%;
& img {
transition: transform 0.2s ease-in-out;
&:hover {
transform: scale(1.075);
}
}
}
.see-more {
color: $blue-500;
border: 2px solid $blue-500;
padding: 0.5rem 1.5rem;
background-color: transparent;
text-decoration: none;
transition: 0.25s ease-in-out;
display: inline-flex;
align-items: center;
&:after {
content: "\f061";
font-family: "Font Awesome 6 Free";
font-weight: 700;
color: $blue-500;
margin-left: 0.5rem;
font-size: 1.25rem;
transition: 0.25s ease-in-out;
}
3 years ago
&:hover,
&:focus-visible,
&:focus {
3 years ago
color: $white;
background-color: $blue-500;
3 years ago
&:after {
color: $white;
}
3 years ago
}
}
details summary::-webkit-details-marker {
display: none;
}
details summary {
position: relative;
list-style: none;
font-weight: 400;
font-size: 1.25rem;
color: $blue-500;
cursor: pointer;
margin-block: 1.25rem;
}
details:not(:last-of-type) {
border-bottom: 1px solid $gray-300;
}
details summary::after {
position: absolute;
right: 20px;
content: "\f078";
font-family: "Font Awesome 6 Free";
font-weight: 600;
color: $gray-900;
transition: 0.2s ease-in-out;
}
details[open] summary::after {
transform: rotate(180deg);
}
.circle-icons i {
color: $blue-500;
background: $gray-50;
width: 2rem;
height: 2rem;
border-radius: 50%;
outline: 2px solid transparent;
text-align: center;
line-height: 2rem;
vertical-align: middle;
3 years ago
&:hover,
&:focus-visible,
&:focus {
3 years ago
outline: 2px solid $blue-500;
}
}
.testimonial {
animation: fadeInAnimation 0.35s;
3 years ago
&-name {
font-size: 1.25rem;
margin-bottom: 0;
}
&-link {
color: $blue-600;
&:hover,
:active,
:focus-visible {
color: $blue-700;
}
}
3 years ago
& blockquote {
color: $gray-700;
font-size: 2.25rem;
font-weight: 300;
margin-bottom: 1.5rem;
& p {
margin-bottom: 0;
}
}
}
#testimonials {
min-height: 22rem;
}
.carousel-indicators {
justify-content: start;
margin-bottom: 0.5rem;
3 years ago
margin-left: 0;
3 years ago
}
.carousel-control-next {
top: unset;
opacity: 1;
justify-content: start;
width: 5%;
transition: background-image 0.25s ease-in-out;
3 years ago
&:focus-visible {
outline: 2px solid $blue-500;
}
}
svg path {
3 years ago
transition: 0.25s ease-in-out;
}
.carousel-control-next {
&:hover,
&:focus-visible {
& path {
d: path(
"M0 14.018h45.021L34.899 3.758 38.298.405l15.784 16-15.784 16-3.399-3.353 10.121-10.26H0v-4.775z"
);
}
}
3 years ago
}
.carousel-control-next {
3 years ago
left: 12.5%;
3 years ago
z-index: 3;
}
.carousel-dark .carousel-indicators [data-bs-target] {
box-sizing: content-box;
flex: 0 1 auto;
width: 12px;
height: 12px;
padding: 0;
margin-right: 3px;
margin-left: 3px;
text-indent: -999px;
cursor: pointer;
background-color: $gray-50;
background-clip: inherit;
border-radius: 50%;
border: 2px solid $blue-500;
opacity: 1;
transition: background-color 0.25s ease-in-out;
&.active {
background-color: $blue-500;
}
}
// Work
.work {
& a.title {
font-weight: 400;
font-size: 1.5rem;
line-height: 120%;
color: $gray-900;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
& a.category {
font-size: 0.875rem;
font-weight: 400;
color: $blue-500;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
.categories a.title {
font-size: 1.5rem;
font-weight: 400;
color: #18181b;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
.back-overview {
font-size: 2rem;
font-weight: 600;
color: $blue-500;
text-decoration: none;
&:hover {
color: $blue-600;
text-decoration: underline;
}
&:before {
content: "\f060";
font-family: "Font Awesome 6 Free";
font-weight: 700;
font-size: 1.85rem;
display: inline-block;
color: $blue-500;
margin-right: 0.75rem;
transition: 0.25s ease-in-out;
}
&:hover,
&:focus-visible,
&.selected {
&:before {
color: $blue-600;
margin-right: 1rem;
}
3 years ago
}
}
.services {
background: linear-gradient(90deg, $gray-50 25%, $white 25%);
}
.subtitle {
font-size: 1.25rem;
}
// Tabs
.tab {
overflow: hidden;
margin-top: 3rem;
}
.tablinkservice {
background-color: transparent;
width: 100%;
color: $blue-600;
display: block;
text-align: left;
text-decoration: none !important;
font-size: 1.2rem;
box-sizing: border-box;
border: 0;
cursor: pointer;
padding-block: 10px;
padding-left: 1.25rem;
margin-bottom: 0.75rem;
border-left: 0.25rem solid transparent;
outline: none !important;
transition: all 0.25s ease-in-out;
&:hover {
color: $blue-800;
background-color: $gray-100;
}
&:focus-visible {
color: $blue-800;
background-color: $gray-100;
border-left: 0.2rem solid $blue-900;
}
&.active {
background-color: $gray-100;
color: $blue-800;
border-left: 0.25rem solid $blue-900;
}
}
.tabcontentservice {
animation: fadeInAnimation 1s;
margin-top: 5rem;
display: none;
}
.tabcontent {
display: none;
padding-top: 2rem;
padding-bottom: 2rem;
}
.work {
display: none;
&.visible {
animation: fadeInAnimation 1s;
display: block !important;
}
}
.button-filter {
border: none;
background: transparent;
outline: none !important;
padding: 0;
margin-right: 1rem;
padding-bottom: 0.5rem;
color: $blue-500;
position: relative;
&:after {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 0;
3 years ago
height: 0.25rem;
background: transparent;
display: block;
margin-top: 0.5rem;
transition: 0.25s ease-in-out;
3 years ago
}
&:hover,
&:focus-visible,
&.selected {
color: $blue-800;
&:after {
width: 100%;
3 years ago
background: currentColor;
}
}
}
// Contact
.social-links {
margin-bottom: 5rem;
& p {
margin-bottom: 0;
font-size: 0.875rem;
font-weight: 600;
text-transform: uppercase;
3 years ago
}
& a {
color: $blue-500;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
.contact {
font-size: 1.5rem;
margin-top: 1rem;
}
.cta-card {
background-color: $blue-500;
color: $white;
padding: 3rem 5rem;
& h2 {
font-size: 2.5rem;
font-weight: 400;
}
& .arrow-link {
font-size: 1.125rem;
font-weight: 600;
color: $white;
text-decoration: none;
&:hover {
text-decoration: underline;
}
&:after {
content: "\f061";
font-family: "Font Awesome 6 Free";
font-weight: 700;
color: $white;
display: inline-block;
margin-left: 0.75rem;
transition: 0.25s ease-in-out;
}
3 years ago
&:hover,
&:focus-visible,
&:focus {
&:after {
margin-left: 1rem;
}
3 years ago
}
}
}
@include media-breakpoint-down(lg) {
.services {
background: transparent;
}
.carousel-indicators {
right: unset;
3 years ago
justify-content: center;
margin-bottom: 0.5rem;
}
.carousel-control-next {
right: unset;
left: 35%;
3 years ago
top: unset;
opacity: 1;
justify-content: center;
}
.carousel-dark .carousel-indicators [data-bs-target] {
box-sizing: content-box;
flex: 0 1 auto;
width: 14px;
height: 14px;
padding: 0;
margin-right: 3px;
margin-left: 3px;
text-indent: -999px;
cursor: pointer;
background-color: $white;
background-clip: inherit;
border-radius: 50%;
border: 2px solid $blue-500;
opacity: 1;
&.active {
background-color: $blue-500;
}
}
.carousel-control-next {
width: unset;
}
3 years ago
.testimonial {
&-name {
font-size: 1rem;
}
& blockquote {
font-size: 1.5rem;
}
}
.social-links {
& div {
position: relative;
&:not(:last-of-type):after {
content: "";
position: absolute;
left: 0.75rem;
bottom: -1.5rem;
height: 1px;
width: 20%;
border-bottom: 1px solid $gray-400;
}
}
}
}
@include media-breakpoint-down(md) {
.copyright {
font-size: 0.75rem;
}
.schedule {
padding: 2rem;
}
article.first {
position: relative;
& img {
max-width: 100%;
height: auto;
}
& .data {
position: initial;
width: 100%;
}
}
.cta-card {
padding: 1.5rem;
}
.tabcontentservice {
margin-top: 0;
}
.home {
& h1 {
font-size: 3rem;
}
& h2 {
font-size: 1.25rem;
}
a:after {
content: none;
}
}
#testimonials {
min-height: 25rem;
}
.acctoggle {
position: fixed;
border-radius: 6px 0 0 6px;
padding: 0.5rem 0.75rem;
font-size: 1.25rem;
top: auto;
bottom: 5vh;
right: 0;
left: auto;
z-index: 100;
transition: 0.2s;
}
}
// Clients
.client {
&-title {
font-size: 1.5rem;
line-height: 120%;
font-weight: 500;
margin-bottom: 0.5rem;
}
&-description {
font-size: 1.125rem;
margin-bottom: 0;
}
}
// Accessibility
.screen-reader-text {
border: 0;
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute !important;
width: 1px;
word-wrap: normal !important;
}
.screen-reader-text:focus {
border-radius: 0.25rem;
box-shadow: 0 0 0.125rem 0.125rem rgba(0, 0, 0, 0.6);
clip-path: none;
color: black;
display: block;
font-size: 0.875rem;
font-weight: bold;
height: auto;
width: auto;
top: 0.25rem;
left: 0.25rem;
line-height: normal;
padding: 1rem;
text-decoration: none;
z-index: 100000;
}