Skip to content

Commit 7a9b47f

Browse files
author
Alban Bailly
committed
fix merge conflicts and error in template
1 parent fef56c7 commit 7a9b47f

File tree

6 files changed

+138
-33
lines changed

6 files changed

+138
-33
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{{ partial "0_utilities/htmlHead.html" . }}
2+
3+
{{ if .Site.Params.dev.enable}}
4+
{{ partial "1_atoms/cssinfo.html" . }}
5+
{{ end }}
6+
7+
<div class="content">
8+
<div class="header-wrapper bg-light-black">
9+
<header class="header max-w-4xl mx-auto p-4 flex flex-wrap items-center justify-between">
10+
{{ block "header" . }}
11+
{{ partial "3_organisms/header.html" . }}
12+
{{ end }}
13+
</header>
14+
</div>
15+
16+
<div class="main-wrapper max-w-4xl mx-auto p-4">
17+
<main class="main">
18+
{{ block "main" . }}
19+
{{ partial "3_organisms/content.html" . }}
20+
{{ end }}
21+
</main>
22+
</div>
23+
24+
<div class="footer-nav-wrapper mx-auto p-4 items-center justify-between">
25+
<div class="footer-nav">
26+
{{ block "footer-nav" . }}
27+
{{ partial "3_organisms/footer-nav.html" . }}
28+
{{ end }}
29+
</div>
30+
</div>
31+
</div>
32+
33+
<div class="footer-wrapper bg-black">
34+
<footer class="footer max-w-4xl mx-auto py-8 px-4 text-white">
35+
{{ block "footer" . }}
36+
{{ partial "3_organisms/footer.html" . }}
37+
{{ end }}
38+
</footer>
39+
</div>
40+
41+
{{ partial "0_utilities/scripts.html" . }}
42+
{{ partial "0_utilities/htmlFoot.html" . }}

themes/linode-hugo-base-theme/layouts/partials/3_organisms/footer-nav.html renamed to themes/dlc/layouts/partials/3_organisms/footer-nav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ <h5><a href="https://linode.com/about">Company</a></h5>
3434
<h5><a href="https://linode.com/agreement">Legal</a></h5>
3535
<ul>
3636
<li><a href="https://linode.com/agreement">Customer Agreement</a></li>
37-
<li><a href=https://linode.com"/tos">Terms of Service</a></li>
37+
<li><a href="https://linode.com/tos">Terms of Service</a></li>
3838
<li><a href="https://linode.com/privacy">Privacy Policy</a></li>
3939
<li><a href="https://linode.com/aup">Acceptable Use Policy</a></li>
4040
</ul>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<div class="container mx-auto max-w-xl">
2+
<div class="flex -mx-2">
3+
<div class="w-1/3 px-2 text-center">
4+
<div class="h-12">
5+
&copy; {{ now.Year }} Linode, LLC
6+
</div>
7+
</div>
8+
<div class="w-1/3 px-2 text-center">
9+
<div class="h-12">
10+
<a href="https://www.linode.com/security" target="_blank">Security</a>
11+
</div>
12+
</div>
13+
<div class="w-1/3 px-2 text-center">
14+
<div class="h-12">
15+
<a href="https://www.linode.com/compliance" target="_blank">Standards &amp; Compliance</a>
16+
</div>
17+
</div>
18+
</div>
19+
</div>

themes/dlc/static/assets/css/main.css

Lines changed: 75 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<<<<<<< HEAD
21
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
32

