Commit 7911604b authored by Jakob Moser's avatar Jakob Moser
Browse files

Merge branch 'enhance-form-and-embed-styles' into 'master'

Enhance form and embed styles

See merge request !26
parents 6a7deae9 4e8d7dfc
Loading
Loading
Loading
Loading
+31 −29
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
 * Author: personads :: Maximilian Müller-Eberstein (ursprüngliche Version und Design); Jakob Moser (Code-Rewrite)
 * Author URI: https://personads.me/
 *
 * Version: 1.6.0
 * Version: 1.7.0
 *
 * License: GNU General Public License v3.0
 * License URI: https://www.gnu.org/licenses/gpl-3.0.html
@@ -674,7 +674,7 @@ main.list article > header h1 {
    margin-top: 2em;
}

.list-meta .categories li a {
.list-meta .categories li a, .list-meta select {
    font-size: 0.8em;
}

@@ -970,48 +970,50 @@ blockquote cite {
}

/* -- Form elements -- */
input, select, button {
    margin: 0.25em;
    padding: 0.25em;
    font-size: 1em;

    background-color: #fff;
    border-radius: 5px;
    border: none;
}

input {
    box-shadow: 0 0 2px #8d8d8d inset;
}

select {
    -webkit-appearance: none;
    appearance: none;
    margin: 0.25em;

    padding: 0.25em 1.5em 0.25em 0.25em;
    
    background-image: url("img/dropdown.png");
    background-repeat: no-repeat;
    background-position: center right;
    background-size: contain;
    background-color: #fff;
    border: 1px solid var(--accent-color);
    border-radius: 5px;
    font-family: "Open Sans", sans-serif;
}

input[type="password"] {
    margin: 0.25em;
    padding: 0.25em;
    background-color: #fff;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0px 2px #8d8d8d inset;
    font-size: 1em;
    font-family: "Open Sans", sans-serif;
    border: 1px solid var(--accent-color);
}

input[type="submit"] {
    margin: 0.25em;
input[type="submit"], input[type="button"], button {
    padding: 0.25em 0.5em;
    background-color: #fff;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0px 2px var(--accent-color);
    font-size: 1em;
    font-family: "Open Sans", sans-serif;
    cursor: pointer;
    
    box-shadow: 0 0 2px var(--accent-color);
    color: var(--accent-color);
    transition: box-shadow 0.2s;
    
    transition: box-shadow 0.1s;
}

input[type="submit"]:hover, input[type="button"]:hover, button:hover {
    box-shadow: 0 0 5px var(--accent-color);
}

input[type="submit"]:hover {
    box-shadow: 0px 0px 5px var(--accent-color);
/* -- Embedded content -- */
iframe {
    border: none;
}

/* -- Galleries -- */