some css changes to layout2 and minor improvements to layout1 and layout5 (download link fixed)

This commit is contained in:
noxy
2019-10-12 17:17:24 +00:00
parent 7b32d067e1
commit 33373992ef
6 changed files with 41 additions and 8 deletions

View File

@@ -54,7 +54,7 @@ wip {
body { body {
height: 100vh; height: 100vh;
margin: 0; margin: 0;
background: black; background: #101010;
} }
#logo { #logo {
@@ -1046,7 +1046,7 @@ a.badge.video-id {
} }
.panel.panel-default { .panel.panel-default {
background: rgba(0, 0, 0, 0.78) none repeat scroll 0 0; background: rgba(29, 28, 28, 0.94) none repeat scroll 0 0;
padding: 15px; padding: 15px;
margin-bottom: 15px; margin-bottom: 15px;
border-radius: .25rem; border-radius: .25rem;
@@ -1064,3 +1064,34 @@ a.badge.video-id {
.popover { .popover {
background-color: #191919; background-color: #191919;
} }
.list-group-item.active {
z-index: 2;
color: #fff;
background-color: #191919;
border-color: #4d4d4e;
}
.items {
padding-bottom: 2.5rem;
grid-gap: 0.8em;
}
ul.pagination {
margin: 4px;
position: fixed;
bottom: 0;
width: 50%;
}
#commentForm textarea {
background: rgba(29, 28, 28, 0.94) none repeat scroll 0 0;
}
.table {
margin-bottom: 3rem;
}
img.comment_emoji {
max-width: 4rem;
}

View File

@@ -88,7 +88,7 @@
data-content=" data-content="
<div class='downloadvid'> <div class='downloadvid'>
<ul class='downloadlist'> <ul class='downloadlist'>
<li><a class='file_size' href='{{ '/b' . $video->file }}' download>WebM</a> <span class='filesize'> ({{HumanReadable::bytesToHuman($video->filesize()) }})</span></li> <li><a class='file_size' href='{{ '/b/' . $video->file }}' download>WebM</a> <span class='filesize'> ({{HumanReadable::bytesToHuman($video->filesize()) }})</span></li>
</ul> </ul>
</div>" </div>"
</button> </button>

View File

@@ -1,6 +1,6 @@
<nav class="navbar navbar-expand-lg navbar-dark bg-dark rounded-bottom sticky-top"> <nav class="navbar navbar-expand-lg navbar-dark bg-dark rounded-bottom sticky-top">
<div class="w0bm-logo"> <div class="w0bm-logo">
<a class="navbar-brand" href="/"> <a class="navbar-brand" href="/main">
<img data-toggle="popover" data-trigger="hover" data-placement="left" data-content="0tter 5h1t" id="logo" src="https://w0bm.com/w0bm_mosh_banner_by_marderchen.gif" class="d-inline-block align-top" alt="w0bm.com"> <img data-toggle="popover" data-trigger="hover" data-placement="left" data-content="0tter 5h1t" id="logo" src="https://w0bm.com/w0bm_mosh_banner_by_marderchen.gif" class="d-inline-block align-top" alt="w0bm.com">
</a> </a>
</div> </div>

View File

@@ -9,9 +9,9 @@
<title>w0bm.com</title> <title>w0bm.com</title>
<link rel="stylesheet" type="text/css" href="/njum/css/bootstrap-dark.css"> <link rel="stylesheet" type="text/css" href="/njum/css/bootstrap-dark.css">
<link rel="stylesheet" type="text/css" href="/njum/css/bootstrap-tagsinput.css"> <link rel="stylesheet" type="text/css" href="/njum/css/bootstrap-tagsinput.css">
<link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" type="text/css" href="/njum/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="/njum/css/simplebar.css" /> <link rel="stylesheet" type="text/css" href="/njum/css/simplebar.css" />
<link rel="stylesheet" type="text/css" href="/njum/css/cstms.css"> <link rel="stylesheet" type="text/css" href="/njum/css/cstms.css?v={{ filemtime("njum/css/cstms.css") }}">
</head> </head>
<body> <body>
@include('partials.handlebars') @include('partials.handlebars')
@@ -37,4 +37,4 @@
<script type="text/javascript" defer src="/njum/js/bootstrap-tagsinput.min.js"></script> <script type="text/javascript" defer src="/njum/js/bootstrap-tagsinput.min.js"></script>
<script type="text/javascript" defer src="/njum/js/handlebars.min.js"></script> <script type="text/javascript" defer src="/njum/js/handlebars.min.js"></script>
<script type="text/javascript" defer src="/njum/js/newscript.js"></script> <script type="text/javascript" defer src="/njum/js/newscript.js"></script>
</html> </html>

View File

@@ -22,6 +22,7 @@
</div> </div>
<div class="filesize"> <div class="filesize">
<span class="badge badge-secondary">{{ HumanReadable::bytesToHuman($video->filesize()) }}</span> <span class="badge badge-secondary">{{ HumanReadable::bytesToHuman($video->filesize()) }}</span>
<span class="download-webm"><a class='file_size' href='{{ '/b/' . $video->file }}' download>DL</a></span>
</div> </div>
<div class="toggo tag-panel-body"> <div class="toggo tag-panel-body">
<div id="tag-display" class="tag-panel-body"> <div id="tag-display" class="tag-panel-body">

View File

@@ -74,7 +74,8 @@
data-content=" data-content="
<div class='downloadvid'> <div class='downloadvid'>
<ul class='downloadlist'> <ul class='downloadlist'>
<li><a class='file_size' href='@if(env('APP_DEBUG')){{'/b'}}@else{{'//' . (substr($_SERVER['HTTP_HOST'], 0, 3) === 'v4.' ? 'v4.' : '') . 'b.w0bm.com'}}@endif{{ '/' . $video->file }}' download>WebM</a> <span class='filesize'></span></li> <li><a class='file_size' href='{{ '/b/' . $video->file }}' download>WebM</a> <span class='filesize'> ({{HumanReadable::bytesToHuman($video->filesize()) }})</span></li>
</ul> </ul>
</div>" </div>"
</button> </button>