Welcome to mirror list, hosted at ThFree Co, Russian Federation.

layout.scss_f300667da4f5b5f84e1a9e0702b2fdde.content « sass « scss « assets « _gen « resources « exampleSite - github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1fb45dcb773c10756e6b48fe86cca0baa0af3b83 (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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
* {
  box-sizing: border-box; }

a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, body, canvas, caption, center, cite, code, dd, del, details, dfn, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav, object, ol, output, p, pre, q, ruby, s, samp, section, small, span, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, time, tr, tt, u, ul, var, video {
  border: 0;
  vertical-align: baseline; }

body:not(.render_raw) {
  margin: 0px 0px;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  min-height: 100vh;
  text-rendering: optimizeLegibility; }
  body:not(.render_raw) header {
    flex-shrink: 0;
    min-height: 45px;
    max-height: 45px;
    padding: 8px 0;
    position: fixed;
    width: 100%;
    z-index: 9999;
    -webkit-transform: translateZ(0);
    transform: translateZ(0); }
    body:not(.render_raw) header > * {
      max-width: 1400px;
      width: 100%;
      padding: 0 20px;
      margin: 0 auto; }
    body:not(.render_raw) header div.burger {
      display: none; }
  body:not(.render_raw) article {
    -webkit-box-flex: 1;
    flex-grow: 1;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    min-height: calc(100vh - 45px);
    left: 0;
    min-height: 100%;
    padding-top: 100px;
    position: relative;
    z-index: 99;
    -webkit-box-flex: 1;
    flex-grow: 1;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-flow: row nowrap;
    padding: 0 20px;
    padding-top: 45px;
    margin: 0 auto;
    width: 100%;
    max-width: 1400px; }
    body:not(.render_raw) article > * {
      margin: 0 24px; }
    body:not(.render_raw) article aside {
      transition: max-height .2s ease-out;
      -webkit-box-flex: 0;
      flex: 0 0 20em;
      margin-left: 0;
      -webkit-box-flex: 0;
      flex: 0 0 20em;
      height: calc(100vh - 45px);
      position: -webkit-sticky;
      position: sticky;
      overflow-y: auto;
      top: 45px; }
    body:not(.render_raw) article section.page {
      -webkit-box-flex: 1;
      flex: 1 auto;
      max-width: 100%;
      min-width: 0; }
      body:not(.render_raw) article section.page .jump-to-section {
        display: none;
        margin-top: 0.5em;
        margin-left: 0.2em; }
        body:not(.render_raw) article section.page .jump-to-section ul {
          padding-left: 10px; }
        body:not(.render_raw) article section.page .jump-to-section nav {
          display: none;
          position: absolute;
          z-index: 5;
          border: 1px solid;
          padding: 1em 30px;
          border-radius: 3px;
          min-width: 25%;
          max-width: 50%;
          box-shadow: 0 5px 8px rgba(0, 0, 0, 0.25); }
    body:not(.render_raw) article section.right-menu {
      margin-right: 0;
      align-self: flex-start;
      display: block;
      -webkit-box-flex: 0;
      flex: 0 0 240px;
      max-height: calc(100vh - 45px);
      overflow-y: auto;
      position: -webkit-sticky;
      position: sticky;
      top: 45px;
      margin-bottom: 40px; }
  body:not(.render_raw) footer > * {
    max-width: 1400px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto; }

/* hideheader hidenav hidebreadcrumb hidetoc hidefooter */
body:not(.render_raw).hideheader article {
  padding-top: 0px; }
  body:not(.render_raw).hideheader article aside {
    top: 0px;
    height: calc(100vh); }
  body:not(.render_raw).hideheader article section.right-menu {
    top: 0px;
    max-height: calc(100vh); }

@media (max-width: 1160px) {
  body:not(.render_raw) header div.burger {
    display: none; }
  body:not(.render_raw) article {
    padding-left: 0px;
    padding-right: 0px; }
    body:not(.render_raw) article aside {
      margin-right: 0px; }
    body:not(.render_raw) article aside.responsive {
      display: block; }
    body:not(.render_raw) article section.page .jump-to-section {
      display: block; }
    body:not(.render_raw) article section.right-menu {
      display: none; } }

@media (max-width: 936px) {
  body:not(.render_raw) header div.burger {
    display: block; }
  body:not(.render_raw) article {
    padding-left: 0px;
    padding-right: 0px; }
    body:not(.render_raw) article aside {
      display: none;
      flex: 0 0 100%; }
    body:not(.render_raw) article aside.responsive {
      display: block; }
    body:not(.render_raw) article section.page .jump-to-section {
      display: block; }
    body:not(.render_raw) article section.right-menu {
      display: none; } }