Some more styling fixes

This commit is contained in:
2022-01-05 23:14:59 +01:00
parent 2db20d4885
commit 3d0c6dfacd
4 changed files with 8 additions and 6 deletions

View File

@@ -234,7 +234,7 @@ body{
/* Common elements */ /* Common elements */
h1, h2, h3, h4, h5, h6, .title { h1, h2, h3, h4, h5, h6, .light {
line-height: 1em; line-height: 1em;
margin: 0.5em 0; margin: 0.5em 0;
font-weight: lighter; font-weight: lighter;

View File

@@ -17,10 +17,10 @@ onMount(() => {
case 0: case 0:
set_ad_type("aads") set_ad_type("aads")
break break
case 2: case 1:
set_ad_type("ads.plus") set_ad_type("ads.plus")
break break
case 3: case 2:
set_ad_type("valueimpression") set_ad_type("valueimpression")
break break
} }

View File

@@ -36,7 +36,7 @@ onMount(() => {
{#if visible} {#if visible}
<div bind:this={popup} in:fade out:fade class="intro_popup"> <div bind:this={popup} in:fade out:fade class="intro_popup">
<span class="title">Upload your own files here</span> <span class="light">Upload your own files here</span>
<p> <p>
With pixeldrain you can share your files anywhere on the web. The With pixeldrain you can share your files anywhere on the web. The
sky is the limit! sky is the limit!
@@ -72,7 +72,7 @@ onMount(() => {
border-left: 15px solid transparent; border-left: 15px solid transparent;
border-right: 15px solid transparent; border-right: 15px solid transparent;
} }
.title { .light {
font-size: 1.6em; font-size: 1.6em;
} }
.close { .close {

View File

@@ -20,7 +20,7 @@ let file = {
a file is downloaded many times outside of our file viewer page (this a file is downloaded many times outside of our file viewer page (this
page). Usually this means people are using download managers like page). Usually this means people are using download managers like
JDownloader 2, Aria2 or wget. Using a download manager circumvents JDownloader 2, Aria2 or wget. Using a download manager circumvents
pixeldrain's advertisements and we lose money because of it. More pixeldrain's advertisements and we lose money because of that. More
information about this protection mechanism can be found on <a information about this protection mechanism can be found on <a
href="/#hotlinking">the home page</a>. href="/#hotlinking">the home page</a>.
</p> </p>
@@ -67,6 +67,8 @@ let file = {
background-color: rgba(0, 0, 0, 0.2); background-color: rgba(0, 0, 0, 0.2);
border-radius: 16px; border-radius: 16px;
text-align: left; text-align: left;
padding: 10px;
border-radius: 16px;
} }
.file_thumbnail { .file_thumbnail {