Skip to content

Commit

Permalink
Posicionamiento de elementos
Browse files Browse the repository at this point in the history
  • Loading branch information
HaroldMart committed Aug 28, 2022
1 parent 1bdf639 commit 9d3fc3c
Show file tree
Hide file tree
Showing 10 changed files with 385 additions and 465 deletions.
3 changes: 0 additions & 3 deletions composer.json

This file was deleted.

286 changes: 5 additions & 281 deletions index.html

Large diffs are not rendered by default.

Empty file added pages/#seVan.html
Empty file.
Empty file added pages/blog.html
Empty file.
242 changes: 242 additions & 0 deletions pages/git.html

Large diffs are not rendered by default.

Empty file added pages/recursos.html
Empty file.
157 changes: 0 additions & 157 deletions styles/Git-Github-style.css

This file was deleted.

72 changes: 62 additions & 10 deletions styles/estilos.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,48 @@ body {

.main {
display: grid;
grid-template: "nav nav nav" 100px "content content aside" auto "footer footer footer" 200px/1fr 1fr 400px;
grid-template: "nav nav nav" 100px "content content aside" auto "footer footer footer" 200px/1fr 1fr 480px;
}

.navbar {
grid-area: nav;
background-color: white;
padding: 10px;
display: flex;
align-items: center;
align-content: center;
align-self: center;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-areas: "image ul ul";
align-content: space-between;
}
.navbar img {
grid-area: image;
}
.navbar ul {
grid-area: ul;
list-style-type: none;
border-radius: 5px;
}
.navbar ul li {
display: inline-block;
padding: 10px;
margin: 0px 5px 0px 5px;
}
.navbar ul li :hover {
background-color: #D61F51;
border-radius: 5px;
color: white;
padding: 10px;
transition: all 400ms;
}
.navbar ul li a {
text-decoration: none;
}
.navbar ul .blog {
background-color: #D61F51;
border-radius: 5px;
}
.navbar ul .blog a {
color: white;
}

.content {
grid-area: content;
Expand All @@ -47,25 +67,57 @@ body {
color: white;
padding-left: 200px;
align-items: center;
text-shadow: 0px 0px 5px black;
}
.content section {
padding: 10px 50px 10px 200px;
}

.aside {
grid-area: aside;
padding: 5px;
background-color: #CED6D9;
padding: 20px;
background-color: #e6e2e2;
position: -webkit-sticky;
position: sticky;
height: 400px;
margin-right: 200px;
top: 20px;
height: 410px;
margin: 80px 200px 0px 0px;
top: 50px;
z-index: 2;
border-radius: 10px;
display: grid;
grid-template-rows: 190px 20px;
box-shadow: 0px 3px 5px black;
}
.aside a {
text-decoration: none;
color: black;
}
.aside h3 {
text-align: center;
color: rgb(49, 49, 49);
}
.aside h3 :hover {
color: rgb(0, 0, 0);
transition: all 400ms;
}
.aside ul {
display: flex;
flex-direction: column;
list-style-type: none;
padding: 0;
justify-content: center;
}
.aside ul li {
padding: 10px;
}
.aside ul li :hover {
background-color: #979797;
border-radius: 5px;
padding: 10px;
width: 100%;
color: white;
margin: 0px 2px 0px 2px;
transition: all 400ms;
}

.footer {
Expand Down
2 changes: 1 addition & 1 deletion styles/estilos.css.map

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

Loading

0 comments on commit 9d3fc3c

Please sign in to comment.