Skip to content

Commit ccefd86

Browse files
authored
Add a note of caution to Tech Report (#1157)
* Add a not of caution to Tech Report * CI errors * Fix errors
1 parent b5f3ee7 commit ccefd86

File tree

3 files changed

+27
-4
lines changed

3 files changed

+27
-4
lines changed

static/css/techreport/techreport.css

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,7 +1510,7 @@ select {
15101510
margin-top: 0;
15111511
margin-bottom: 3rem;
15121512
background-color: transparent;
1513-
padding: 3rem 0 7rem 0;
1513+
padding: 3rem 0 3rem 0;
15141514
}
15151515

15161516
.intro h1 {
@@ -1600,6 +1600,18 @@ select {
16001600
color: inherit;
16011601
}
16021602

1603+
.caveats {
1604+
border: none;
1605+
margin-top: 0;
1606+
margin-bottom: 1rem;
1607+
background-color: transparent;
1608+
padding: 0rem 0 3rem 0;
1609+
}
1610+
1611+
.caveats p {
1612+
font-size: 0.9em;
1613+
}
1614+
16031615
.page-content {
16041616
display: block;
16051617
position: relative;
@@ -1617,7 +1629,7 @@ select {
16171629
}
16181630

16191631
.data-sections > div:first-of-type {
1620-
margin-top: -10rem;
1632+
margin-top: -6rem;
16211633
}
16221634

16231635
.report-section {

templates/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ <h2>
5757
<div class="container">
5858
<div class="row">
5959

60-
<div class="col-lg-6 col-sm-6 col-md-6 hidden-xs">
60+
<div class="col-lg-5 col-sm-6 col-md-6 hidden-xs">
6161
<a href="/reports/techreport/landing">
6262
<img src="/static/img/web-vitals.png" width="471" height="367" alt="Explore the Core Web Vitals Tech Report" loading="lazy" />
6363
</a>
@@ -96,7 +96,7 @@ <h2>
9696

9797
</div>
9898

99-
<div class="col-lg-6 col-sm-6 col-md-6 hidden-xs">
99+
<div class="col-lg-5 col-sm-6 col-md-6 hidden-xs">
100100
<a href="https://har.fyi/guides/getting-started/">
101101
<img src="/static/img/data.png" width="466" height="367" alt="Learn more about HTTP Archive on BigQuery" loading="lazy" />
102102
</a>

templates/techreport/landing.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,15 @@ <h2><a href="/reports/techreport/category?category=CMS">Category info</a></h2>
3838
</div>
3939
</div>
4040
</div>
41+
42+
<div class="caveats block-m" id="caveats">
43+
<div>
44+
<h2>
45+
<a href="#caveats" class="anchor">A note of caution</a>
46+
</h2>
47+
<p>
48+
<em>Web performance is based on a large number of factors and correlation does not equal causation. A technology being highly correlated with good (or poor) performance does not necessarily indicate that technology is the cause of that performance. Those technologies may be used on simpler or more complex sites, or in popular third-party components that may be more or less performant. We hope this data serves as an interesting jumping off point for delving into, and discussing, why the stats are the way they are rather than as a definitve grading of the technology.</em>
49+
</p>
50+
</div>
51+
</div>
4152
{% endblock %}

0 commit comments

Comments
 (0)