mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: prevent abuse of h1 and use font size classes
See related community PR. task-1958098 closes odoo/design-themes#682 Related: odoo/enterprise#44986 Related: odoo/odoo#129791 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
committed by
qsm-odoo
parent
8b45a6dc29
commit
1aa6700c98
@@ -11,8 +11,11 @@
|
||||
<div class="o_we_bg_filter" style="background-color: rgba(25, 41, 37, 0.55) !important;"/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h1" position="attributes">
|
||||
<attribute name="class" add="display-1-fs" remove="display-3-fs" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//h1" position="replace" mode="inner">
|
||||
<font style="font-size: 92px; font-weight: bold;">Once in a lifetime moments</font>
|
||||
Once in a lifetime moments
|
||||
</xpath>
|
||||
<!-- Paragraph -->
|
||||
<xpath expr="//p" position="replace" mode="inner">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<attribute name="class" add="o_cc5" remove="o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h2//font" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Love is in the air
|
||||
</xpath>
|
||||
<!-- Paragraphs -->
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<attribute name="class" add="o_cc o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h1//font" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Meet our team
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user