43
/* Document
@@ -382,6 +381,7 @@ html {
382381
h1,
383382
h2,
384383
h3,
384+
h5,
385385
p {
386386
margin: 0;
387387
}
@@ -484,6 +484,34 @@ button,
484484
cursor: pointer;
485485
}
486486

487+
.container {
488+
width: 100%;
489+
}
490+
491+
@media (min-width: 576px) {
492+
.container {
493+
max-width: 576px;
494+
}
495+
}
496+
497+
@media (min-width: 768px) {
498+
.container {
499+
max-width: 768px;
500+
}
501+
}
502+
503+
@media (min-width: 992px) {
504+
.container {
505+
max-width: 992px;
506+
}
507+
}
508+
509+
@media (min-width: 1200px) {
510+
.container {
511+
max-width: 1200px;
512+
}
513+
}
514+
487515
.bg-black {
488516
background-color: #22292f;
489517
}
@@ -544,6 +572,16 @@ button,
544572
justify-content: space-between;
545573
}
546574

575+
.flex-1 {
576+
-webkit-box-flex: 1;
577+
-ms-flex: 1;
578+
flex: 1;
579+
}
580+
581+
.h-12 {
582+
height: 3rem;
583+
}
584+
547585
.h-full {
548586
height: 100%;
549587
}
@@ -582,6 +620,10 @@ button,
582620
max-width: 50rem;
583621
}
584622

623+
.max-w-xl {
624+
max-width: 60rem;
625+
}
626+
585627
.max-w-2xl {
586628
max-width: 70rem;
587629
}
@@ -590,6 +632,11 @@ button,
590632
max-width: 90rem;
591633
}
592634

635+
.-mx-2 {
636+
margin-left: -0.5rem;
637+
margin-right: -0.5rem;
638+
}
639+
593640
.-mx-4 {
594641
margin-left: -1rem;
595642
margin-right: -1rem;
@@ -603,6 +650,11 @@ button,
603650
padding: 2rem;
604651
}
605652

653+
.px-2 {
654+
padding-left: .5rem;
655+
padding-right: .5rem;
656+
}
657+
606658
.px-4 {
607659
padding-left: 1rem;
608660
padding-right: 1rem;
@@ -625,6 +677,10 @@ button,
625677
text-align: center;
626678
}
627679

680+
.text-right {
681+
text-align: right;
682+
}
683+
628684
.text-white {
629685
color: #fff;
630686
}
@@ -639,6 +695,18 @@ button,
639695
white-space: nowrap;
640696
}
641697

698+
.w-1\/3 {
699+
width: 33.33333%;
700+
}
701+
702+
.w-1\/4 {
703+
width: 25%;
704+
}
705+
706+
.w-3\/4 {
707+
width: 75%;
708+
}
709+
642710
.w-full {
643711
width: 100%;
644712
}
@@ -677,7 +745,8 @@ body {
677745

678746
h1,
679747
h2,
680-
h3 {
748+
h3,
749+
h5 {
681750
font-family: Lato, sans-serif;
682751
font-weight: var(--heading-font-weight);
683752
line-height: var(--heading-line-height);
@@ -708,6 +777,10 @@ h3 {
708777
font-size: var(--h3);
709778
}
710779

780+
h5 {
781+
font-size: var(--h5);
782+
}
783+
711784
a {
712785
color: #1ab15c;
713786
text-decoration: none;
@@ -871,6 +944,3 @@ a.active {
871944
width: 33.33333%;
872945
}
873946
}
874-
=======
875-
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;line-height:1.15}body{margin:0}h1{font-size:2em;margin:.67em 0}main{display:block}a{-webkit-text-decoration-skip:objects;background-color:transparent}img{border-style:none}/* 1 */ [type=reset],[type=submit],html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}[type=checkbox],[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/* 1 */[hidden]{display:none}html{-webkit-box-sizing:border-box;box-sizing:border-box;font-family:sans-serif}*,:after,:before{-webkit-box-sizing:inherit;box-sizing:inherit}h1,h2,h3,p{margin:0}[tabindex="-1"]:focus{outline:none!important}*,:after,:before{border:0 solid #dae1e7}img{border-style:solid}[type=button],[type=reset],[type=submit]{border-radius:0}img{max-width:100%}[role=button]{cursor:pointer}.container{width:100%}@media (min-width:576px){.container{max-width:576px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:992px){.container{max-width:992px}}@media (min-width:1200px){.container{max-width:1200px}}.flex{display:-webkit-box;display:-ms-flexbox;display:flex}.h-12{height:3rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-4{margin-bottom:1rem}.max-w-xl{max-width:60rem}.p-4{padding:1rem}.text-center{text-align:center}.text-right{text-align:right}.w-1{width:.25rem}.w-3{width:.75rem}.w-full{width:100%}
876-
>>>>>>> Design of changelog page

themes/linode-hugo-base-theme/layouts/_default/baseof.html

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,6 @@
2020
{{ end }}
2121
</main>
2222
</div>
23-
24-
<div class="footer-nav-wrapper mx-auto p-4 items-center justify-between">
25-
<div class="footer-nav">
26-
{{ block "footer-nav" . }}
27-
{{ partial "3_organisms/footer-nav.html" . }}
28-
{{ end }}
29-
</div>
30-
</div>
3123
</div>
3224

3325
<div class="footer-wrapper bg-black">
Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1 @@
1-
<div class="container mx-auto max-w-xl">
2-
<div class="flex -mx-2">
3-
<div class="w-1/3 px-2 text-center">
4-
<div class="h-12">
5-
&copy; {{ now.Year }} Linode, LLC
6-
</div>
7-
</div>
8-
<div class="w-1/3 px-2 text-center">
9-
<div class="h-12">
10-
<a href="https://www.linode.com/security" target="_blank">Security</a>
11-
</div>
12-
</div>
13-
<div class="w-1/3 px-2 text-center">
14-
<div class="h-12">
15-
<a href="https://www.linode.com/compliance" target="_blank">Standards &amp; Compliance</a>
16-
</div>
17-
</div>
18-
</div>
19-
</div>
1+
&copy; {{ now.Year }} {{ .Site.Title }}

0 commit comments

Comments
 (0)