Changed h1 to span to prevent autoresize on android
This commit is contained in:
parent
fedf5dcc0a
commit
9ad8972da1
3 changed files with 5 additions and 11 deletions
|
|
@ -23,7 +23,7 @@
|
|||
<header class= "bg-light">
|
||||
<div class="container container--narrow container--padding">
|
||||
<img src="/static/images/cara_logo.200x200.png" class="logo">
|
||||
<h1 class="head-center"><b>CARA - </b> COVID Airborne Risk Assessment Calculator</h1>
|
||||
<h1 class="text-center h1-text"><b>CARA - </b> COVID Airborne Risk Assessment Calculator</h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
|
|
|||
|
|
@ -113,11 +113,6 @@ body {
|
|||
font-size: 2.75vh;
|
||||
}
|
||||
|
||||
.head-center {
|
||||
text-align: center;
|
||||
font-size: 3vh;
|
||||
}
|
||||
|
||||
.center {
|
||||
position: relative;
|
||||
display: flex;
|
||||
|
|
@ -211,10 +206,6 @@ footer img {
|
|||
height: 6em;
|
||||
}
|
||||
|
||||
.head-center {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
.header-text {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
|
@ -278,6 +269,9 @@ footer img {
|
|||
float:left;
|
||||
font-size:.75rem;
|
||||
}
|
||||
.h1-text {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Devices under 768px (md) */
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<header class= "bg-light">
|
||||
<div class="container container--narrow container--padding">
|
||||
<img src="/static/images/cara_logo.200x200.png" class="logo">
|
||||
<h1 class="head-center"><b>CARA - </b> COVID Airborne Risk Assessment</h1>
|
||||
<h1 class="text-center h1-text"><b>CARA - </b> COVID Airborne Risk Assessment</h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue