meiyo-scss-styles
Version:
My SCSS design system for reuse in projects.
551 lines (508 loc) • 9.84 kB
CSS
html {
font-size: 62.5%;
}
p {
text-align: justify;
white-space: pre-line;
}
h1 {
margin: 0px;
margin-bottom: 10px;
font-weight: 600;
}
h3 {
margin: 0px;
font-weight: 400;
}
h2 {
color: #022d5c;
border-bottom: 2px solid #022d5c;
padding-bottom: 5px;
font-weight: 600;
}
h5, span {
margin: 0px;
font-weight: 200;
}
.link-yellow {
color: #ffff98;
text-decoration: none;
}
.link-yellow:hover {
text-decoration: underline;
}
a {
text-decoration: none;
}
.styled-title {
color: white;
margin-top: 0px;
border-image: linear-gradient(90deg, red, yellow, green, rgb(0, 225, 255), purple, rgb(25, 0, 255)) 1;
animation: animateBorderGradient 2s ease infinite;
border-bottom: 3px solid;
}
@keyframes animateBorderGradient {
0% {
border-image-source: linear-gradient(90deg, red, yellow, green, rgb(0, 225, 255), purple, rgb(25, 0, 255));
}
50% {
border-image-source: linear-gradient(90deg, purple, rgb(25, 0, 255), red, yellow, green, rgb(0, 225, 255));
}
100% {
border-image-source: linear-gradient(90deg, red, yellow, green, rgb(0, 225, 255), purple, rgb(25, 0, 255));
}
}
body {
font-family: "Nunito", sans-serif;
font-optical-sizing: auto;
font-weight: 200;
font-style: normal;
font-size: 1.6rem;
color: #333;
background-color: #d5e2f0;
}
@media only screen and (min-width: 1920px) {
h1 {
font-size: 4rem;
}
h2 {
font-size: 2.6rem;
}
h3 {
font-size: 2.3rem;
}
p {
font-size: 2rem;
}
span, h5 {
font-size: 1.9rem;
}
.sm-font-size {
font-size: 1.5rem;
}
}
@media only screen and (min-width: 1440px) and (max-width: 1920px) {
h1 {
font-size: 3.6rem;
}
h2 {
font-size: 2.2rem;
}
h3 {
font-size: 1.9rem;
}
p {
font-size: 1.8rem;
}
span, h5 {
font-size: 1.7rem;
}
.sm-font-size {
font-size: 1.3rem;
}
}
@media only screen and (min-width: 728px) and (max-width: 1440px) {
h1 {
font-size: 3.3rem;
}
h2 {
font-size: 2.1rem;
}
h3 {
font-size: 1.9rem;
}
p {
font-size: 1.8rem;
}
span, h5 {
font-size: 1.7rem;
}
.sm-font-size {
font-size: 1.3rem;
}
}
@media only screen and (min-width: 425px) and (max-width: 768px) {
h1 {
font-size: 3rem;
}
h2 {
font-size: 1.9rem;
}
h3 {
font-size: 1.7rem;
}
p {
font-size: 1.6rem;
}
span, h5 {
font-size: 1.5rem;
}
.sm-font-size {
font-size: 1.1rem;
}
}
@media only screen and (max-width: 425px) {
h1 {
font-size: 2.6rem;
}
h2 {
font-size: 1.8rem;
}
h3 {
font-size: 1.6rem;
}
p {
font-size: 1.5rem;
}
span, h5 {
font-size: 1.4rem;
}
.sm-font-size {
font-size: 1rem;
}
}
body {
margin: 0px;
}
@media only screen and (min-width: 1921px) {
body {
padding: 15px 25vw;
}
}
@media only screen and (min-width: 1441px) and (max-width: 1920px) {
body {
padding: 15px 20vw;
}
}
@media only screen and (min-width: 729px) and (max-width: 1440px) {
body {
padding: 10px 2vw;
}
}
@media only screen and (min-width: 426px) and (max-width: 728px) {
body {
padding: 5px 1vw;
}
}
@media only screen and (max-width: 425px) {
body {
padding: 0px 0vw;
}
}
.container, .row, .column, .main-container-a, .main-container-b, .responsive-row, .main-container {
display: flex;
}
.flex {
flex-wrap: wrap;
word-break: auto-phrase;
}
.main-container {
max-width: 100%;
width: 100%;
}
.main-container-a {
min-width: 50%;
}
.main-container-b {
min-width: 22%;
}
.responsive-row, .main-container {
display: flex;
}
@media only screen and (min-width: 729px) {
.responsive-row, .main-container {
flex-direction: row;
}
}
@media only screen and (max-width: 728px) {
.responsive-row, .main-container {
flex-direction: column;
}
}
.column, .main-container-a, .main-container-b {
flex-direction: column;
max-width: 100%;
max-height: 100%;
}
.row {
flex-direction: row;
max-width: 100%;
max-height: 100%;
}
.center {
justify-content: center;
align-content: center;
}
.space-between {
justify-content: space-between;
}
.expansive-container {
max-height: 0px;
max-width: max-content;
overflow: hidden;
opacity: 0;
padding: 0px;
text-align: justify;
transition: max-height 1.5s linear(0 0%, 0 2.27%, 0.02 4.53%, 0.04 6.8%, 0.06 9.07%, 0.1 11.33%, 0.14 13.6%, 0.25 18.15%, 0.39 22.7%, 0.56 27.25%, 0.77 31.8%, 1 36.35%, 0.89 40.9%, 0.85 43.18%, 0.81 45.45%, 0.79 47.72%, 0.77 50%, 0.75 52.27%, 0.75 54.55%, 0.75 56.82%, 0.77 59.1%, 0.79 61.38%, 0.81 63.65%, 0.85 65.93%, 0.89 68.2%, 1 72.7%, 0.97 74.98%, 0.95 77.25%, 0.94 79.53%, 0.94 81.8%, 0.94 84.08%, 0.95 86.35%, 0.97 88.63%, 1 90.9%, 0.99 93.18%, 0.98 95.45%, 0.99 97.73%, 1 100%), opacity 0.4s ease-in-out;
}
.expansive-container.active {
border-top: dotted 3px #798eaa;
margin-top: 10px;
max-height: 600px;
opacity: 1;
}
@media only screen and (min-width: 1921px) {
.sm-column-gap {
column-gap: 0.7em;
}
.md-column-gap {
column-gap: 1.2em;
}
.lg-column-gap {
column-gap: 2.2em;
}
.sm-row-gap {
row-gap: 0.7em;
}
.md-row-gap {
row-gap: 1.2em;
}
.lg-row-gap {
row-gap: 2.2em;
}
.responsive-gap, .main-container, .main-container-a, .main-container-b {
gap: 1.2em;
}
.sm-padding {
padding: 14px;
}
.md-padding {
padding: 18px;
}
.lg-padding {
padding: 25px;
}
}
@media only screen and (min-width: 1441px) and (max-width: 1920px) {
.sm-column-gap {
column-gap: 0.5em;
}
.md-column-gap {
column-gap: 1em;
}
.lg-column-gap {
column-gap: 2em;
}
.sm-row-gap {
row-gap: 0.5em;
}
.md-row-gap {
row-gap: 1em;
}
.lg-row-gap {
row-gap: 2em;
}
.responsive-gap, .main-container, .main-container-a, .main-container-b {
gap: 0.6em 1.4em;
}
.sm-padding {
padding: 14px;
}
.md-padding {
padding: 16px;
}
.lg-padding {
padding: 20px;
}
}
@media only screen and (min-width: 728px) and (max-width: 1440px) {
.sm-column-gap {
column-gap: 0.4em;
}
.md-column-gap {
column-gap: 0.9em;
}
.lg-column-gap {
column-gap: 1.9em;
}
.sm-row-gap {
row-gap: 0.4em;
}
.md-row-gap {
row-gap: 0.9em;
}
.lg-row-gap {
row-gap: 1.9em;
}
.responsive-gap, .main-container, .main-container-a, .main-container-b {
gap: 0.6em 1.3em;
}
.sm-padding {
padding: 9px;
}
.md-padding {
padding: 12px;
}
.lg-padding {
padding: 14px;
}
}
@media only screen and (min-width: 426px) and (max-width: 768px) {
.sm-column-gap {
column-gap: 0.4em;
}
.md-column-gap {
column-gap: 0.8em;
}
.lg-column-gap {
column-gap: 1.8em;
}
.sm-row-gap {
row-gap: 0.4em;
}
.md-row-gap {
row-gap: 0.8em;
}
.lg-row-gap {
row-gap: 1.8em;
}
.responsive-gap, .main-container, .main-container-a, .main-container-b {
gap: 0.6em 1em;
}
.sm-padding {
padding: 7px;
}
.md-padding {
padding: 10px;
}
.lg-padding {
padding: 12px;
}
}
@media only screen and (max-width: 425px) {
.sm-column-gap {
column-gap: 0.4em;
}
.md-column-gap {
column-gap: 0.7em;
}
.lg-column-gap {
column-gap: 1.7em;
}
.sm-row-gap {
row-gap: 0.4em;
}
.md-row-gap {
row-gap: 0.7em;
}
.lg-row-gap {
row-gap: 1.7em;
}
.sm-padding {
padding: 5px;
}
.md-padding {
padding: 8px;
}
.lg-padding {
padding: 10px;
}
}
@media screen and (min-width: 426px) {
.hover-shadow {
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
transition: box-shadow 0.3s;
}
.hover-shadow:hover {
box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}
.hover-size-in {
transform: scale(1);
transition: transform 0.15s ease;
}
.hover-size-in:hover {
transform: scale(0.95);
}
.hover-size-out {
transform: scale(1);
transition: transform 0.15s ease;
}
.hover-size-out:hover {
transform: scale(1.05);
}
}
.bg-white {
background-color: #ffffff ;
color: rgb(20, 20, 20);
}
.bg-light {
background-color: #f8f9fa ;
color: black;
}
.bg-grey {
background-color: #4b678f ;
color: rgb(255, 255, 255);
}
.bg-light-grey {
background-color: rgb(226, 226, 235) ;
color: rgb(0, 0, 0);
}
.bg-light-blue {
background-color: #a1a6ea ;
color: rgb(255, 255, 255);
}
.bg-green {
background-color: #95e069 ;
color: white;
}
.bg-orange {
background-color: #ff9a80 ;
color: white;
}
.bg-purple {
background-color: #9e7ee7 ;
color: white;
}
.sm-rounded {
border-radius: 5px;
}
.md-rounded {
border-radius: 8px;
}
.lg-rounded {
border-radius: 12px;
}
.xl-rounded {
border-radius: 30px;
}
.btn-inactive {
background-color: #b3b3bf ;
color: white;
}
.btn-github {
color: white;
cursor: pointer;
transition: transform 0.8s linear(0 0%, 0.22 2.1%, 0.86 6.5%, 1.11 8.6%, 1.3 10.7%, 1.35 11.8%, 1.37 12.9%, 1.37 13.7%, 1.36 14.5%, 1.32 16.2%, 1.03 21.8%, 0.94 24%, 0.89 25.9%, 0.88 26.85%, 0.87 27.8%, 0.87 29.25%, 0.88 30.7%, 0.91 32.4%, 0.98 36.4%, 1.01 38.3%, 1.04 40.5%, 1.05 42.7%, 1.05 44.1%, 1.04 45.7%, 1 53.3%, 0.99 55.4%, 0.98 57.5%, 0.99 60.7%, 1 68.1%, 1.01 72.2%, 1 86.7%, 1 100%);
}
.btn-github:hover {
transform: scale(0.87);
}
.loading-icon {
color: #67709b;
font-size: 3rem;
}
.loading-gradient {
background: linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.13) 20%, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.05) 100%);
background-size: 200% 100%;
background-position: 100% 0;
animation: animateGradient 1s ease-in-out infinite;
}
@keyframes animateGradient {
0% {
background-position: 100% 0;
}
100% {
background-position: -100% 0;
}
}
/*# sourceMappingURL=styles.css.map */