Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions assets/styles/components/_hero.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
.hero {
text-align: center;
&_continer {
display: grid;
place-content: center;
}
&_header-img {
display: flex;
justify-content: center;
}

&__heder-img img {
place-self: center;
width: 42px;
height: 42px;
}
&__header h1 {
padding-inline: 1rem;
}
&_brand-icon {
width: 42px;
height: 42px;
}
}

.hero h2 {
font-family: "Open Sans", sans-serif;
font-size: 1.5rem;
}
6 changes: 6 additions & 0 deletions assets/styles/components/_main.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.align-center {
text-align: center;
}
.section-background {
background-color: #f4f8fc;
}
42 changes: 42 additions & 0 deletions assets/styles/modules/_app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,45 @@
text-decoration: none;
text-rendering: optimizeLegibility;
}

.shadow {
border-radius: 0.5rem;
box-shadow: 0 13px 27px -5px hsla(240deg, 30.1%, 28%, 0.25),
0 8px 16px -8px hsla(0deg, 0%, 0%, 0.3),
0 -6px 16px -6px hsla(0deg, 0%, 0%, 0.03);
}

html {
box-sizing: border-box;
text-rendering: optimizeLegibility;
font-size: 100%;
font-family: "Inter", sans-serif;
}

body {
margin: 0;
}

a {
text-decoration: none;
}

img {
max-width: 100%;
height: auto;
}
.container {
max-width: 992px;
margin-left: auto;
margin-right: auto;
padding: 1rem;
}

.section {
padding: 100px 0;
background-color: #fff;
}

.align-center {
text-align: center;
}
19 changes: 17 additions & 2 deletions assets/styles/modules/_breakpoints.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
//BREAKPOINTS MOBILE FIRST
@import "variables";
.grid {
display: grid;
}

.small {
margin-bottom: 1rem;
}

// Medium devices (tablets, 768px and up)
@media (min-width: 768px) {}
@media (min-width: 768px) {
.container {
max-width: 768px;
}
}

// Large devices (desktops, 992px and up)
@media (min-width: 992px) {}
@media (min-width: 992px) {
.grid {
grid-template-columns: auto auto;
}
}
51 changes: 48 additions & 3 deletions assets/styles/modules/_typography.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,50 @@
@import url('https://rsms.me/inter/inter.css');
html { font-family: 'Inter', sans-serif; }
@import url("https://rsms.me/inter/inter.css");
html {
font-family: "Inter", sans-serif;
}
@supports (font-variation-settings: normal) {
html { font-family: 'Inter var', sans-serif; }
html {
font-family: "Inter var", sans-serif;
}
}
a {
text-decoration: none;
color: #386bf3;
}

h1,
h2,
h3 {
margin: 0;
}

h1 {
font-size: 2.625rem;
}
p {
line-height: 1.6;
}

code {
background-color: #f4f7fc;
padding: 0.25rem;
border-radius: 0.25rem;
font-size: 0.875rem;
}

pre {
white-space: nowrap;
padding: 0.875rem;
margin-bottom: 1.625rem;
border-radius: 0.5rem;
background-color: #f4f7fc;
font-size: 0.875rem;
}

.sub-title-large {
font-size: 2.25rem;
}

.sub-title-small {
font-weight: 300;
}
1 change: 1 addition & 0 deletions assets/styles/modules/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
$colorLight: #fff;
$colorDark: #000;

138 changes: 137 additions & 1 deletion assets/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,65 @@
text-rendering: optimizeLegibility;
}

.shadow {
border-radius: 0.5rem;
box-shadow: 0 13px 27px -5px hsla(240deg, 30.1%, 28%, 0.25), 0 8px 16px -8px hsla(0deg, 0%, 0%, 0.3), 0 -6px 16px -6px hsla(0deg, 0%, 0%, 0.03);
}

html {
box-sizing: border-box;
text-rendering: optimizeLegibility;
font-size: 100%;
font-family: "Inter", sans-serif;
}

body {
margin: 0;
}

a {
text-decoration: none;
}

img {
max-width: 100%;
height: auto;
}

.container {
max-width: 992px;
margin-left: auto;
margin-right: auto;
padding: 1rem;
}

.section {
padding: 100px 0;
background-color: #fff;
}

.align-center {
text-align: center;
}

.grid {
display: grid;
}

.small {
margin-bottom: 1rem;
}

@media (min-width: 768px) {
.container {
max-width: 768px;
}
}
@media (min-width: 992px) {
.grid {
grid-template-columns: auto auto;
}
}
html {
font-family: "Inter", sans-serif;
}
Expand All @@ -17,5 +76,82 @@ html {
font-family: "Inter var", sans-serif;
}
}
a {
text-decoration: none;
color: #386bf3;
}

h1,
h2,
h3 {
margin: 0;
}

h1 {
font-size: 2.625rem;
}

p {
line-height: 1.6;
}

code {
background-color: #f4f7fc;
padding: 0.25rem;
border-radius: 0.25rem;
font-size: 0.875rem;
}

pre {
white-space: nowrap;
padding: 0.875rem;
margin-bottom: 1.625rem;
border-radius: 0.5rem;
background-color: #f4f7fc;
font-size: 0.875rem;
}

.sub-title-large {
font-size: 2.25rem;
}

.sub-title-small {
font-weight: 300;
}

.align-center {
text-align: center;
}

.section-background {
background-color: #f4f8fc;
}

.hero {
text-align: center;
}
.hero_continer {
display: grid;
place-content: center;
}
.hero_header-img {
display: flex;
justify-content: center;
}
.hero__heder-img img {
place-self: center;
width: 42px;
height: 42px;
}
.hero__header h1 {
padding-inline: 1rem;
}
.hero_brand-icon {
width: 42px;
height: 42px;
}

/*# sourceMappingURL=styles.css.map */
.hero h2 {
font-family: "Open Sans", sans-serif;
font-size: 1.5rem;
}/*# sourceMappingURL=styles.css.map */
2 changes: 1 addition & 1 deletion assets/styles/styles.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions assets/styles/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
// COMPONENTS
@import "components/main.scss";
@import "components/hero.scss";

//
Loading