Summary Files Commits Branches @commit @diff @stats
path: root / Year 4 / Web technologies / referat / css / layout.css
blob: 2b3d0ff820ecee88b4481fe8cb3eafa670ed574f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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) "]";
}