Blame view

assets/main.scss 2.8 KB
6014189d   Geoffrey PREUD'HOMME   Avancement de la ...
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
  ---
  # Only the main Sass file needs front matter (the dashes are enough)
  ---
  @charset "utf-8";
  
  // Our variables
  $base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  $base-font-size:   16px;
  $base-font-weight: 400;
  $small-font-size:  $base-font-size * 0.875;
  $base-line-height: 1.5;
  
  $spacing-unit:     30px;
  
  $text-color:       #111;
  $background-color: #fdfdfd;
  $brand-color:      #2a7ae2;
  
  $grey-color:       #828282;
  $grey-color-light: lighten($grey-color, 40%);
  $grey-color-dark:  darken($grey-color, 25%);
  
  // Width of the content area
  $content-width:    800px;
  
  $on-palm:          600px;
  $on-laptop:        800px;
  
  // Minima also includes a mixin for defining media queries.
  // Use media queries like this:
  // @include media-query($on-palm) {
  //     .wrapper {
  //         padding-right: $spacing-unit / 2;
  //         padding-left: $spacing-unit / 2;
  //     }
  // }
  
  // Import partials from the `minima` theme.
  @import "minima";
  
858bb856   Geoffrey PREUD'HOMME   Design noir
41
42
43
44
  html {
      background: black;
  }
  
6014189d   Geoffrey PREUD'HOMME   Avancement de la ...
45
46
47
48
49
50
51
52
53
54
  .post-logo {
      float: left;
      max-width: 200px;
      margin-right: 10px;
      margin-bottom: 10px;
  }
  
  .post-title, .post-meta {
      text-align: center;
  }
965e311a   Geoffrey PREUD'HOMME   Police du Club Info
55
56
57
58
59
60
61
62
  
  @font-face {
      font-family: 'geosanslightregular';
      src: url('geosanslight-webfont.woff2') format('woff2'),
           url('geosanslight-webfont.woff') format('woff');
      font-weight: normal;
  }
  
7a7bfe51   Geoffrey PREUD'HOMME   Transformation en...
63
  .site-title, h1, h2, h3, h4, h5, h6 {
965e311a   Geoffrey PREUD'HOMME   Police du Club Info
64
65
66
      font-family: 'geosanslightregular';
  }
  
71a8b229   Geoffrey PREUD'HOMME   Petits changements
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
  .post-content {
      h1 {
         text-decoration: underline;
         font-size: 32px;
      }
  
      h2 {
         font-size: 28px;
      }
  
      h3 {
         font-size: 24px;
      }
  
      h4 {
         font-size: 20px;
      }
  }
  
7a7bfe51   Geoffrey PREUD'HOMME   Transformation en...
86
87
88
89
90
91
92
93
  .main-image {
      max-width: 300px;
      border-radius: 5px;
      margin: auto;
      display: block;
  }
  
  .footer-col-1 {
203995e7   Geoffrey PREUD'HOMME   Icones dans le fo...
94
95
    width: -webkit-calc(50% - (#{$spacing-unit} / 2));
    width:         calc(50% - (#{$spacing-unit} / 2));
7a7bfe51   Geoffrey PREUD'HOMME   Transformation en...
96
97
98
  }
  
  .footer-col-2 {
203995e7   Geoffrey PREUD'HOMME   Icones dans le fo...
99
100
    width: -webkit-calc(50% - (#{$spacing-unit} / 2));
    width:         calc(50% - (#{$spacing-unit} / 2));
7a7bfe51   Geoffrey PREUD'HOMME   Transformation en...
101
  }
4a8ebb70   Geoffrey PREUD'HOMME   Navigation vers C...
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
  
  .page-nav {
    font-size: 14px;
    display: block;
    width: auto;
    overflow: hidden;
    span {
        display: block;
        width: 50%;
        float: left;
        margin: 1em 0;
    }
  
    span:last-child {
        text-align: right;
    }
  }
  
858bb856   Geoffrey PREUD'HOMME   Design noir
120
121
122
  .site-header, .site-footer {
      background: black;
      color: white;
203995e7   Geoffrey PREUD'HOMME   Icones dans le fo...
123
124
125
126
  
      a:hover {
          color: $grey-color-light;
      }
858bb856   Geoffrey PREUD'HOMME   Design noir
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
  }
  
  .site-nav {
    background: black;
    .page-link {
      color: $grey-color-light;
    }
  
    @include media-query($on-palm) {
      border: 1px solid $grey-color-dark;
  
      .menu-icon {
        > svg path {
          fill: $grey-color-light;
        }
      }
    }
  }
  
  .site-title, .site-title:visited {
      color: white;
  }
203995e7   Geoffrey PREUD'HOMME   Icones dans le fo...
149
150
151
152
153
154
155
156
  
  .icon > svg {
    height: 16px;
    width: 16px;
    path {
      fill: $brand-color;
    }
  }
a1774662   Geoffrey PREUD'HOMME   Rajout des antiqu...
157
158
159
160
161
162
163
  
  kbd {
      padding: 2px;
      border: darken($grey-color-light, 20%) 1px solid;
      background: $grey-color-light;
      border-radius: 3px;
  }