working
This commit is contained in:
+1
-1
@@ -65,4 +65,4 @@ def temp():
|
|||||||
## Main ##
|
## Main ##
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
run(host='127.0.0.1', port=9001)
|
run(host='127.0.0.1', port=9090)
|
||||||
|
|||||||
+44
-18
@@ -9,11 +9,22 @@
|
|||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
img {
|
||||||
|
height: auto;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
/*@media (min-width: 1000px) {
|
||||||
|
.nav-grid {
|
||||||
|
max-height: 1%:
|
||||||
|
}
|
||||||
|
.nav-left,.nav-right {
|
||||||
|
width: 0px;
|
||||||
|
}*/
|
||||||
|
|
||||||
.grid {
|
.grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: auto 60% auto;
|
grid-template-columns: auto 60% auto;
|
||||||
grid-template-rows: 5% 15% 50% 20%;
|
grid-template-rows: 2% 18% 50% 20%;
|
||||||
grid-column-gap: 0px;
|
grid-column-gap: 0px;
|
||||||
grid-row-gap: 0px;
|
grid-row-gap: 0px;
|
||||||
}
|
}
|
||||||
@@ -45,27 +56,41 @@ a {
|
|||||||
color: #FBDAEC;
|
color: #FBDAEC;
|
||||||
}
|
}
|
||||||
.nav-grid {
|
.nav-grid {
|
||||||
grid-area: 2 / 2 / 3 / 3;
|
grid-area: 2 / 2 / 3 / 3;
|
||||||
|
background-color: white;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction:row;
|
flex-direction:row;
|
||||||
justify-content:flex-end;
|
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: auto repeat(5, 1fr) auto;
|
grid-template-columns: minmax(0%,15%) repeat(5, 1fr) minmax(0%,15%);
|
||||||
grid-template-rows: 90px;
|
grid-column-gap: 0px;
|
||||||
grid-column-gap: 17px;
|
|
||||||
grid-row-gap: 0px;
|
grid-row-gap: 0px;
|
||||||
align-items: end;
|
|
||||||
justify-items: center;
|
justify-items: center;
|
||||||
}
|
}
|
||||||
|
.nav-left {
|
||||||
|
grid-area: 1 / 1 / 2 / 2;
|
||||||
|
background-color: fuchsia;
|
||||||
|
min-height: 61px;}
|
||||||
|
.nav-right {
|
||||||
|
grid-area: 1 / 7 / 2 / 8;
|
||||||
|
background-color: fuchsia;
|
||||||
|
min-height: 61px;}
|
||||||
.nav-home {
|
.nav-home {
|
||||||
|
background-color: red;
|
||||||
grid-area: 1 / 2 / 2 / 3;
|
grid-area: 1 / 2 / 2 / 3;
|
||||||
padding-bottom: 3px;
|
min-height: 61px;
|
||||||
position: relative;
|
|
||||||
}
|
}
|
||||||
.nav-blessfrey { grid-area: 1 / 3 / 2 / 4; }
|
.nav-blessfrey { grid-area: 1 / 3 / 2 / 4;
|
||||||
.nav-lemonland { grid-area: 1 / 4 / 2 / 5; }
|
background-color: yellow;
|
||||||
.nav-diary { grid-area: 1 / 5 / 2 / 6; }
|
min-height: 61px;}
|
||||||
.nav-about { grid-area: 1 / 6 / 2/ 7; }
|
.nav-lemonland { grid-area: 1 / 4 / 2 / 5;
|
||||||
|
min-height: 61px;
|
||||||
|
background-color: green; }
|
||||||
|
.nav-diary { grid-area: 1 / 5 / 2 / 6;
|
||||||
|
background-color: blue;
|
||||||
|
min-height: 61px;}
|
||||||
|
.nav-about { grid-area: 1 / 6 / 2/ 7;
|
||||||
|
background-color: purple;
|
||||||
|
min-height: 61px;}
|
||||||
.nav-link {
|
.nav-link {
|
||||||
/*position: absolute;
|
/*position: absolute;
|
||||||
top: 45%;
|
top: 45%;
|
||||||
@@ -86,6 +111,12 @@ a {
|
|||||||
-1px 2px 1px black,
|
-1px 2px 1px black,
|
||||||
-1px 0 1px black;
|
-1px 0 1px black;
|
||||||
}
|
}
|
||||||
|
#nav-button img {
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
/*min-height: 61px;
|
||||||
|
min-width: 38px; */
|
||||||
|
}
|
||||||
|
|
||||||
.content-grid {
|
.content-grid {
|
||||||
grid-area: 3 / 2 / 4 / 3;
|
grid-area: 3 / 2 / 4 / 3;
|
||||||
@@ -114,8 +145,3 @@ a {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
box-shadow: 0 100vh 0 100vh black;
|
box-shadow: 0 100vh 0 100vh black;
|
||||||
}
|
}
|
||||||
|
|
||||||
#poltics {
|
|
||||||
height: auto;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 143 B |
Binary file not shown.
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 323 B |
+9
-30
@@ -1,48 +1,27 @@
|
|||||||
<!--Navigation Bar-->
|
<!--Navigation Bar-->
|
||||||
<div class="nav-row"></div>
|
<div class="nav-row"></div>
|
||||||
<div class="nav-grid">
|
<div class="nav-grid">
|
||||||
|
<div class="nav-left">
|
||||||
|
<!--<img src="/static/img/nav/buffer.png" alt="(image: orange cat)" id="poltics">--></div>
|
||||||
<div class="nav-home">
|
<div class="nav-home">
|
||||||
<a href="/">
|
<img src="/static/img/nav/home.png" alt="(image: orange cat)" id="nav-button">
|
||||||
<img src="/static/img/nav/home.png" alt="home" id="poltics">
|
|
||||||
</a>
|
|
||||||
<div class="nav-link">
|
|
||||||
<a href="/">home</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="nav-blessfrey">
|
<div class="nav-blessfrey">
|
||||||
<a href="/blessfrey">
|
<img src="/static/img/nav/home.png" alt="(image: orange cat)">
|
||||||
<img src="/static/img/nav/blessfrey.png" alt="blessfrey" id="poltics">
|
|
||||||
</a>
|
|
||||||
<div class="nav-link">
|
|
||||||
<a href="/blessfrey">blessfrey</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="nav-lemonland">
|
<div class="nav-lemonland">
|
||||||
<a href="/lemonland">
|
<img src="/static/img/nav/home.png" alt="(image: orange cat)">
|
||||||
<img src="/static/img/nav/lemonland.png" alt="lemonland" id="poltics">
|
|
||||||
</a>
|
|
||||||
<div class="nav-link">
|
|
||||||
<a href="/lemonland">lemonland</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="nav-diary">
|
<div class="nav-diary">
|
||||||
<a href="/diary">
|
<img src="/static/img/nav/home.png" alt="(image: orange cat)">
|
||||||
<img src="/static/img/nav/diary.png" alt="diary" id="poltics">
|
|
||||||
</a>
|
|
||||||
<div class="nav-link">
|
|
||||||
<a href="/diary">diary</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="nav-about">
|
<div class="nav-about">
|
||||||
<a href="/about">
|
<img src="/static/img/nav/home.png" alt="(image: orange cat)">
|
||||||
<img src="/static/img/nav/about.png" alt="about" id="poltics">
|
|
||||||
</a>
|
|
||||||
<div class="nav-link">
|
|
||||||
<a href="/about">about</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="nav-right">
|
||||||
|
<!--<img src="/static/img/nav/buffer.png" alt="(image: orange cat)">--></div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user