Summary Files Commits Branches @commit @diff @stats
path: root / Year 4 / Web technologies / referat / css / layout.css
diff options
context:
space:
mode:
1 files changed, 36 insertions, 0 deletions
-rw-r--r--Year 4/Web technologies/referat/css/layout.css36
diff --git a/Year 4/Web technologies/referat/css/layout.css b/Year 4/Web technologies/referat/css/layout.css
new file mode 100644
index 0000000..2b3d0ff
--- /dev/null
+++ b/Year 4/Web technologies/referat/css/layout.css
@@ -0,0 +1,36 @@
+.centered {
+ text-align: center;
+}
+
+.right-aligned {
+ float: right;
+ display: inline-block;
+}
+
+img {
+ max-height: inherit;
+ max-width: inherit;
+}
+
+.size-small {
+ max-height: 10em;
+ max-width: 10em;
+}
+
+.size-large {
+ max-height: 20em;
+ max-width: 20em;
+}
+
+ol.sources {
+ list-style: none;
+ counter-reset: num;
+}
+
+ol.sources > li {
+ counter-increment: num;
+}
+
+ol.sources > li::before {
+ content: "[" counter(num) "]";
+}