Skip to content

Commit b2c79fc

Browse files
committed
fix: replace center tags with major-title classes for h1 tags, and styling
Fixes: #1838
1 parent 1db8b10 commit b2c79fc

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

cdn/dev/css/template.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ div.interface-hierarchy blockquote {
282282
z-index: 5;
283283
}
284284

285+
285286
#show-phone-menu{
286287
display: none;
287288
}
@@ -845,6 +846,10 @@ input[type="search"] {
845846
padding: 40px 10px 10px 10px;
846847
}
847848

849+
.major-title {
850+
text-align: center !important;
851+
}
852+
848853
#section2 h2{
849854
font-size: 20pt;
850855
line-height: 1.4;

developer/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
'showMenu' => true
1313
]);
1414
?>
15-
<h1><center>Keyman Developer Help Index</center></h1>
15+
<h1 class="major-title">Keyman Developer Help Index</h1>
1616

1717
<div class="product-index">
1818

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
'toc' => false
1212
]);
1313
?>
14-
<h1><center>Welcome to Keyman Support - what do you need help with today?</center></h2>
14+
<h1 class="major-title">Welcome to Keyman Support - what do you need help with today?</h1>
1515
<div class="product-index">
1616
<div class="product" id="product-products">
1717
<a href="/products/">

keyboard/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
'index' => false
1313
]);
1414
?>
15-
<h1><center>Keyboard Layouts Help Index</center></h1><br>
15+
<h1 class="major-title">Keyboard Layouts Help Index</h1><br>
1616
<ul class="keyboard-support-list" id="keyboard-support-list">
1717
<?php
1818
asort($items['active']);

products/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
'toc' => false
1313
]);
1414
?>
15-
<h1><center>Keyman Products Help Index</center></h1>
15+
<h1 class="major-title">Keyman Products Help Index</h1>
1616
<div class="product-index">
1717
<div class="product" id="product-windows">
1818
<a href="windows">

0 commit comments

Comments
 (0)