PSD-Tutorials.de
Forum für Design, Fotografie & Bildbearbeitung
Tutkit
Agentur
Hilfe
Kontakt
Start
Forum
Aktuelles
Besonderer Inhalt
Foren durchsuchen
Tutorials
News
Anmelden
Kostenlos registrieren
Aktuelles
Suche
Suche
Nur Titel durchsuchen
Von:
Menü
Anmelden
Kostenlos registrieren
App installieren
Installieren
JavaScript ist deaktiviert. Für eine bessere Darstellung aktiviere bitte JavaScript in deinem Browser, bevor du fortfährst.
Du verwendest einen veralteten Browser. Es ist möglich, dass diese oder andere Websites nicht korrekt angezeigt werden.
Du solltest ein Upgrade durchführen oder einen
alternativen Browser
verwenden.
Antworten auf deine Fragen:
Neues Thema erstellen
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
Webdesign: HTML/CSS, Responsive Design, Sass...
[CSS] CSS-Contest 2012 WIPs
Beitrag
<blockquote data-quote="cebito" data-source="post: 1923074" data-attributes="member: 173078"><p><strong>AW: [CSS] CSS-Contest 2012 WIPs</strong></p><p></p><p>Boah helle, du hast da einiges rumgeschoben <img src="/styles/default/xenforo/smilies/zwinker.gif" class="smilie" loading="lazy" alt=";)" title="Wink ;)" data-shortname=";)" /> und vieles doppelt und dreifach definiert. Hab das jetzt vor allem im Contestbereich mal so gut wie 's ging zusammengefasst. Man sollte halt immer schauen, was alle gemeinsam haben und das für alle definieren, und nur wenn sich was ändert nochmal extra. Ist übersichtlicher und hat auch noch den Vorteil, wenn du zb. die Farbe ändern willst musst es nur einmal schreiben und nicht alle einzeln raussuchen und ändern. </p><p>Hab mich an deinem Bild orientiert, du wolltest das doch so, also Gallery oben...</p><p>[CODE]@charset "utf-8";</p><p></p><p>/* Google Fonts Import - http://www.google.com/webfonts</p><p>============================================================================= */</p><p>@import url(http://fonts.googleapis.com/css?family=Sorts+Mill+Goudy);</p><p>@import url(http://fonts.googleapis.com/css?family=Molengo);</p><p>/* ========================================================================== */</p><p></p><p>/* START CSS RESET - http://meyerweb.com/eric/tools/css/reset/ v1.0</p><p>============================================================================= */</p><p>html, body, div, span, applet, object, iframe,</p><p>h1, h2, h3, h4, h5, h6, p, blockquote, pre,</p><p>a, abbr, acronym, address, big, cite, code,</p><p>del, dfn, em, font, img, ins, kbd, q, s, samp,</p><p>small, strike, strong, sub, sup, tt, var,</p><p>b, u, i, center,</p><p>dl, dt, dd, ol, ul, li,</p><p>fieldset, form, label, legend,</p><p>table, caption, tbody, tfoot, thead, tr, th, td {</p><p> margin: 0;</p><p> padding: 0;</p><p> border: 0;</p><p> outline: 0;</p><p> font-size: 100%;</p><p> vertical-align: baseline;</p><p> background: transparent;</p><p>}</p><p></p><p>body {</p><p> line-height: 1;</p><p>}</p><p></p><p>ol, ul {</p><p> list-style: none;</p><p>}</p><p></p><p>blockquote, q {</p><p> quotes: none;</p><p>}</p><p></p><p>blockquote:before, blockquote:after,</p><p>q:before, q:after {</p><p> content: '';</p><p> content: none;</p><p>}</p><p></p><p>/* Permanently enable a vertical scrollbar (except IE) */</p><p>html {</p><p> overflow-y: scroll;</p><p>}</p><p>/* ========================================================================== */</p><p></p><p>/* Basic Style</p><p>============================================================================= */</p><p>html {</p><p> background: #021021 url(images/web_bg2.jpg) repeat-x;</p><p>}</p><p></p><p>body {</p><p> font-family: 'Molengo', Verdana, Arial, sans-serif;</p><p> font-size: 0.975em;</p><p> color: #fff;</p><p>}</p><p></p><p>/* ========================================================================== */</p><p></p><p>/* Navigation</p><p>============================================================================= */</p><p>nav {</p><p> width: 940px;</p><p> height: 75px;</p><p> margin: 0 auto;</p><p>}</p><p></p><p>nav ul {</p><p> margin-top: 25px;</p><p>}</p><p></p><p>#mainNav li {</p><p> display: inline;</p><p> list-style-type: none;</p><p> padding-left: 25px;</p><p>}</p><p></p><p>#mainNav li a {</p><p> font-family: 'Sorts Mill Goudy', serif;</p><p> font-size: 20px;</p><p> font-weight: bold;</p><p> color: #fff;</p><p> text-decoration: none;</p><p>}</p><p></p><p>#mainNav li a:hover {</p><p> font-family: 'Sorts Mill Goudy', serif;</p><p> font-size: 20px;</p><p> color: #979797;</p><p> text-decoration: none;</p><p> text-shadow: 2px 2px 5px #000000;</p><p>}</p><p></p><p>.screenReaderText {</p><p> display: none;</p><p>}</p><p></p><p>#search {</p><p> float: right;</p><p> margin-top: -22px;</p><p>}</p><p></p><p>#search #searchfield {</p><p> font-family: 'Sorts Mill Goudy', serif;</p><p>}</p><p></p><p>#search input[type='submit'] {</p><p> background: url(images/searchbutton.png) no-repeat;</p><p> border: none;</p><p> height: 25px;</p><p> width: 25px;</p><p> text-indent: -9999px;</p><p>}</p><p>/* ========================================================================== */</p><p></p><p>/* Header</p><p>============================================================================= */</p><p>header .inner h1, h2 {</p><p> text-indent: -9999px;</p><p>}</p><p></p><p>header {</p><p> position:absolute;</p><p> top:100px;</p><p> left:50%;</p><p> margin-left:-545px;</p><p> background: url(images/webtitle.png) no-repeat;</p><p> width: 69px;</p><p> height: 469px;</p><p> z-index: 100;</p><p>}</p><p>/* ========================================================================== */</p><p></p><p>/* Section #contest #general</p><p>============================================================================= */</p><p>#contest .inner{</p><p> width:940px;</p><p> margin:470px auto 30px;</p><p>}</p><p>#contest .inner div h4 {</p><p> position:absolute;</p><p> font-family: 'Sorts Mill Goudy', serif;</p><p> color:#fff;</p><p> background:#636f78;</p><p> font-size:1em;</p><p> float:left;</p><p> clear:both;</p><p> padding:10px 10px 10px 20px;</p><p> margin-top: 15px;</p><p> margin-left:-10px;</p><p> margin-bottom:0px;</p><p> text-shadow:0 -1px #000000, 0 1px #000000;</p><p> box-shadow:2px 2px 0 rgba(0,0,0,0.1);</p><p>}</p><p></p><p>#contest .inner div h4:before {</p><p> content:" ";</p><p> background: url(images/ribbon.png);</p><p> display:block;</p><p> width:10px;</p><p> height:10px;</p><p> position:absolute;</p><p> bottom:0;</p><p> left:0;</p><p> margin-bottom:-10px;</p><p> z-index:-1;</p><p>}</p><p></p><p>#contest .inner div {</p><p> position: relative;</p><p> float: left;</p><p> background: #1a2b3c url(images/body_bg.jpg) repeat;</p><p> width: 293px;</p><p> height: 22.5em;</p><p> border-radius: 10px;</p><p> padding-bottom:15px;</p><p> margin-bottom:30px;</p><p>}</p><p>#contest .inner div p,#contest .inner div ul {</p><p> padding: 65px 14px 0 14px;</p><p>}</p><p></p><p>#contest .inner div p + p {</p><p> padding-top: 15px;</p><p>}</p><p></p><p>#contest .inner div a {</p><p> font-size: 1em;</p><p> font-weight: bold;</p><p> color: #fff;</p><p> text-decoration: none;</p><p> text-shadow:0 -1px #000000, 0 1px #000000;</p><p>}</p><p></p><p>#contest .inner div a:hover {</p><p> font-size: 1em;</p><p> color: #979797;</p><p> text-decoration: none;</p><p> text-shadow: 2px 2px 5px #000000;</p><p>}</p><p></p><p>#contest .inner div .motto {</p><p> color: #979797;</p><p>}</p><p>#contest .inner #mission,#contest .inner #timeline {</p><p> margin-left: 30px;</p><p>}</p><p>#contest .inner #rules {</p><p> width: 940px;</p><p> clear:both;</p><p> float:none;</p><p> height:auto;</p><p> margin:0 0 30px;</p><p>}</p><p></p><p>#contest .inner h3 {</p><p>text-indent: -9999px;</p><p>}</p><p>/* ========================================================================== */</p><p></p><p>/* Section #gallery</p><p>============================================================================= */</p><p>#gallery {</p><p> position:absolute;</p><p> background: #1a2b3c url(images/body_bg.jpg) repeat;</p><p> width: 940px;</p><p> height:460px;</p><p> top:100px;</p><p> left:50%;</p><p> margin-left:-470px;</p><p> border-radius: 10px;</p><p>}</p><p>#gallery .inner h3 {</p><p> position:absolute;</p><p> font-family: 'Sorts Mill Goudy', serif;</p><p> color:#fff;</p><p> background:#636f78;</p><p> font-size:1em;</p><p> float:left;</p><p> clear:both;</p><p> padding:10px 10px 10px 20px;</p><p> margin-top: 15px;</p><p> margin-left:-10px;</p><p> margin-bottom:0px;</p><p> text-shadow:0 -1px #000000, 0 1px #000000;</p><p> box-shadow:2px 2px 0 rgba(0,0,0,0.1);</p><p>}</p><p></p><p>#gallery .inner h3:before {</p><p> content:" ";</p><p> background: url(images/ribbon.png);</p><p> display:block;</p><p> width:10px;</p><p> height:10px;</p><p> position:absolute;</p><p> bottom:0;</p><p> left:0;</p><p> margin-bottom:-10px;</p><p> z-index:-1;</p><p>}</p><p></p><p>#cc{</p><p> position:absolute;</p><p> top:410px;</p><p> right:160px;</p><p> font-size:11px;</p><p> color:#fff;</p><p>}</p><p>#cc a{</p><p> color:#fff;</p><p>}</p><p>#gallery .inner ul{</p><p> position:absolute;</p><p> width:640px;</p><p> height:400px;</p><p> left:150px;</p><p> top:30px;</p><p> overflow:hidden;</p><p>}</p><p>#gallery .inner ul li,#gallery figure, #gallery figcaption {</p><p> position:absolute;</p><p> top:0;</p><p> left:0;</p><p> margin:0;</p><p> padding:0;</p><p>}</p><p>#gallery figcaption{</p><p> margin:0;</p><p> padding:8px 0 8px 10px;</p><p> position:absolute;</p><p> top:368px;left:0;</p><p> height:25px;</p><p> width:630px;</p><p> background:rgba(255,255,255,.4);</p><p>}</p><p>/* ========================================================================== */</p><p></p><p>/* Section #autor</p><p>============================================================================= */</p><p>#autor {</p><p> position: relative;</p><p> background: #1a2b3c url(images/body_bg.jpg) repeat;</p><p> width: 940px;</p><p> margin:0 auto 30px;</p><p> border-radius: 10px;</p><p>}</p><p></p><p>#autor .inner h3 {</p><p> position:absolute;</p><p> font-family: 'Sorts Mill Goudy', serif;</p><p> color:#fff;</p><p> background:#636f78;</p><p> font-size:1em;</p><p> padding: 10px 10px 10px 20px;</p><p> margin-top: 15px;</p><p> margin-left: -10px;</p><p> margin-bottom: 0px;</p><p> text-shadow:0 -1px #000000, 0 1px #000000;</p><p> box-shadow:2px 2px 0 rgba(0,0,0,0.1);</p><p>}</p><p></p><p>#autor .inner h3:before {</p><p> content:" ";</p><p> background: url(images/ribbon.png);</p><p> display:block;</p><p> width:10px;</p><p> height:10px;</p><p> position:absolute;</p><p> bottom:0;</p><p> left:0;</p><p> margin-bottom:-10px;</p><p> z-index:-1;</p><p>}</p><p></p><p>#autor .inner ul {</p><p> padding-top: 65px;</p><p> padding-left: 14px;</p><p> padding-right: 14px;</p><p>}</p><p></p><p>#autor .inner p {</p><p> padding-top: 60px;</p><p> padding-left: 14px;</p><p> padding-right: 14px;</p><p> padding-bottom: 15px;</p><p>}</p><p></p><p>#autor .inner img {</p><p> padding: 5px;</p><p>}</p><p></p><p>#autor .inner a {</p><p> font-size: 1em;</p><p> font-weight: bold;</p><p> color: #fff;</p><p> text-decoration: none;</p><p> text-shadow:0 -1px #000000, 0 1px #000000;</p><p>}</p><p></p><p>#autor .inner a:hover {</p><p> font-size: 1em;</p><p> color: #979797;</p><p> text-decoration: none;</p><p> text-shadow: 2px 2px 5px #000000;</p><p>}</p><p></p><p>#autor h4 {</p><p> display: none;</p><p>}</p><p>/* ========================================================================== */</p><p></p><p>/* Section #kontakt</p><p>============================================================================= */</p><p>#kontakt {</p><p> background: #1a2b3c url(images/body_bg.jpg) repeat;</p><p> width: 940px;</p><p> margin:0 auto 30px;</p><p> border-radius: 10px;</p><p>}</p><p></p><p>#kontakt .inner h3 {</p><p> position:relative;</p><p> font-family: 'Sorts Mill Goudy', serif;</p><p> color:#fff;</p><p> background:#636f78;</p><p> font-size:1em;</p><p> float: left;</p><p> clear: both;</p><p> padding: 10px 10px 10px 20px;</p><p> margin-top: 15px;</p><p> margin-left: -10px;</p><p> margin-bottom: 0px;</p><p> text-shadow:0 -1px #000000, 0 1px #000000;</p><p> box-shadow:2px 2px 0 rgba(0,0,0,0.1);</p><p>}</p><p></p><p>#kontakt .inner h3:before {</p><p> content:" ";</p><p> background: url(images/ribbon.png);</p><p> display:block;</p><p> width:10px;</p><p> height:10px;</p><p> position:absolute;</p><p> bottom:0;</p><p> left:0;</p><p> margin-bottom:-10px;</p><p> z-index:-1;</p><p>}</p><p></p><p>#kontakt .inner ul {</p><p> padding-top: 65px;</p><p> padding-left: 14px;</p><p> padding-right: 14px;</p><p>}</p><p></p><p>#kontakt .inner p {</p><p> padding-top: 60px;</p><p> padding-left: 14px;</p><p> padding-right: 14px;</p><p> padding-bottom: 15px;</p><p>}</p><p></p><p>#kontakt .inner a {</p><p> font-size: 1em;</p><p> font-weight: bold;</p><p> color: #fff;</p><p> text-decoration: none;</p><p> text-shadow:0 -1px #000000, 0 1px #000000;</p><p>}</p><p></p><p>#kontakt .inner a:hover {</p><p> font-size: 1em;</p><p> color: #979797;</p><p> text-decoration: none;</p><p> text-shadow: 2px 2px 5px #000000;</p><p>}</p><p>/* ========================================================================== */</p><p></p><p>/* Section aside</p><p>============================================================================= */</p><p>aside {</p><p> background: #1a2b3c url(images/body_bg.jpg) repeat;</p><p> width: 940px;</p><p> height: 250px;</p><p> margin:0 auto 30px;</p><p> border-radius: 10px;</p><p>}</p><p>/* ========================================================================== */</p><p></p><p>/* Footer</p><p>============================================================================= */</p><p>footer {</p><p> background: #1a2b3c url(images/body_bg.jpg) repeat;</p><p> margin: 0 auto;</p><p> height: 50px;</p><p> width: 940px;</p><p> border-radius: 10px 10px 0 0;</p><p>}</p><p></p><p>footer .inner {</p><p> width: 940px;</p><p> margin: auto;</p><p>}</p><p>/* ========================================================================== */</p><p></p><p></p><p></p><p></p><p>[/CODE]Die Webfonts hab ich mal nach oben verschoben, jetzt funktionieren die auch <img src="/styles/default/xenforo/smilies/zwinker.gif" class="smilie" loading="lazy" alt=";)" title="Wink ;)" data-shortname=";)" /></p><p></p><p>Edith sagt noch - ergänz mal dein reset oben mit den HTML5-Elementen...</p><p>achso, die Schrift in der figcaption, das gibt natürlich nix bei den hellen Bildern, musste entweder anderen Hintergrund oder andere Farbe oder vielleicht noch 'nen Textschatten...</p></blockquote><p></p>
[QUOTE="cebito, post: 1923074, member: 173078"] [b]AW: [CSS] CSS-Contest 2012 WIPs[/b] Boah helle, du hast da einiges rumgeschoben ;) und vieles doppelt und dreifach definiert. Hab das jetzt vor allem im Contestbereich mal so gut wie 's ging zusammengefasst. Man sollte halt immer schauen, was alle gemeinsam haben und das für alle definieren, und nur wenn sich was ändert nochmal extra. Ist übersichtlicher und hat auch noch den Vorteil, wenn du zb. die Farbe ändern willst musst es nur einmal schreiben und nicht alle einzeln raussuchen und ändern. Hab mich an deinem Bild orientiert, du wolltest das doch so, also Gallery oben... [CODE]@charset "utf-8"; /* Google Fonts Import - http://www.google.com/webfonts ============================================================================= */ @import url(http://fonts.googleapis.com/css?family=Sorts+Mill+Goudy); @import url(http://fonts.googleapis.com/css?family=Molengo); /* ========================================================================== */ /* START CSS RESET - http://meyerweb.com/eric/tools/css/reset/ v1.0 ============================================================================= */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } /* Permanently enable a vertical scrollbar (except IE) */ html { overflow-y: scroll; } /* ========================================================================== */ /* Basic Style ============================================================================= */ html { background: #021021 url(images/web_bg2.jpg) repeat-x; } body { font-family: 'Molengo', Verdana, Arial, sans-serif; font-size: 0.975em; color: #fff; } /* ========================================================================== */ /* Navigation ============================================================================= */ nav { width: 940px; height: 75px; margin: 0 auto; } nav ul { margin-top: 25px; } #mainNav li { display: inline; list-style-type: none; padding-left: 25px; } #mainNav li a { font-family: 'Sorts Mill Goudy', serif; font-size: 20px; font-weight: bold; color: #fff; text-decoration: none; } #mainNav li a:hover { font-family: 'Sorts Mill Goudy', serif; font-size: 20px; color: #979797; text-decoration: none; text-shadow: 2px 2px 5px #000000; } .screenReaderText { display: none; } #search { float: right; margin-top: -22px; } #search #searchfield { font-family: 'Sorts Mill Goudy', serif; } #search input[type='submit'] { background: url(images/searchbutton.png) no-repeat; border: none; height: 25px; width: 25px; text-indent: -9999px; } /* ========================================================================== */ /* Header ============================================================================= */ header .inner h1, h2 { text-indent: -9999px; } header { position:absolute; top:100px; left:50%; margin-left:-545px; background: url(images/webtitle.png) no-repeat; width: 69px; height: 469px; z-index: 100; } /* ========================================================================== */ /* Section #contest #general ============================================================================= */ #contest .inner{ width:940px; margin:470px auto 30px; } #contest .inner div h4 { position:absolute; font-family: 'Sorts Mill Goudy', serif; color:#fff; background:#636f78; font-size:1em; float:left; clear:both; padding:10px 10px 10px 20px; margin-top: 15px; margin-left:-10px; margin-bottom:0px; text-shadow:0 -1px #000000, 0 1px #000000; box-shadow:2px 2px 0 rgba(0,0,0,0.1); } #contest .inner div h4:before { content:" "; background: url(images/ribbon.png); display:block; width:10px; height:10px; position:absolute; bottom:0; left:0; margin-bottom:-10px; z-index:-1; } #contest .inner div { position: relative; float: left; background: #1a2b3c url(images/body_bg.jpg) repeat; width: 293px; height: 22.5em; border-radius: 10px; padding-bottom:15px; margin-bottom:30px; } #contest .inner div p,#contest .inner div ul { padding: 65px 14px 0 14px; } #contest .inner div p + p { padding-top: 15px; } #contest .inner div a { font-size: 1em; font-weight: bold; color: #fff; text-decoration: none; text-shadow:0 -1px #000000, 0 1px #000000; } #contest .inner div a:hover { font-size: 1em; color: #979797; text-decoration: none; text-shadow: 2px 2px 5px #000000; } #contest .inner div .motto { color: #979797; } #contest .inner #mission,#contest .inner #timeline { margin-left: 30px; } #contest .inner #rules { width: 940px; clear:both; float:none; height:auto; margin:0 0 30px; } #contest .inner h3 { text-indent: -9999px; } /* ========================================================================== */ /* Section #gallery ============================================================================= */ #gallery { position:absolute; background: #1a2b3c url(images/body_bg.jpg) repeat; width: 940px; height:460px; top:100px; left:50%; margin-left:-470px; border-radius: 10px; } #gallery .inner h3 { position:absolute; font-family: 'Sorts Mill Goudy', serif; color:#fff; background:#636f78; font-size:1em; float:left; clear:both; padding:10px 10px 10px 20px; margin-top: 15px; margin-left:-10px; margin-bottom:0px; text-shadow:0 -1px #000000, 0 1px #000000; box-shadow:2px 2px 0 rgba(0,0,0,0.1); } #gallery .inner h3:before { content:" "; background: url(images/ribbon.png); display:block; width:10px; height:10px; position:absolute; bottom:0; left:0; margin-bottom:-10px; z-index:-1; } #cc{ position:absolute; top:410px; right:160px; font-size:11px; color:#fff; } #cc a{ color:#fff; } #gallery .inner ul{ position:absolute; width:640px; height:400px; left:150px; top:30px; overflow:hidden; } #gallery .inner ul li,#gallery figure, #gallery figcaption { position:absolute; top:0; left:0; margin:0; padding:0; } #gallery figcaption{ margin:0; padding:8px 0 8px 10px; position:absolute; top:368px;left:0; height:25px; width:630px; background:rgba(255,255,255,.4); } /* ========================================================================== */ /* Section #autor ============================================================================= */ #autor { position: relative; background: #1a2b3c url(images/body_bg.jpg) repeat; width: 940px; margin:0 auto 30px; border-radius: 10px; } #autor .inner h3 { position:absolute; font-family: 'Sorts Mill Goudy', serif; color:#fff; background:#636f78; font-size:1em; padding: 10px 10px 10px 20px; margin-top: 15px; margin-left: -10px; margin-bottom: 0px; text-shadow:0 -1px #000000, 0 1px #000000; box-shadow:2px 2px 0 rgba(0,0,0,0.1); } #autor .inner h3:before { content:" "; background: url(images/ribbon.png); display:block; width:10px; height:10px; position:absolute; bottom:0; left:0; margin-bottom:-10px; z-index:-1; } #autor .inner ul { padding-top: 65px; padding-left: 14px; padding-right: 14px; } #autor .inner p { padding-top: 60px; padding-left: 14px; padding-right: 14px; padding-bottom: 15px; } #autor .inner img { padding: 5px; } #autor .inner a { font-size: 1em; font-weight: bold; color: #fff; text-decoration: none; text-shadow:0 -1px #000000, 0 1px #000000; } #autor .inner a:hover { font-size: 1em; color: #979797; text-decoration: none; text-shadow: 2px 2px 5px #000000; } #autor h4 { display: none; } /* ========================================================================== */ /* Section #kontakt ============================================================================= */ #kontakt { background: #1a2b3c url(images/body_bg.jpg) repeat; width: 940px; margin:0 auto 30px; border-radius: 10px; } #kontakt .inner h3 { position:relative; font-family: 'Sorts Mill Goudy', serif; color:#fff; background:#636f78; font-size:1em; float: left; clear: both; padding: 10px 10px 10px 20px; margin-top: 15px; margin-left: -10px; margin-bottom: 0px; text-shadow:0 -1px #000000, 0 1px #000000; box-shadow:2px 2px 0 rgba(0,0,0,0.1); } #kontakt .inner h3:before { content:" "; background: url(images/ribbon.png); display:block; width:10px; height:10px; position:absolute; bottom:0; left:0; margin-bottom:-10px; z-index:-1; } #kontakt .inner ul { padding-top: 65px; padding-left: 14px; padding-right: 14px; } #kontakt .inner p { padding-top: 60px; padding-left: 14px; padding-right: 14px; padding-bottom: 15px; } #kontakt .inner a { font-size: 1em; font-weight: bold; color: #fff; text-decoration: none; text-shadow:0 -1px #000000, 0 1px #000000; } #kontakt .inner a:hover { font-size: 1em; color: #979797; text-decoration: none; text-shadow: 2px 2px 5px #000000; } /* ========================================================================== */ /* Section aside ============================================================================= */ aside { background: #1a2b3c url(images/body_bg.jpg) repeat; width: 940px; height: 250px; margin:0 auto 30px; border-radius: 10px; } /* ========================================================================== */ /* Footer ============================================================================= */ footer { background: #1a2b3c url(images/body_bg.jpg) repeat; margin: 0 auto; height: 50px; width: 940px; border-radius: 10px 10px 0 0; } footer .inner { width: 940px; margin: auto; } /* ========================================================================== */ [/CODE]Die Webfonts hab ich mal nach oben verschoben, jetzt funktionieren die auch ;) Edith sagt noch - ergänz mal dein reset oben mit den HTML5-Elementen... achso, die Schrift in der figcaption, das gibt natürlich nix bei den hellen Bildern, musste entweder anderen Hintergrund oder andere Farbe oder vielleicht noch 'nen Textschatten... [/QUOTE]
Bilder bitte
hier hochladen
und danach über das Bild-Icon (Direktlink vorher kopieren) platzieren.
Zitate einfügen…
Authentifizierung
Wenn ★ = 12, ◇ = 4 und die Hälfte von ★ zu ◇ addiert wird, was ist das Ergebnis?
Antworten
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
Webdesign: HTML/CSS, Responsive Design, Sass...
[CSS] CSS-Contest 2012 WIPs
Oben