1
0
mirror of https://github.com/Mayccoll/Gogh.git synced 2023-08-10 21:12:46 +03:00
Gogh/gh-pages/sass/main.scss

512 lines
13 KiB
SCSS
Raw Permalink Normal View History

2020-12-19 08:07:07 +03:00
@charset "UTF-8";
@import './_base.scss';
@import './terminal.scss';
/**
*
* ······· General
*
*/
.btn {
display : inline-block;
2021-05-01 21:13:34 +03:00
padding : 0.8rem 2.5rem 0.85rem;
2020-12-19 08:07:07 +03:00
outline : none;
border : 1px solid #0d1926;
border-radius : 0;
background-color: transparent;
color : #0d1926;
text-align : center;
text-decoration : none;
text-transform : uppercase;
2021-05-01 21:13:34 +03:00
font-size : 1.6rem;
2020-12-19 08:07:07 +03:00
cursor : pointer;
transition : all 0.3s ease;
2021-05-01 21:13:34 +03:00
@include m360 {}
@include m450 {}
@include m576 {}
@include m650 {
font-size : 1.4rem;
padding: 0.57rem 1.5rem 0.55rem;
}
@include m768 {
padding: 1.3rem 2.5rem 0.85rem;
}
@include m900 {}
@include m992 {}
@include m1200 {}
@include m1400 {}
@include m1800 {}
@include m2200 {}
2018-12-06 18:38:56 +03:00
}
2020-12-19 08:07:07 +03:00
.btn:hover {
background-color: #0d1926;
color : #ffffff;
2018-12-06 18:38:56 +03:00
}
2020-12-19 08:07:07 +03:00
.btn:active {
position: relative;
top : 1px;
2018-12-06 18:38:56 +03:00
}
2020-12-19 08:07:07 +03:00
.btn:focus {
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
2018-12-06 18:38:56 +03:00
}
2020-12-19 08:07:07 +03:00
/**
*
* ······· Header
*
*/
.gogh-header {
display : flex;
2021-05-01 21:13:34 +03:00
background-color: #0d1926;
2020-12-19 08:07:07 +03:00
align-items : center;
justify-content : center;
2018-12-06 18:38:56 +03:00
2020-12-19 08:07:07 +03:00
h1 {
width : 500px;
text-align : center;
font-size : 1rem;
line-height: 1;
2018-12-06 18:38:56 +03:00
2020-12-19 08:07:07 +03:00
span {
display : block;
overflow : hidden;
color : #fff;
text-indent: 100%;
white-space: nowrap;
}
2018-12-06 18:38:56 +03:00
2020-12-19 08:07:07 +03:00
img {
width : 100%;
height: auto;
}
2018-12-06 18:38:56 +03:00
}
}
2020-12-19 08:07:07 +03:00
/**
*
* ······· Content
*
*/
.gogh-content {
padding : 50px 0;
min-height : 200vh;
background-color: #e7e7e7;
color : #595647;
2018-12-06 18:38:56 +03:00
2020-12-19 08:07:07 +03:00
h2 {
margin : 0 0 25px;
color : #595647;
2021-05-01 21:13:34 +03:00
text-align : center;
font-weight: 700;
font-size : 2.0rem;
line-height: 1.2;
@include m360 {}
@include m450 {}
@include m576 {}
@include m650 {}
@include m768 {
text-align : left;
font-weight: 400;
font-size : 2.8rem;
line-height: 1;
}
@include m900 {}
@include m992 {}
@include m1200 {}
@include m1400 {}
@include m1800 {}
@include m2200 {}
}
h3 {
@include m360 {}
@include m450 {
font-size: 2.8rem;
}
@include m576 {}
@include m650 {
font-size: 3.2rem;
}
@include m768 {}
@include m900 {}
@include m992 {}
@include m1200 {}
@include m1400 {}
@include m1800 {}
@include m2200 {}
}
h4 {
font-size: 1.8rem;
@include m360 {}
@include m450 {
font-size: 2.2rem;
}
@include m576 {}
@include m650 {
font-size: 2.8rem;
}
@include m768 {}
@include m900 {}
@include m992 {}
@include m1200 {}
@include m1400 {}
@include m1800 {}
@include m2200 {}
span {
font-weight: 300;
font-size : 1.4rem;
}
2020-12-19 08:07:07 +03:00
}
2018-12-06 18:38:56 +03:00
2020-12-19 08:07:07 +03:00
p {
margin : 0 0 40px;
color : #595647;
font-size : 1.6rem;
line-height: 1.4;
2018-12-06 18:38:56 +03:00
}
}
2020-12-19 08:07:07 +03:00
/**
*
* ······· Code
*
*/
.code-wrap {
position: relative;
margin : 0 0 40px;
2018-12-06 18:38:56 +03:00
2021-05-01 21:13:34 +03:00
.language-bash {
padding: 0.8rem 0.8rem 1.5rem;
@include m360 {}
@include m450 {
padding: 1.5rem 1.2rem;
}
@include m576 {}
@include m650 {}
@include m768 {}
@include m900 {}
@include m992 {}
@include m1200 {}
@include m1400 {}
@include m1800 {}
@include m2200 {}
}
.code-holder {
position: relative;
}
2020-12-19 08:07:07 +03:00
.btn-copy {
2021-05-01 21:13:34 +03:00
position : absolute;
right : 0;
bottom : 0;
display : inline-flex;
padding : 5px 10px;
height : 100%;
background-color: #F5F2F0;
cursor : pointer;
transition : all 0.3s ease;
@include m360 {}
@include m450 {}
@include m576 {}
@include m650 {
max-width: 50px;
}
@include m768 {}
@include m900 {}
@include m992 {}
@include m1200 {}
@include m1400 {}
@include m1800 {}
@include m2200 {}
2018-12-06 18:38:56 +03:00
2020-12-19 08:07:07 +03:00
svg {
width : 100%;
height : auto;
transition: all 0.3s ease;
fill : #363636;
}
2018-12-06 18:38:56 +03:00
2020-12-19 08:07:07 +03:00
&:hover {
svg {
animation-name : anim-gogh;
animation-duration: 8s;
fill : #FF0883;
}
2018-12-06 18:38:56 +03:00
}
}
}
2020-12-19 08:07:07 +03:00
/**
*
* ······· Github
*
*/
.github-int {
margin : 0 0 40px;
text-align: center;
}
2020-12-20 03:18:16 +03:00
/**
*
* ······· Filters
*
*/
.filters {
display : flex;
margin : 0 0 40px;
2021-05-01 21:13:34 +03:00
justify-content: center;
flex-direction: column;
@include m360 {}
@include m450 {}
@include m576 {}
@include m650 {
flex-direction: row;
}
@include m768 {}
@include m900 {}
@include m992 {}
@include m1200 {}
@include m1400 {}
@include m1800 {}
@include m2200 {}
2020-12-20 03:18:16 +03:00
.btn {
position: relative;
2021-05-01 21:13:34 +03:00
margin : 0 0 20px 0;
@include m360 {}
@include m450 {}
@include m576 {}
@include m650 {
margin : 0 15px;
}
@include m768 {
}
@include m900 {}
@include m992 {}
@include m1200 {}
@include m1400 {}
@include m1800 {}
@include m2200 {}
2020-12-20 03:18:16 +03:00
&:hover {
&::before {
position : absolute;
right : 0;
bottom : -10px;
left : 0;
margin : 0 auto;
width : 100%;
height : 1px;
background-color : #0d1926;
content : " ";
opacity : 1;
animation-name : anim-gogh-bg;
animation-duration: 8s;
}
}
&::before {
2021-05-01 21:13:34 +03:00
@include m360 {}
@include m450 {}
@include m576 {}
@include m650 {}
@include m768 {
position : absolute;
right : 0;
bottom : -10px;
left : 0;
margin : 0 auto;
width : 0;
height : 1px;
background-color: #0d1926;
content : " ";
opacity : 0;
transition : all 0.3s ease;
}
@include m900 {}
@include m992 {}
@include m1200 {}
@include m1400 {}
@include m1800 {}
@include m2200 {}
2020-12-20 03:18:16 +03:00
}
&.active {
background-color: #0d1926;
color : #e7e7e7;
}
&.active::before {
2021-05-01 21:13:34 +03:00
@include m360 {}
@include m450 {}
@include m576 {}
@include m650 {}
@include m768 {
position : absolute;
right : 0;
bottom : -10px;
left : 0;
width : 100%;
height : 1px;
background-color: #0d1926;
content : " ";
opacity : 1;
}
@include m900 {}
@include m992 {}
@include m1200 {}
@include m1400 {}
@include m1800 {}
@include m2200 {}
2020-12-20 03:18:16 +03:00
}
}
}
/**
*
* ······· Filters Bg
*
*/
.filter-background {
margin: 0 0 70px;
2021-01-12 00:03:23 +03:00
border: 1px solid #ffffff;
2020-12-20 03:18:16 +03:00
.btn--filter-bg {
position : relative;
padding : 0;
width : 5%;
height : 40px;
border : none;
cursor : pointer;
transition: all 0.3s ease, border-radius 0.9s ease;
span {
position : absolute;
bottom : -12px;
display : none;
padding : 1px 3px;
width : 100%;
border-radius : 1px;
background : #0d1926;
color : #ffffff;
text-align : center;
text-transform: none;
font-size : 0.6rem;
transition : all 0.3s ease;
}
&:hover {
z-index : 20;
height : 40px;
border : 1px solid #414141;
border-radius: 1px;
transform : scale(1.6);
span {
display: block;
}
}
}
.btn--filter-bg.active {
z-index : 10;
border : 1px solid #414141;
border-radius: 1px;
transform : scale(1.6);
span {
display: block;
}
}
}
2020-12-19 08:07:07 +03:00
/**
*
* ······· Main Content
*
*/
.gogh-terminal {
@include m360 {}
@include m450 {}
@include m576 {}
@include m650 {}
@include m768 {}
@include m900 {}
@include m992 {}
@include m1200 {}
@include m1400 {
2020-12-19 08:07:07 +03:00
margin : 0 auto;
max-width: 96%;
}
@include m1800 {
max-width: 84%;
}
@include m2200 {
max-width: 74%;
}
2018-12-06 18:38:56 +03:00
}
2020-12-19 08:07:07 +03:00
/**
*
* ······· Animations
*
*/
@keyframes anim-gogh {
25% {
fill: #83FF08;
2018-12-06 18:38:56 +03:00
}
2020-12-19 08:07:07 +03:00
37.5% {
fill: #FF8308;
2018-12-06 18:38:56 +03:00
}
2020-12-19 08:07:07 +03:00
50% {
fill: #0883FF;
2018-12-06 18:38:56 +03:00
}
2020-12-19 08:07:07 +03:00
62.5% {
fill: #8308FF;
2018-12-06 18:38:56 +03:00
}
2020-12-19 08:07:07 +03:00
75% {
fill: #08FF83;
2018-12-06 18:38:56 +03:00
}
2020-12-19 08:07:07 +03:00
87.5% {
fill: #363636;
2018-12-06 18:38:56 +03:00
}
2020-12-19 08:07:07 +03:00
100% {
fill: #FF0883;
2018-12-06 18:38:56 +03:00
}
}
2020-12-19 08:07:07 +03:00
@keyframes anim-gogh-bg {
25% {
background-color: #FF0883;
2018-12-06 18:38:56 +03:00
}
2020-12-19 08:07:07 +03:00
37.5% {
background-color: #FF8308;
2018-12-06 18:38:56 +03:00
}
2020-12-19 08:07:07 +03:00
50% {
background-color: #0883FF;
2018-12-06 18:38:56 +03:00
}
2020-12-19 08:07:07 +03:00
62.5% {
background-color: #8308FF;
}
2020-12-19 08:07:07 +03:00
75% {
background-color: #3dba98;
}
2020-12-19 08:07:07 +03:00
87.5% {
background-color: #363636;
}
2020-12-19 08:07:07 +03:00
100% {
background-color: #47af32;
}
}