Add more styles for overview page
This commit is contained in:
@@ -18,7 +18,11 @@ block content
|
|||||||
.quadrant-grid__quadrant
|
.quadrant-grid__quadrant
|
||||||
.quadrant-section
|
.quadrant-section
|
||||||
.quadrant-section__header
|
.quadrant-section__header
|
||||||
h4.headline= translate(quadrantName)
|
.split
|
||||||
|
.split__left
|
||||||
|
h4.headline= translate(quadrantName)
|
||||||
|
.split__right
|
||||||
|
a.icon-link(href='/') Quadrant Overview
|
||||||
.quadrant-section__rings
|
.quadrant-section__rings
|
||||||
each items, ringName in quadrant
|
each items, ringName in quadrant
|
||||||
.quadrant-section__ring
|
.quadrant-section__ring
|
||||||
|
|||||||
@@ -3,10 +3,10 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 0 15px;
|
padding: 0 15px;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
border-radius: 15px;
|
border-radius: 13px;
|
||||||
font-size: 14px;
|
font-size: 12px;
|
||||||
line-height: 30px;
|
line-height: 25px;
|
||||||
height: 30px;
|
height: 25px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
&--adopt {
|
&--adopt {
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
.headline {
|
.headline {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
color: var(--color-white);
|
color: var(--color-white);
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
.hero-headline {
|
.hero-headline {
|
||||||
font-size: 40px;
|
font-size: 38px;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
color: var(--color-white);
|
color: var(--color-white);
|
||||||
margin-bottom: 70px;
|
margin: 0 0 60px;
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
&__alt {
|
&__alt {
|
||||||
color: var(--color-gray-light);
|
color: var(--color-gray-light);
|
||||||
|
|||||||
26
styles/components/icon-link.css
Normal file
26
styles/components/icon-link.css
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
.icon-link {
|
||||||
|
display: inline-block;
|
||||||
|
position: relative;
|
||||||
|
text-decoration: none;
|
||||||
|
padding-left: 30px;
|
||||||
|
height: 25px;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 25px;
|
||||||
|
color: var(--color-gray-normal);
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: var(--color-white);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
width: 25px;
|
||||||
|
height: 25px;
|
||||||
|
/* TODO icon*/
|
||||||
|
background: var(--color-gray-normal);
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
}
|
||||||
8
styles/components/nav.css
Normal file
8
styles/components/nav.css
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
.nav {
|
||||||
|
&__item {
|
||||||
|
display: inline-block;
|
||||||
|
& + .nav__item {
|
||||||
|
margin-left: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,9 +1,10 @@
|
|||||||
.quadrant-grid {
|
.quadrant-grid {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
justify-content: space-between;
|
||||||
|
|
||||||
&__quadrant {
|
&__quadrant {
|
||||||
flex: 0 0 50%;
|
flex: 0 0 45%;
|
||||||
margin-bottom: 40px;
|
margin-bottom: 40px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,6 +5,6 @@
|
|||||||
&__item {
|
&__item {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
13
styles/components/split.css
Normal file
13
styles/components/split.css
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
.split {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
|
||||||
|
&__left {
|
||||||
|
flex: 0 1 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
&__right {
|
||||||
|
flex: 0 1 auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -10,7 +10,11 @@ html
|
|||||||
a.branding__logo(href='/')
|
a.branding__logo(href='/')
|
||||||
img(src='/assets/logo.svg')
|
img(src='/assets/logo.svg')
|
||||||
.branding__content
|
.branding__content
|
||||||
| How to Use Technology Radar?
|
.nav
|
||||||
|
.nav__item
|
||||||
|
a.icon-link(href='/') How to Use Technology Radar?
|
||||||
|
.nav__item
|
||||||
|
a.icon-link(href='/') Technologies Overview
|
||||||
.page__content
|
.page__content
|
||||||
block content
|
block content
|
||||||
block scripts
|
block scripts
|
||||||
|
|||||||
Reference in New Issue
Block a user