projects
/
enc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dec1c51
)
main.css: define classes for floating images; reorganize recent defs.
author
Thérèse Godefroy
<godef.th@free.fr>
Thu, 5 Aug 2021 09:19:37 +0000
(11:19 +0200)
committer
Thérèse Godefroy
<godef.th@free.fr>
Thu, 5 Aug 2021 09:23:10 +0000
(11:23 +0200)
static/css/main.css
patch
|
blob
|
blame
|
history
diff --git
a/static/css/main.css
b/static/css/main.css
index cb27f829d2ebe90122f20ed0a6f8dd42cd5cb627..8e3f3528a38b5e6452bc3c6d62eb5369854bf2a6 100644
(file)
--- a/
static/css/main.css
+++ b/
static/css/main.css
@@
-177,6
+177,23
@@
small {
font-size: 0.85em;
}
font-size: 0.85em;
}
+code,
+kbd,
+samp {
+ font-family: monospace;
+ padding: 0 .2em;
+}
+code,
+kbd {
+ display: inline-block;
+}
+
+/* Prevent wrapping within anchor links. */
+a[href^="#section"],
+a[href^="#step"] {
+ white-space: nowrap;
+}
+
#header #fsf-intro {
font-size: .7em;
}
#header #fsf-intro {
font-size: .7em;
}
@@
-185,6
+202,7
@@
small {
font-size: 125%;
}
font-size: 125%;
}
+
/* Colours
*/
/* Colours
*/
@@
-208,23
+226,10
@@
b, i, em {
color: #905300;
}
color: #905300;
}
-/* Commands and options */
code,
kbd,
samp {
color: #905300;
code,
kbd,
samp {
color: #905300;
- font-family: monospace;
- padding: 0 .2em;
-}
-code,
-kbd {
- display: inline-block;
-}
-
-/* Prevent wrapping within anchor links. */
-a[href^="#section"],
-a[href^="#step"] {
- white-space: nowrap;
}
/* Guide Sections Background */
}
/* Guide Sections Background */
@@
-447,6
+452,22
@@
ul.images li > img {
margin-bottom: 6px;
}
margin-bottom: 6px;
}
+.float-medium,
+.float-small {
+ display: block;
+ margin: 0 auto 20px;
+ max-width: 100%;
+ height: auto;
+}
+
+.float-medium {
+ width: 400px;
+}
+
+.float-small {
+ width: 250px;
+}
+
/* Troubleshooting panel and dropdown */
.troubleshooting {
/* Troubleshooting panel and dropdown */
.troubleshooting {
@@
-787,6
+808,15
@@
input[type='reset']:hover {
}
}
+@media (min-width:800px) {
+
+ .float-small {
+ float:right;
+ margin:0 0 20px 30px;
+ }
+
+}
+
@media only screen and (min-width: 950px) {
.row > div,
@media only screen and (min-width: 950px) {
.row > div,
@@
-876,4
+906,11
@@
input[type='reset']:hover {
#workshops-image {
width: 100%;
}
#workshops-image {
width: 100%;
}
+
+ .float-medium {
+ float: right;
+ max-width: 50%;
+ margin: 0 0 20px 30px;
+ }
+
}
}