Compare commits

..

No commits in common. "master" and "imgpaste-0.2" have entirely different histories.

3 changed files with 10 additions and 27 deletions

View File

@ -3,12 +3,9 @@
// Title // Title
$title = "imgpaste by gideonstar"; $title = "imgpaste by gideonstar";
// Dropzone text // Displayed text
$text = "Click or drop image here..."; $text = "Click or drop image here...";
// Footer text
$footer = '<a href="https://git.stefanritter.de/gideonstar/imgpaste.git">imgpaste</a> by gideonstar';
// Themes can be found in the themes directory // Themes can be found in the themes directory
$theme = "gideonstar"; $theme = "gideonstar";

View File

@ -20,7 +20,6 @@
<div id="dropzone" class="inactive"> <div id="dropzone" class="inactive">
<p><?php echo $text; ?></p> <p><?php echo $text; ?></p>
</div> </div>
<div id="footer"><?php echo $footer; ?></div>
</div> </div>
<script src="script.js"></script> <script src="script.js"></script>
</body> </body>

View File

@ -1,5 +1,6 @@
:root { :root {
--round: 20px; --round: 20px;
--border: 100px;
} }
@font-face { @font-face {
@ -19,43 +20,29 @@ body {
} }
#wrapper { #wrapper {
display: flex;
flex-direction: column;
align-items: center;
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
}
#dropzone {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
width: 90vw; }
height: 200px;
max-width: 500px; #dropzone {
margin-top: 50px; width: calc(100vw - var(--border));
height: calc(100vh - var(--border));
border-radius: var(--round); border-radius: var(--round);
display: flex;
align-items: center;
justify-content: center;
} }
.active { .active {
background-color: #ffb703; background-color: #ffb703;
outline: 2px dashed #fb8500; outline: 2px dashed #fb8500;
transition: .3s ease;
} }
.inactive { .inactive {
background-color: #f5f5f5; background-color: #f5f5f5;
outline: 2px dashed #d5d5d5; outline: 2px dashed #d5d5d5;
transition: .3s ease;
} }
#footer {
margin-top: 10px;
color: white;
font-size: .8em;
}
a {
color: #ffb703;
text-decoration: none;
}