projects
/
website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unnötig komplexe CSS-Selektoren vereinfacht
[website]
/
src
/
main
/
webapp
/
less
/
screen
/
layout.less
diff --git
a/src/main/webapp/less/screen/layout.less
b/src/main/webapp/less/screen/layout.less
index
4e6c331
..
92cc19a
100644
(file)
--- a/
src/main/webapp/less/screen/layout.less
+++ b/
src/main/webapp/less/screen/layout.less
@@
-58,25
+58,25
@@
body
{
padding: 2em;
}
{
padding: 2em;
}
-
.content
#nav
+#nav
{
position: absolute;
top: 0;
right: 0; /** Hier eigentlich nicht nötig, aber für Tablet-Style erforderrlich! */
width: 100%;
}
{
position: absolute;
top: 0;
right: 0; /** Hier eigentlich nicht nötig, aber für Tablet-Style erforderrlich! */
width: 100%;
}
-.cols_2
> .content
#nav
+.cols_2 #nav
{
position: relative;
top: auto;
right: auto;
width: 22.375em; /** 358px = 326px + 32px*/
}
{
position: relative;
top: auto;
right: auto;
width: 22.375em; /** 358px = 326px + 32px*/
}
-.cols_2
> .content #nav >
#menu
+.cols_2 #menu
{
margin: 0 0 -2.125em 0; /** 0 0 -34px 0 */
}
{
margin: 0 0 -2.125em 0; /** 0 0 -34px 0 */
}
-.co
ntent.cols_1 #nav >
#menu
+.co
ls_1
#menu
{
position: absolute;
top: -7em; /** 112px */
{
position: absolute;
top: -7em; /** 112px */