Edit ─ *html move the <footer> ... </footer> in the bottom of <body>...</body> | Create ─ A custom squares template for the solar system | Edit ─ The footer is don't fix anymore
This commit is contained in:
15 files changed
+352
-264
No files matched your search
@@ -158,7 +158,6 @@ h2 {
|
||||
}
|
||||
|
||||
body #footer-box {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 5rem;
|
||||
width: 100%;
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
body #div-content {
|
||||
height: 130rem;
|
||||
position: relative;
|
||||
background-color: #1B4056;
|
||||
z-index: 2;
|
||||
padding-bottom: 7rem;
|
||||
|
||||
}
|
||||
|
||||
.grid {
|
||||
position: absolute;
|
||||
display: grid;
|
||||
gap: 5rem;
|
||||
grid-template-columns: repeat(1, 100rem);
|
||||
grid-template-rows: repeat(3, 35rem);
|
||||
justify-self: center;
|
||||
justify-content: center;
|
||||
margin-top: 15rem;
|
||||
}
|
||||
.grid-item {
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.grid-item img {
|
||||
border-radius: 2rem;
|
||||
}
|
||||
|
||||
.grid-item img:hover {
|
||||
box-shadow: 0.2rem 1rem 2rem #000000;
|
||||
transform: scale(1.01);
|
||||
cursor: default;
|
||||
|
||||
}
|
||||
|
||||
.grid .one ,.three {
|
||||
background-color: #235573;
|
||||
padding: 1rem;
|
||||
border-radius: .40rem;
|
||||
}
|
||||
|
||||
.grid .two {
|
||||
background-color: #235573;
|
||||
padding: 1rem;
|
||||
border-radius: .40rem;
|
||||
|
||||
}
|
||||
|
||||
.grid, .two img {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.right-text {
|
||||
margin-left: 44.5rem;
|
||||
}
|
||||
.grid, .one img {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.grid, .three img {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.grid-item p {
|
||||
font-size: 20px;
|
||||
}
|
||||
Reference in new issue
Block a user