summaryrefslogtreecommitdiff
path: root/src/css/_contenu.scss
blob: 8f256ddc8f578430be66083973a66c825d1d2d37 (plain)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
article {
  margin-right: 2%;
  margin-left: 3%;
  float: left;
  width: 83%;
  background: #FFF;
  margin-bottom: 2.5%;
  padding-right: 0;
  padding-left: 0;
  padding: 1.6em 1.6em;
  font-family: Merriweather, "Liberation Serif", "Segoe UI";

  code {
    color: #a00;
    background: #eee;
    border: 1px solid #ccc;
    padding: 0 5px;
  }

  @media #{$gt-gsm} {
    float: none;
    margin-right: 7%;
    margin-left: 300px;
    width: auto;

    font-size: 1em;
    padding-right: 5%;
    padding-left: 5%;
    transition: margin-left 0.5s ease-out 0.25s;

    border: 1px solid #eaeaea;
    border: 1px solid rgba(51, 51, 51, 0.1);
    border-color: #eaeaea !important;
    margin-top: 50px;
    margin-bottom: 50px;

    &.zen-mode {
      margin-left: 7%;
      transition: margin-left 0.5s ease-out 0.25s;
    }
  }
  li p {
    display: inline;
  }
  li {
    list-style-type: upper-roman;
  }
  li li {
    list-style-type: lower-roman;
  }

  .footnotes {
    color: #777;
    font-size: 0.8em;
    li {
      padding-bottom: 15px;
    }
    ol p {
      display: inline;
    }
  }

  h1 {
    font-size: 2em;
    color: #A5B;
  }
  h2 {
    font-size: 1.5em;
    color: #BB8;
  }
  h3 {
    font-size: 1.25em;
    color: #AC4;
  }
  h2:before {
    content: "# ";
    color: #ABB;
    font: bold  0.95em arial, sans-serif;
  }
  h3:before {
    content: "## ";
    color: #ABB;
    font: bold  0.95em arial, sans-serif;
  }
  h4:before {
    content: "### ";
    color: #ABB;
    font: bold  1em arial, sans-serif;
  }
}
section {
  > p:nth-of-type(1) {
  }
  > p:nth-of-type(1):after {
    content: " ";
    display: table;
    clear: both;
  }
  > p:nth-of-type(1) > img {
    height: 150px;
    float: right;
  }

  @media #{$gt-gsm} {
    > p:first-of-type {
      margin-top: 2.5%;
      margin-bottom: 2.5%;
      padding-left: 6%;
      color: #944040;
    }
  }
}