Added a notice banner functionality
parent
8edf74f877
commit
ca06a83cdb
|
@ -10,3 +10,5 @@ Welcome to the Extras page (formerly known as the Secret Separator Zone™). You
|
|||
Funny memes [here](/memes).
|
||||
|
||||
Onion URL for accessing the site through Tor: [npzqzzlftquidpczleveobajpkgjvszhny23eqot733ea34mxovxgiqd.onion](http://npzqzzlftquidpczleveobajpkgjvszhny23eqot733ea34mxovxgiqd.onion)
|
||||
|
||||
Notices of any downtime, technical issue or migration of the site or related services on this Mastodon account: [@gmgserverstatus@mastodon.world](https://mastodon.world/@gmgserverstatus)
|
||||
|
|
|
@ -44,6 +44,30 @@
|
|||
font-style: normal
|
||||
}
|
||||
|
||||
/* BANNER */
|
||||
#banner {
|
||||
border-radius: 6px;
|
||||
background-color: #661a16;
|
||||
padding: 20px;
|
||||
width: auto;
|
||||
height: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-left: 20px;
|
||||
margin-right: 20px;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
#banner:hover img {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#banner:hover span {
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
/* ISSO CSS */
|
||||
|
||||
#isso-thread {
|
||||
|
|
|
@ -716,7 +716,7 @@ h5,h6{
|
|||
}
|
||||
}
|
||||
.posts{
|
||||
overflow-x:hidden
|
||||
overflow-x:visible
|
||||
}
|
||||
.post-feed{
|
||||
flex-wrap:wrap;
|
||||
|
|
|
@ -28,6 +28,9 @@
|
|||
<main id="site-main" class="site-main outer">
|
||||
<div class="inner posts">
|
||||
<div class="post-feed">
|
||||
<!--<div id="banner">
|
||||
<span>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</span>
|
||||
</div>-->
|
||||
{{ $pages := site.RegularPages }}
|
||||
{{ range $index, $element := $pages }}{{ if ne .Params.rss_ignore true }}
|
||||
{{- partial "post-card.html" (dict "context" . "index" $index "home" $.IsHome) -}}
|
||||
|
|
Loading…
Reference in New Issue