summaryrefslogtreecommitdiff
path: root/src/css/_sommaire.scss
blob: 0eadd0b2ffcac6928fa814347addd51f6376f8ee (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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
.sommaire_blien {
  line-height: 1.45rem;
  font-size: 0.8em;
  font-weight: bold;

  /* Theme style */
  color: #121311;

  &:before {
    content: "/";
  }
  a {
    outline: none;
    text-decoration: none;
  }
  a:hover, a:focus {
    /* Theme style */
    color: #BBAABB;
  }
}

#side-bar {
  text-align: center;
  font-family: ui-monospace, Menlo, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Cousine", Courier New, monospace, sans-serif;

  ul {
    columns: 2;
    list-style-type: none;
    padding-left: 0;
  }
  @mixin lightMode {
    background: #F5F6F5;
    color: inherit;

    #logo-ache {
      &:hover {
        filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, 0.4));
      }
      filter: none;
    }
    #ache a {
      text-decoration: none;
      color: inherit;
      &:hover {
        text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.4);
        text-decoration: underline royalblue 10%;
        text-undefline-offset: 5px;
      }
      text-shadow: none;
    }
    #desc_intro {
      text-shadow: 0 1px 0 #DDD;
    }
    .sommaire_blien {
      text-shadow: 0 1px 0 #444;
      color: #686868;
      a {
        color: #686868;
      }
    }
    .about {
      color: #666;
    }
  }


  @mixin darkMode {
    background: #101110;
    color: #FFF;

    #logo-ache {
      &:hover {
        filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, 0.4)) invert(1);
      }
      filter: invert(1);
    }
    #ache a {
      text-decoration: none;
      color: inherit;
      &:hover {
        text-shadow: 0px 2px 8px rgba(255, 255, 255, 0.9);
        text-decoration: underline goldenrod 10%;
        text-underline-offset: 5px;
      }
      text-shadow: none;
    }
    #desc_intro {
      text-shadow: 2px 4px 0 #333;
    }
    .sommaire_blien {
      text-shadow: 0 1px 0 #444;
      color: #F5F5F5;
      a {
        color: #F5F5F5;
      }
    }
    .about {
      color: #BBB;
    }
  }
  @media (prefers-color-scheme: light) { @include lightMode; }
  @media (prefers-color-scheme: dark) { @include darkMode; }

  &.light { @include lightMode; }
  &.dark { @include darkMode; }


  svg {
    margin: 0 auto;
    display: block;
  }
  @media #{$gt-gsm} {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    transition: left 0.5s ease-in 0.25s;

  /* Theme style */
    border-right: 3px solid rgba(51, 51, 51, 0.1);

    &.hidden {
      left: -290px;
      transition: left 0.5s ease-out 0.15s;
    }
  }
}
#desc_intro {
  padding-left: 10px;
  padding-right: 10px;

  /* Theme style */
  text-shadow: 2px 4px 0 #DDD;
}
#desc {
  font-size: 90%;
  margin-top: 15px;
  padding-left: 15px;
  padding-right: 15px;
  font-size: 1.05em;
}
.about {
  font-size: 0.8em;
  align-items: center;
  justify-content: center;
}
.about > .type_wrap {
  display: inline-flex;
}
.type_wrap > .type {
  animation: typing 1.5s steps(22);
  width: 20ch;
  white-space: nowrap;
  overflow: hidden;
}
@keyframes typing {
  0% {
    width: 0;
  };
}
.about_bar {
  display: inline-block;
  width: 20%;
  text-align: left;
  font-size: 0.8em;
  font-weight: bold;
  margin: auto;

  /* Theme style */
  color: #121311;
  text-shadow: 0 1px 0 #DDD;
}
#ontheweb {
  visibility: hidden;
}
@media #{$gt-gsm} {
  #ontheweb {
    visibility: visible;
    @media screen and (max-height: 519px) {
      visibility: hidden;
    }

    position: absolute;
    bottom: 0px;
    left: 0px;
    width: var(--width_panel);

    ul {
      padding-left: 0;
      display: flex;
      justify-content: space-evenly;
    }
  }
}