first 2 lectures
This commit is contained in:
1 parent
2cf84f4efd
commit
98a7c96117
289 files changed
+14886
No files matched your search
@@ -0,0 +1,43 @@
|
||||
@keyframes moveInLeft {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: translateX(-10rem);
|
||||
}
|
||||
|
||||
80% {
|
||||
transform: translateX(1rem);
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
transform: translate(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes moveInRight {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: translateX(10rem);
|
||||
}
|
||||
|
||||
80% {
|
||||
transform: translateX(-1rem);
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
transform: translate(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes moveInBottom {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: translateY(3rem);
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
transform: translate(0);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
*,
|
||||
*::after,
|
||||
*::before {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: inherit;
|
||||
}
|
||||
|
||||
html {
|
||||
// This defines what 1rem is
|
||||
font-size: 62.5%; //1 rem = 10px; 10px/16px = 62.5%
|
||||
|
||||
@include respond(tab-land) { // width < 1200?
|
||||
font-size: 56.25%; //1 rem = 9px, 9/16 = 50%
|
||||
}
|
||||
|
||||
@include respond(tab-port) { // width < 900?
|
||||
font-size: 50%; //1 rem = 8px, 8/16 = 50%
|
||||
}
|
||||
|
||||
@include respond(big-desktop) {
|
||||
font-size: 75%; //1rem = 12, 12/16
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
box-sizing: border-box;
|
||||
padding: 3rem;
|
||||
|
||||
@include respond(tab-port) {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
::selection {
|
||||
background-color: $color-primary;
|
||||
color: $color-white;
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
body {
|
||||
font-family: "Lato", sans-serif;
|
||||
font-weight: 400;
|
||||
/*font-size: 16px;*/
|
||||
line-height: 1.7;
|
||||
color: $color-grey-dark;
|
||||
}
|
||||
|
||||
.heading-primary {
|
||||
color: $color-white;
|
||||
text-transform: uppercase;
|
||||
|
||||
backface-visibility: hidden;
|
||||
margin-bottom: 6rem;
|
||||
|
||||
&--main {
|
||||
display: block;
|
||||
font-size: 6rem;
|
||||
font-weight: 400;
|
||||
letter-spacing: 3.5rem;
|
||||
|
||||
animation-name: moveInLeft;
|
||||
animation-duration: 1s;
|
||||
animation-timing-function: ease-out;
|
||||
|
||||
@include respond(phone) {
|
||||
letter-spacing: 1rem;
|
||||
font-family: 5rem;
|
||||
}
|
||||
/*
|
||||
animation-delay: 3s;
|
||||
animation-iteration-count: 3;
|
||||
*/
|
||||
}
|
||||
|
||||
&--sub {
|
||||
display: block;
|
||||
font-size: 2rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 1.75rem;
|
||||
animation: moveInRight 1s ease-out;
|
||||
|
||||
@include respond(phone) {
|
||||
letter-spacing: .5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.heading-secondary {
|
||||
font-size: 3.5rem;
|
||||
text-transform: uppercase;
|
||||
font-weight: 700;
|
||||
display: inline-block;
|
||||
background-image: linear-gradient(to right, $color-primary-light, $color-primary-dark);
|
||||
-webkit-background-clip: text;
|
||||
color: transparent;
|
||||
letter-spacing: .2rem;
|
||||
transition: all .2s;
|
||||
|
||||
@include respond(tab-port) {
|
||||
font-size: 3rem;
|
||||
}
|
||||
|
||||
@include respond(phone) {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
transform: skewY(2deg) skewX(15deg) scale(1.1);
|
||||
text-shadow: .5rem 1rem 2rem rgba($color-black, .2);
|
||||
}
|
||||
}
|
||||
|
||||
.heading-tertiary {
|
||||
font-size: $default-font-size;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.paragraph {
|
||||
font-size: $default-font-size;
|
||||
|
||||
&:not(:last-child) {
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
.u-center-text { text-align: center !important; }
|
||||
|
||||
.u-margin-bottom-small { margin-bottom: 1.5rem !important; }
|
||||
.u-margin-bottom-medium {
|
||||
margin-bottom: 4rem !important;
|
||||
|
||||
@include respond(tab-port) {
|
||||
margin-bottom: 3rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
.u-margin-bottom-big {
|
||||
margin-bottom: 8rem !important;
|
||||
|
||||
@include respond(tab-port) {
|
||||
margin-bottom: 5rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
.u-margin-top-big { margin-top: 8rem !important; }
|
||||
.u-margin-top-huge { margin-top: 10rem !important; }
|
||||
Reference in new issue
Block a user