projects
/
web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use a dedicated email address for the blog stuff
[web.git]
/
personal
/
_sass
/
_layout.scss
diff --git
a/personal/_sass/_layout.scss
b/personal/_sass/_layout.scss
index 4ac6bb219cb21624cf8fe802ddefcccf3e9fa642..cde604e034ed50209c74e7bdd5672481a06e9925 100644
(file)
--- a/
personal/_sass/_layout.scss
+++ b/
personal/_sass/_layout.scss
@@
-11,7
+11,8
@@
body { /* This centers us in the page, and handles the "too wide" case */
}
#-frame { /* Add a frame, full height */
margin: 0 $navi-width;
}
#-frame { /* Add a frame, full height */
margin: 0 $navi-width;
- padding-top: $outer-margin;
+ padding-top: $outer-margin; /* distance of top to window border */
+ padding-bottom: $outer-margin; /* distance of page-bottom to window border */
border-left: solid $text-color 1px;
min-height: calc(100vh - #{$outer-margin});
}
border-left: solid $text-color 1px;
min-height: calc(100vh - #{$outer-margin});
}
@@
-19,7
+20,8
@@
body { /* This centers us in the page, and handles the "too wide" case */
/* The content of the frame */
#-content {
margin-left: $intrusion-width;
/* The content of the frame */
#-content {
margin-left: $intrusion-width;
- padding: $outer-margin;
+ padding-left: $outer-margin; /* Distance to the end of the intrusion */
+ padding-right: $outer-margin; /* Distance to the end of the window */
padding-top: 1px; /* If we use 0 here, some paddings add up things get ugly. What?!? */
}
padding-top: 1px; /* If we use 0 here, some paddings add up things get ugly. What?!? */
}
@@
-94,10
+96,10
@@
body { /* This centers us in the page, and handles the "too wide" case */
position: static;
}
#-content {
position: static;
}
#-content {
- padding:
$outer-margin
;
+ padding:
#{ $outer-margin * 0.75 }
;
}
#-navi {
}
#-navi {
- padding:
$outer-margin
;
+ padding:
#{ $outer-margin * 0.75 }
;
border-bottom: solid $text-color 1px;
ul {
border-bottom: solid $text-color 1px;
ul {
@@
-150,3
+152,33
@@
body { /* This centers us in the page, and handles the "too wide" case */
display: none;
}
}
display: none;
}
}
+
+/* Title and Title-asides spacing */
+.side {
+ float: right;
+}
+.subtitle {
+ margin-top: 2em;
+
+ h1, h2 {
+ display: inline-block;
+ margin: 0;
+ }
+ .side {
+ margin-left: 0.5em;
+ margin-top: 0.45em;
+ }
+}
+.title {
+ margin-top: 0.2em;
+ margin-bottom: 1.2em;
+
+ h1, h2 {
+ display: inline-block;
+ margin: 0;
+ }
+ .side {
+ margin-left: 0.5em;
+ margin-top: 0.8em;
+ }
+}