10 years later #1

Merged
sthag merged 374 commits from development into main 2026-03-07 00:18:59 +01:00
9 changed files with 1111 additions and 149 deletions
Showing only changes of commit db96a298fb - Show all commits

View file

@ -43,6 +43,18 @@
.txt_center {
text-align: center !important;
}
.txt_right {
text-align: right !important;
}
.txt_left {
text-align: left !important;
}
// Clearing and floating // Clearing and floating
// ------------------------------------------------------------------------------ // ------------------------------------------------------------------------------
.clear { .clear {

View file

@ -58,9 +58,17 @@
.demo__footer { .demo__footer {
width: 100%; width: 100%;
height: 128px; // height: 128px;
padding: $space_2 0;
background-color: $dark_color; background-color: $dark_color;
color: $bright_color; color: $bright_color;
nav {
a {
color: $bright_color;
}
}
} }
.demo__avatar { .demo__avatar {

View file

@ -5,7 +5,6 @@
p { p {
@extend %basic; @extend %basic;
margin: $basic_space 0; margin: $basic_space 0;
color: $basic_font_color;
code { code {
padding: $tiny_space $half_space; padding: $tiny_space $half_space;
font-size: 1em; font-size: 1em;

View file

@ -33,14 +33,17 @@ a {
@extend %default_button; @extend %default_button;
} }
.a__button_border { .a__button_text {
@extend %default_button; @extend %default_button;
padding: $wide_padding; padding: $wide_padding;
background-color: transparent; background-color: transparent;
color: $basic_font_color; color: $basic_font_color;
border: $cell_border;
} }
.a__button_border {
@extend .a__button_text;
border: $cell_border;
}
// Other elements // Other elements

View file

@ -61,18 +61,3 @@
text-overflow: ellipsis; text-overflow: ellipsis;
-o-text-overflow: ellipsis; // vendor -o-text-overflow: ellipsis; // vendor
} }
// Specific styles
// -----------------------------------------------------------------------------
.txt_center {
text-align: center !important;
}
.txt_right {
text-align: right !important;
}
.txt_left {
text-align: left !important;
}

View file

@ -1,7 +1,7 @@
var w = Math.max(document.documentElement.clientWidth, window.innerWidth || 0) var w = Math.max(document.documentElement.clientWidth, window.innerWidth || 0)
var h = Math.max(document.documentElement.clientHeight, window.innerHeight || 0) var h = Math.max(document.documentElement.clientHeight, window.innerHeight || 0)
var full_view_hover = true; var full_view_hover = false;
var doc_pos_y = 0; var doc_pos_y = 0;
var basic_ease = 600; var basic_ease = 600;

File diff suppressed because it is too large Load diff

View file

@ -396,7 +396,7 @@
<p>Aufbau, Standardwerte</p> <p>Aufbau, Standardwerte</p>
</header> </header>
<article> <article>
<p>&ellip;</p> <p>&hellip;</p>
</article> </article>
</section> </section>
@ -486,12 +486,22 @@ nav.nav__center_old>ul>(li>a.a__button{Typ $})*4</code></pre>
<header id="js_demo_fix" class="header__page demo__header header__fix"> <header id="js_demo_fix" class="header__page demo__header header__fix">
<nav class="nav__right"> <nav class="nav__right">
<ul> <ul>
<li><a href="" class="a__button">One</a></li> <li><a href="" class="a__button">Eins</a></li>
<li><a href="" class="a__button">Two</a></li> <li><a href="" class="a__button">Zwei</a></li>
</ul> </ul>
</nav> </nav>
</header> </header>
<footer class="pos_abs pos_bottom demo__footer"></footer> <footer class="pos_abs pos_bottom demo__footer">
<nav class="nav__column">
<ul>
<li><a href="" class="a__button_text">Alpha</a></li>
<li><a href="" class="a__button_text">Bravo</a></li>
<li><a href="" class="a__button_text">Charlie</a></li>
<li><a href="" class="a__button_text">Delta</a></li>
</ul>
</nav>
<p class="txt_center">👨‍💻 mit ❤ von <a href="https://interaktionsweise.de">Interaktionsweise</a></p>
</footer>
</div> </div>
<div class="flex"> <div class="flex">
<div class="flex_child"></div> <div class="flex_child"></div>

View file

@ -14,10 +14,49 @@ nav {
ul { ul {
@extend .overflow; @extend .overflow;
ul {
margin: $basic_space 0;
}
li { li {
@extend .float_left; @extend .float_left;
margin-right: $basic_space; margin-right: $basic_space;
margin-bottom: 0; margin-bottom: 0;
&:last-child {
margin-right: 0;
}
}
}
}
.nav__right {
float: right;
margin-left: $basic_space;
.align_parent {
margin-right: $basic_space * -1;
}
}
.nav__separate_right {
float: right;
li {
position: relative;
&:first-child {
padding-left: $basic_space * 2 + $tiny_space;
&::before {
content: "";
position: absolute;
width: $tiny_space;
height: 100%;
left: 0;
top: 0;
background-color: $bright_color;
margin: 0 $basic_space;
}
} }
} }
} }
@ -35,6 +74,27 @@ nav {
} }
} }
.nav__column {
position: relative;
margin: $basic_space 0;
ul {
@extend .flex;
margin: 0 $space_5;
li {
@extend .flex_child;
flex-grow: 1;
margin: 0;
text-align: center;
a {
display: block;
}
}
}
}
.nav__page_meta { .nav__page_meta {
position: fixed; position: fixed;
// display: table; // display: table;
@ -69,14 +129,6 @@ nav {
nav { nav {
@extend .nav__horizontal; @extend .nav__horizontal;
ul {
margin: $basic_space 0;
}
li:last-child {
margin-right: 0;
}
a { a {
&:active, &:active,
@ -87,35 +139,4 @@ nav {
} }
} }
} }
.nav__right {
float: right;
margin-left: $basic_space;
.align_parent {
margin-right: $basic_space * -1;
}
}
.nav__separate_right {
float: right;
li {
position: relative;
&:first-child {
padding-left: $basic_space * 2 + $tiny_space;
&::before {
content: "";
position: absolute;
width: $tiny_space;
height: 100%;
left: 0;
top: 0;
background-color: $bright_color;
margin: 0 $basic_space;
}
}
}
}
} }