Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have already finished the mobile, tablet and Desktop design #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
Binary file added assets/images/DO_Logo_Vertical_Black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/DO_Logo_Vertical_White.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/car-key.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/styles/components/Footer.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
.footer{
width: $width;
height:$heightOthers;
padding: 20px 50px;
display: grid;
justify-content:$justify-content;
background-color: $colorDark;

#article-footer{
align-self: center;

}

#article-footer p{
text-align: $text-alignp;
font-size: $font-sizep;
line-height: $line-heightp;
padding: $paddingp;
color:$colorLight;

}
#article-footer p > a{
text-decoration: none;
color:gray;
}
#article-footer p > a:hover{
color:$colorLight;
}





}
25 changes: 25 additions & 0 deletions assets/styles/components/Header.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

.container-header {
width: $width;
padding: 100px 0;
display: grid;
text-align: center;

article {
h1{
display: inline-block;
font-weight:bolder;
font-size: $font-size;
margin: 0;
}

h3 {
font-weight: lighter;
font-size: 1.5em;
}
}

#figure-header h3{
padding: $paddingp;
}
}
40 changes: 38 additions & 2 deletions assets/styles/components/_main.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,39 @@
h1 {
color: $colorDark;
body {
section {
width: $width;
height: $heightOthers;
padding: 20px 50px;
display: grid;
justify-content: center;
background-color: rgba(10, 10, 10, .10);

article {
h2 {
text-align: center;
font-size: $font-size;
}
}
}

h1 {
color: $colorDark;
}

p{
font-size: $font-sizep;
line-height: $line-heightp;
text-align: center;

}

figure{
padding:$paddingp;

img{
width: $width;
max-width:$max-width;
border-radius: $borderRadius;
}
}
}

42 changes: 39 additions & 3 deletions assets/styles/modules/_breakpoints.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,43 @@
//BREAKPOINTS MOBILE FIRST

@import "variables";
// Medium devices (tablets, 768px and up)
@media (min-width: 768px) {}
@media (min-width: 768px) {
article p{
text-align: center;
}
#mainSection{

display: grid;
align-self: center;
article{
align-self: center;
}
}

}

// Large devices (desktops, 992px and up)
@media (min-width: 992px) {}
@media (min-width: 992px) {
.container-header{
display: grid;
grid-template-columns: 1fr 1fr;
article {
align-self: center;
}
}
section{
display: grid;
grid-template-columns: 1fr 1fr;
article {
align-self: center;
p{
text-align: center;
}
}
}
#mainSection {
display: grid;
grid-template-columns: 1fr 10px;
justify-content: center;
}
}
16 changes: 16 additions & 0 deletions assets/styles/modules/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,2 +1,18 @@

$colorLight: #fff;
$colorDark: #000;
$width: 100%;
$borderRadius: 20px;
$paddingH: 100px;
$paddingp: 1em 1em 0 1em;
$justify-content: center;
$height: 100vh;
$heightOthers: 75vh;
$font-size: 42px;
$text-align: center;
$font-sizeSub: 80px;
$font-sizep: 16px;
$line-heightp: 1.6em;
$text-alignp: center;
$max-width: 800px;

112 changes: 111 additions & 1 deletion assets/styles/styles.css

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

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.

16 changes: 9 additions & 7 deletions assets/styles/styles.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
// CONFIG MODULES
@import "modules/app";
@import "modules/breakpoints";
@import "modules/mixins";
@import "modules/typography";
@import "modules/variables";
@import "modules/app.scss";
@import "modules/breakpoints.scss";
@import "modules/mixins.scss";
@import "modules/typography.scss";
@import "modules/variables.scss";

// COMPONENTS
@import "components/main";
@import "components/hero";
@import "components/main.scss";
@import "components/hero.scss";
@import "components/Header.scss";
@import "components/Footer.scss";
Loading