|
2 | 2 | display: flex; |
3 | 3 | flex-direction: column; |
4 | 4 | margin-top: var(--oe-padding-small); |
| 5 | + width: 100%; |
5 | 6 |
|
6 | 7 | &-git-info { |
7 | | - width: 100%; |
8 | | - display: flex; |
9 | | - justify-content: center; |
| 8 | + width: 100%; |
| 9 | + display: flex; |
| 10 | + justify-content: center; |
10 | 11 | background-color: blue; |
11 | 12 | } |
12 | 13 |
|
13 | | - &-upper, &-lower { |
14 | | - width: 100%; |
15 | | - display: flex; |
16 | | - flex-wrap: wrap; |
17 | | - flex-direction: row; |
18 | | - margin-bottom: var(--oe-padding-small); |
| 14 | + &-upper, |
| 15 | + &-lower { |
| 16 | + width: 100%; |
| 17 | + display: flex; |
| 18 | + flex-wrap: wrap; |
| 19 | + flex-direction: row; |
| 20 | + margin-bottom: var(--oe-padding-small); |
| 21 | + gap: var(--oe-padding); |
| 22 | + text-align: center; |
19 | 23 | } |
20 | 24 |
|
21 | 25 | &-upper { |
22 | | - justify-content: center; |
| 26 | + justify-content: center; |
23 | 27 | } |
24 | 28 |
|
25 | 29 | &-lower { |
26 | 30 | justify-content: space-between; |
27 | | - width: 100%; |
| 31 | + align-items: end; |
| 32 | + align-content: center; |
28 | 33 | } |
29 | 34 |
|
30 | | - &-doi { |
31 | | - display: flex; |
32 | | - } |
33 | | - |
34 | | - &-doi, &-copyright, &-social-media, &-themeselector { |
35 | | - width: 50%; |
36 | | - padding-top: var(--oe-padding-smaller); |
| 35 | + & .oe-footer-lower > * { |
| 36 | + flex-grow: 1; |
| 37 | + flex-shrink: 0; |
37 | 38 | } |
38 | 39 |
|
39 | 40 | &-social-media { |
40 | | - display: flex; |
41 | | - justify-content: flex-end; |
42 | | - |
43 | | - sl-icon-button::part(base) { |
44 | | - color: var(--color-link); |
45 | | - } |
46 | | - |
47 | | - .button__label { |
48 | | - padding: 0 var(--sl-spacing-x-small) 0 0 !important; /* Overriding shoelace button label style to improve spacing */ |
49 | | - } |
| 41 | + a { |
| 42 | + height: 16px; |
| 43 | + display: inline-block; |
| 44 | + vertical-align: text-top; |
| 45 | + } |
50 | 46 | } |
51 | 47 |
|
52 | 48 | &-themeselector { |
53 | | - text-align: right; |
| 49 | + flex-shrink: 1; |
54 | 50 | } |
55 | 51 | } |
56 | 52 |
|
57 | | -dark-mode-toggle { |
58 | | - word-spacing: 200%; |
59 | | -} |
60 | | - |
61 | 53 | dark-mode-toggle::part(fieldset) { |
62 | 54 | display: flex; |
63 | 55 | justify-content: flex-start; |
64 | 56 | align-items: baseline; |
65 | 57 | flex-direction: row-reverse; |
66 | 58 | gap: 1em; |
67 | 59 | } |
68 | | - |
69 | | -/* Small screen styles */ |
70 | | -@media only screen and (max-width: 700px) { |
71 | | - .oe-footer { |
72 | | - flex-direction: column; |
73 | | - |
74 | | - &-lower { |
75 | | - flex-direction: column; |
76 | | - } |
77 | | - |
78 | | - &-doi, &-copyright, &-social-media, &-themeselector { |
79 | | - width: 100%; |
80 | | - display: flex; |
81 | | - justify-content: flex-start; |
82 | | - } |
83 | | - } |
84 | | - .oe-footer > div { |
85 | | - margin-top: --oe-padding-small; |
86 | | - } |
87 | | - |
88 | | - dark-mode-toggle::part(fieldset) { |
89 | | - flex-direction: row; |
90 | | - } |
91 | | -} |
0 commit comments