85 lines
1.6 KiB
CSS
85 lines
1.6 KiB
CSS
/* ============= WEB BROWSER RESETS ============ */
|
|
* { margin: 0; padding: 0; border: none }
|
|
*, *::before, *::after { box-sizing: border-box }
|
|
html { height: 100%; font-size: 100%; font: inherit; vertical-align: baseline;
|
|
scroll-behavior: smooth; scroll-padding-top: 20px }
|
|
body { max-width: 1920px; line-height: 1.5; margin-left: auto; margin-right: auto;
|
|
min-height: 100vh; text-rendering: optimizeSpeed }
|
|
img { width: 100%; height: auto; display: block }
|
|
h1, h2, h3, h4 { width: 100% }
|
|
input, button, textarea, select { font: inherit }
|
|
|
|
/* ================= ENDS ================ */
|
|
|
|
/* ==== Web page width ==== */
|
|
|
|
/* Desktops */
|
|
@media (min-width:768px) { body { padding: 4% 18% } }
|
|
|
|
|
|
/* Mobiles */
|
|
@media (max-width:767px) { body { padding: 12% 8% } }
|
|
|
|
|
|
/* ==== Headings ==== */
|
|
|
|
h1 {
|
|
font-family: 'Roboto', sans-serif;
|
|
font-size: 64px;
|
|
text-align: center;
|
|
letter-spacing: -1px;
|
|
margin-bottom: 64px;
|
|
}
|
|
|
|
h3 {
|
|
font-family: 'Roboto', sans-serif;
|
|
font-size: 28px;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
/* Paragraphs of text */
|
|
p {
|
|
font-family: 'Roboto', sans-serif;
|
|
font-size: 18px;
|
|
color: #696969;
|
|
line-height: 1.5
|
|
}
|
|
|
|
|
|
.bono {
|
|
background-color: #4081ec;
|
|
padding: 12px;
|
|
margin-bottom: 40px;
|
|
width: 220px
|
|
}
|
|
|
|
.edge {
|
|
background-color: #ffbb33;
|
|
padding: 12px;
|
|
margin-bottom: 40px;
|
|
width: 220px
|
|
}
|
|
|
|
.adam {
|
|
background-color: #f73345;
|
|
padding: 12px;
|
|
margin-bottom: 40px;
|
|
width: 220px
|
|
}
|
|
|
|
.larry {
|
|
background-color: #e0e0e0;
|
|
padding: 12px;
|
|
margin-bottom: 40px;
|
|
width: 220px
|
|
}
|
|
|
|
.bono h3,
|
|
.bono p,
|
|
.adam h3,
|
|
.adam p { color: #fff }
|
|
|
|
.edge h3,
|
|
.edge p,
|
|
.larry h3,
|
|
.larry p { color: #000 } |