Commit fbb8c93dc461c18add1179d5033a820e6a1a3d8d
1 parent
79c64189b5
Exists in
master
Ajout du paramètre --main-page-width
Showing 3 changed files with 5 additions and 4 deletions Side-by-side Diff
templates/html/Default.html
| ... | ... | @@ -40,7 +40,7 @@ |
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | .header{ |
| 43 | - max-width: 63em; | |
| 43 | + max-width: var(--main-page-width); | |
| 44 | 44 | position: fixed; |
| 45 | 45 | width: 100%; |
| 46 | 46 | top:0; |
| ... | ... | @@ -56,7 +56,7 @@ |
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | body { |
| 59 | - max-width:63em; | |
| 59 | + max-width: var(--main-page-width); | |
| 60 | 60 | display:block; |
| 61 | 61 | margin-left:auto; |
| 62 | 62 | margin-right:auto; |
templates/html/Default_with_index.html
| ... | ... | @@ -68,7 +68,7 @@ |
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | .header{ |
| 71 | - max-width: 63em; | |
| 71 | + max-width: var(--main-page-width); | |
| 72 | 72 | position: fixed; |
| 73 | 73 | width: 100%; |
| 74 | 74 | top:0; |
| ... | ... | @@ -84,7 +84,7 @@ |
| 84 | 84 | } |
| 85 | 85 | |
| 86 | 86 | body { |
| 87 | - max-width:63em; | |
| 87 | + max-width: var(--main-page-width); | |
| 88 | 88 | display:block; |
| 89 | 89 | margin-left:auto; |
| 90 | 90 | margin-right:auto; |
templates/html/common/zim-variables.css