MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus Mittel- und Neulatein macht Schule!
imported>Mnlmachtschule |
Admin (Diskussion | Beiträge) |
||
Zeile 29: | Zeile 29: | ||
.color-middle-container, | .color-middle-container, | ||
.ts-inner { max-width: none; } | .ts-inner { max-width: none; } | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /** NEWSLETTER-SIGNUP **/ | ||
+ | * { | ||
+ | font-size: 2rem; | ||
+ | font-family: 'Righteous', cursive; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | body { | ||
+ | height: 100vh; | ||
+ | display: flex; | ||
+ | justify-content: center; | ||
+ | align-items: center; | ||
+ | margin: 0; | ||
+ | background-color: #333; | ||
+ | } | ||
+ | .main { | ||
+ | width: 19rem; | ||
+ | height: 5rem; | ||
+ | padding: 12px; | ||
+ | background-color: white; | ||
+ | text-align: center; | ||
+ | border-radius: 3rem; | ||
+ | overflow: hidden; | ||
+ | transition: width .6s cubic-bezier(0.68, -0.55, 0.27, 1.55); | ||
+ | } | ||
+ | .main>#singular-form { | ||
+ | position: relative; | ||
+ | width: 100%; | ||
+ | height: 100%; | ||
+ | background-color: white; | ||
+ | } | ||
+ | .main>#singular-form button { | ||
+ | width: 9rem; | ||
+ | padding: 0; | ||
+ | border: none; | ||
+ | outline: none; | ||
+ | border-radius: 3rem; | ||
+ | cursor: pointer; | ||
+ | } | ||
+ | .main>#singular-form>button#subs { | ||
+ | padding: 0; | ||
+ | width: 100%; | ||
+ | color: #fbb016; | ||
+ | background-color: transparent; | ||
+ | z-index: 3; | ||
+ | } | ||
+ | .main>#singular-form>#email-input { | ||
+ | z-index: 2; | ||
+ | } | ||
+ | .main>#singular-form>#email-input>input { | ||
+ | display: inline-block; | ||
+ | height: 100%; | ||
+ | width: 100%; | ||
+ | background-color: white; | ||
+ | box-sizing: border-box; | ||
+ | border: none; | ||
+ | outline: none; | ||
+ | padding: 0 26% 0 3%; | ||
+ | opacity: 0; | ||
+ | transform: scale(0); | ||
+ | transition: all .6s ease .4s; | ||
+ | } | ||
+ | .main>#singular-form>#email-input>button { | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | right: 0; | ||
+ | height: 100%; | ||
+ | background-color: #fbb016; | ||
+ | color: white; | ||
+ | opacity: 0; | ||
+ | transform: scale(0); | ||
+ | transition: all .6s ease .4s; | ||
+ | } | ||
+ | .main>#singular-form>#success { | ||
+ | display: flex; | ||
+ | justify-content: center; | ||
+ | align-items: center; | ||
+ | color: #fbb016; | ||
+ | font-weight: bold; | ||
+ | z-index: 1; | ||
+ | } | ||
+ | .main>#singular-form>button#subs, | ||
+ | .main>#singular-form>#email-input, | ||
+ | .main>#singular-form>#success { | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | right: 0; | ||
+ | bottom: 0; | ||
+ | left: 0; | ||
+ | transform: scale(0); | ||
+ | opacity: 0; | ||
+ | } | ||
+ | .main>#singular-form>button#subs { | ||
+ | transition: all .6s ease; | ||
+ | } | ||
+ | .main>#singular-form>#email-input { | ||
+ | transform: scale(1); | ||
+ | opacity: 1; | ||
+ | transition: all .6s ease .4s; | ||
+ | } | ||
+ | |||
+ | .main>#singular-form>#success { | ||
+ | transition: all .2s ease .6s; | ||
+ | } | ||
+ | .main>#singular-form>button#subs.shown, | ||
+ | .main>#singular-form>#email-input.shown, | ||
+ | .main>#singular-form>#success.shown, | ||
+ | .main>#singular-form>#email-input>button.shown, | ||
+ | .main>#singular-form>#email-input>input.shown { | ||
+ | transform: scale(1); | ||
+ | opacity: 1; | ||
} | } |
Version vom 13. August 2021, 08:14 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. ACHTUNG: <s> (Durchstreichung) ist gerade ausgehebelt! */ #qTable td {padding:3px 1em; border:1px solid #ccc; border-radius:5px; background-color: #d3dffd; font-family:"Segoe UI"} #qTable {width:100%; border-spacing:0.5em} #qTable li {cursor:pointer} #qTable li:hover { text-decoration:underline} #qTable tr:nth-child(n+2) {display:none} #qTable p {font-weight:bold; line-height:50%} #errdiv {display:none; font-weight:bold; color:#903; padding:0.3em} .selectedAnswer {font-weight:bold; color:#060} s {display:none} #p-logo a, #p-logo a:hover { display: block; height: 200px; width: 12.2em; background-repeat: no-repeat; background-position: 35% 50% !important; text-decoration: none; background-size: contain; /* schaltet die komische Skalierungsfunktion aus */ } @media screen and (min-width: 851px) { /* sollte Content-Breite auf großen Bildschirmen entrelativieren */ .color-middle-container, .ts-inner { max-width: none; } } /** NEWSLETTER-SIGNUP **/ * { font-size: 2rem; font-family: 'Righteous', cursive; font-weight: bold; } body { height: 100vh; display: flex; justify-content: center; align-items: center; margin: 0; background-color: #333; } .main { width: 19rem; height: 5rem; padding: 12px; background-color: white; text-align: center; border-radius: 3rem; overflow: hidden; transition: width .6s cubic-bezier(0.68, -0.55, 0.27, 1.55); } .main>#singular-form { position: relative; width: 100%; height: 100%; background-color: white; } .main>#singular-form button { width: 9rem; padding: 0; border: none; outline: none; border-radius: 3rem; cursor: pointer; } .main>#singular-form>button#subs { padding: 0; width: 100%; color: #fbb016; background-color: transparent; z-index: 3; } .main>#singular-form>#email-input { z-index: 2; } .main>#singular-form>#email-input>input { display: inline-block; height: 100%; width: 100%; background-color: white; box-sizing: border-box; border: none; outline: none; padding: 0 26% 0 3%; opacity: 0; transform: scale(0); transition: all .6s ease .4s; } .main>#singular-form>#email-input>button { position: absolute; top: 0; right: 0; height: 100%; background-color: #fbb016; color: white; opacity: 0; transform: scale(0); transition: all .6s ease .4s; } .main>#singular-form>#success { display: flex; justify-content: center; align-items: center; color: #fbb016; font-weight: bold; z-index: 1; } .main>#singular-form>button#subs, .main>#singular-form>#email-input, .main>#singular-form>#success { position: absolute; top: 0; right: 0; bottom: 0; left: 0; transform: scale(0); opacity: 0; } .main>#singular-form>button#subs { transition: all .6s ease; } .main>#singular-form>#email-input { transform: scale(1); opacity: 1; transition: all .6s ease .4s; } .main>#singular-form>#success { transition: all .2s ease .6s; } .main>#singular-form>button#subs.shown, .main>#singular-form>#email-input.shown, .main>#singular-form>#success.shown, .main>#singular-form>#email-input>button.shown, .main>#singular-form>#email-input>input.shown { transform: scale(1); opacity: 1; }