new index page and about me page; no left or right buffer - use full space for content grid.
This commit is contained in:
Executable
+168
@@ -0,0 +1,168 @@
|
||||
* {
|
||||
padding:0;
|
||||
margin:0;
|
||||
font-family: trebuchet ms; arial; calibri; gill sans; helvetica neue; candara; geneva; verdana; sans-serif;
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
.centered {
|
||||
text-align: center;
|
||||
}
|
||||
#poltics {
|
||||
height: auto;
|
||||
width: 100%;
|
||||
|
||||
}
|
||||
.nav-grid img {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.grid {
|
||||
height: 95vh;
|
||||
width: 100vw;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 60% 1fr;
|
||||
grid-template-rows: 5% 15% 60% 20%;
|
||||
grid-column-gap: 0px;
|
||||
grid-row-gap: 0px;
|
||||
}
|
||||
|
||||
.top-row {
|
||||
grid-area: 1 / 1 / 2 / 4;
|
||||
display: flex;
|
||||
flex-direction:column;
|
||||
justify-content:center;
|
||||
align-items: center;
|
||||
}
|
||||
.nav-row {
|
||||
grid-area: 2 / 1 / 3 / 4;
|
||||
}
|
||||
.content-row {
|
||||
grid-area: 3 / 1 / 4 / 4;
|
||||
}
|
||||
.latest-row {
|
||||
grid-area: 4 / 1 / 5 / 4;
|
||||
}
|
||||
.nav-grid {
|
||||
grid-area: 2 / 2 / 3 / 3;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0%,10%) repeat(5, 1fr) minmax(0%,10%);
|
||||
grid-column-gap: 0px;
|
||||
grid-row-gap: 0px;
|
||||
justify-items: center;
|
||||
text-align: center;
|
||||
color: red;
|
||||
}
|
||||
.nav-left {
|
||||
grid-area: 1 / 1 / 2 / 2;
|
||||
}
|
||||
.nav-right {
|
||||
grid-area: 1 / 7 / 2 / 8;
|
||||
}
|
||||
.nav-home {
|
||||
grid-area: 1 / 2 / 2 / 3;
|
||||
display: grid;
|
||||
grid-template-columns: 100%;
|
||||
grid-template-rows: 80% 20%;
|
||||
grid-column-gap: 0px;
|
||||
grid-row-gap: 0px;
|
||||
flex-direction: column;
|
||||
}
|
||||
.nav-blessfrey {
|
||||
grid-area: 1 / 3 / 2 / 4;
|
||||
display: grid;
|
||||
grid-template-columns: 100%;
|
||||
grid-template-rows: 80% 20%;
|
||||
grid-column-gap: 0px;
|
||||
grid-row-gap: 0px;
|
||||
flex-direction: column;
|
||||
}
|
||||
.nav-lemonland { grid-area: 1 / 4 / 2 / 5;
|
||||
display: grid;
|
||||
grid-template-columns: 100%;
|
||||
grid-template-rows: 80% 20%;
|
||||
grid-column-gap: 0px;
|
||||
grid-row-gap: 0px;
|
||||
flex-direction: column;
|
||||
}
|
||||
.nav-diary { grid-area: 1 / 5 / 2 / 6;
|
||||
display: grid;
|
||||
grid-template-columns: 100%;
|
||||
grid-template-rows: 80% 20%;
|
||||
grid-column-gap: 0px;
|
||||
grid-row-gap: 0px;
|
||||
flex-direction: column;
|
||||
}
|
||||
.nav-about { grid-area: 1 / 6 / 2/ 7;
|
||||
display: grid;
|
||||
grid-template-columns: 100%;
|
||||
grid-template-rows: 80% 20%;
|
||||
grid-column-gap: 0px;
|
||||
grid-row-gap: 0px;
|
||||
flex-direction: column;
|
||||
}
|
||||
.navlink {
|
||||
font-size: 110%;
|
||||
font-weight: bold;
|
||||
}
|
||||
.navlink a:link {
|
||||
color: #E6E8EF;
|
||||
}
|
||||
.navlink a:visited {
|
||||
color: #E6E8EF;
|
||||
}
|
||||
.navlink a:hover {
|
||||
color: #f463ad;
|
||||
}
|
||||
.navlink a:active {
|
||||
color: #f463ad;
|
||||
}
|
||||
|
||||
.content-grid {
|
||||
grid-area: 3 / 2 / 4 / 3;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
grid-template-rows: 1fr;
|
||||
grid-column-gap: 0px;
|
||||
grid-row-gap: 0px;
|
||||
}
|
||||
.content-left {
|
||||
grid-area: 1 / 1 / 2 / 2;
|
||||
background-image: url(../img/prom/guildwarsgirl.png);
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
background-position: right;
|
||||
max-height: 625px;
|
||||
}
|
||||
.content-right {
|
||||
grid-area: 1 / 2 / 2 / 3;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
grid-template-rows: 1fr 2fr repeat(2, 1fr);
|
||||
grid-column-gap: 0px;
|
||||
grid-row-gap: 0px;
|
||||
}
|
||||
.intro { grid-area: 1 / 1 / 2 / 3;
|
||||
background-color: red; }
|
||||
.rpg { grid-area: 2 / 1 / 3 / 2;
|
||||
background-color: yellow; }
|
||||
.petsite { grid-area: 2 / 2 / 3 / 3;
|
||||
background-color: green; }
|
||||
.projects { grid-area: 3 / 1 / 4 / 3;
|
||||
background-color: blue; }
|
||||
.ocs { grid-area: 4 / 1 / 5 / 3;
|
||||
background-color: purple; }
|
||||
|
||||
.footer-content {
|
||||
color: white;
|
||||
padding-top: 5px;
|
||||
text-align: right;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 100vh 0 100vh black;
|
||||
}
|
||||
Reference in New Issue
Block a user