More styles

This commit is contained in:
Tom Raithel
2017-02-11 12:04:52 +01:00
parent b73cc8896c
commit fc81624813
15 changed files with 117 additions and 41 deletions

View File

@@ -1,6 +1,6 @@
--- ---
title: "React 123" title: "This is a long title that may break design"
ring: trial ring: assess
--- ---
React blablab *React* - super "cool" React blablab *React* - super "cool"

View File

@@ -1,6 +1,6 @@
--- ---
title: "Vue 123" title: "Vue 123"
ring: adopt ring: assess
--- ---
Hier steht eine Einleitung über *React* - super "cool" Hier steht eine Einleitung über *React* - super "cool"

View File

@@ -0,0 +1,15 @@
---
title: "Something else"
ring: hold
---
Hier steht eine Einleitung über *React* - super "cool"
Hier noch ein [link](http://www.google.de) zu google
<!--except-->
Hier steht der Rest!
History
-------

View File

@@ -9,21 +9,24 @@ block content
span.hero-headline__alt span.hero-headline__alt
= ' ' = ' '
| March 2017 | March 2017
div div.quadrant-grid
//- //-
pre pre
= JSON.stringify(radar, 0, 2) = JSON.stringify(radar, 0, 2)
each quadrant, quadrantName in radar each quadrant, quadrantName in radar
.quadrant-section .quadrant-grid__quadrant
.quadrant-section__header .quadrant-section
h4= translate(quadrantName) .quadrant-section__header
.quadrant-section__lists h4.headline= translate(quadrantName)
each items, ringName in quadrant .quadrant-section__rings
.quadrant-section__list each items, ringName in quadrant
.ring-list .quadrant-section__ring
.ring-list__header .ring-list
span(class=`badge badge--${ringName}`) .ring-list__header
= ringName span(class=`badge badge--${ringName}`)
each item in items = ringName
a.ring-list__item(href='/' + quadrantName + '/' + item.name + '.html') each item in items
= item.attributes.title span.ring-list__item
a.link(href='/' + quadrantName + '/' + item.name + '.html')
= item.attributes.title

View File

@@ -1,5 +1,6 @@
:root { :root {
--color-gray-dark: #475157; --color-gray-dark: #475157;
--color-gray-normal: #979797;
--color-gray-light: #7D878D; --color-gray-light: #7D878D;
--color-white: #fff; --color-white: #fff;
--color-green: #5CB449; --color-green: #5CB449;
@@ -27,7 +28,8 @@ body {
padding: 0; padding: 0;
font-family: 'DIN'; font-family: 'DIN';
font-weight: normal; font-weight: normal;
font-size: 16px; font-size: 14px;
line-height: 1.5;
& h1 { & h1 {
color: blue; color: blue;

View File

@@ -1,10 +1,11 @@
.header { .branding {
margin: 40px 0 60px; margin: 40px 0;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between;
&__logo { &__logo {
flex: 1 0 auto; flex: 0 0 200px;
& img { & img {
display: block; display: block;
width: 150px; width: 150px;
@@ -12,8 +13,7 @@
} }
} }
&__nav { &__content {
flex: 0 0 auto; flex: 0 1 auto;
height: 20px;
} }
} }

View File

@@ -0,0 +1,4 @@
.footnote {
font-size: 12px;
color: var(--color-gray-normal);
}

View File

@@ -0,0 +1,5 @@
.headline {
color: var(--color-white);
font-size: 20px;
font-weight: normal;
}

View File

@@ -1,7 +1,8 @@
.hero-headline { .hero-headline {
font-size: 30px; font-size: 40px;
font-weight: 300; font-weight: 300;
color: var(--color-white); color: var(--color-white);
margin-bottom: 70px;
&__alt { &__alt {
color: var(--color-gray-light); color: var(--color-gray-light);

View File

@@ -0,0 +1,8 @@
.link {
color: var(--color-white);
text-decoration: none;
cursor: pointer;
&:hover {
text-decoration: underline;
}
}

View File

@@ -1,5 +1,22 @@
.page { .page {
width: 1200px; width: 1200px;
min-height: 100%;
margin: 0 auto; margin: 0 auto;
padding: 0 10px; padding: 0 10px;
display: flex;
flex-direction: column;
&__header {
flex: 0 0 auto;
margin-bottom: 20px;
}
&__content {
flex: 1 1 auto;
}
&__footer {
border-top: 1px solid var(--color-gray-normal);
flex: 0 0 auto;
}
} }

View File

@@ -0,0 +1,9 @@
.quadrant-grid {
display: flex;
flex-wrap: wrap;
&__quadrant {
flex: 0 0 50%;
margin-bottom: 40px;
}
}

View File

@@ -1,13 +1,14 @@
.quadrant-section { .quadrant-section {
&__header { &__header {
margin-bottom: 20px;
} }
&__lists { &__rings {
display: flex; display: flex;
} }
&__list { &__ring {
flex: 0 0 20%; padding: 0 8px;
flex: 0 0 25%;
} }
} }

View File

@@ -1,10 +1,10 @@
.ring-list { .ring-list {
&__header { &__header {
margin-bottom: 10px; margin-bottom: 20px;
} }
&__item { &__item {
font-size: 13px;
display: block; display: block;
color: var(--color-white);
margin-bottom: 10px; margin-bottom: 10px;
} }
} }

View File

@@ -5,12 +5,23 @@ html
link(rel='stylesheet', href='/styles.css') link(rel='stylesheet', href='/styles.css')
body body
.page .page
.header .page__header
a.header__logo(href='/') .branding
img(src='/assets/logo.svg') a.branding__logo(href='/')
.header__nav img(src='/assets/logo.svg')
| How to Use Technology Radar? .branding__content
| How to Use Technology Radar?
block content .page__content
block scripts block content
script(src='/bundle.js') block scripts
script(src='/bundle.js')
.page__footer
.branding
span.branding__logo
img(src='/assets/logo.svg')
.branding__content
span.footnote
| AOE is a leading provider of Enterprise Open Source web solutions.
| Using current agile development methods, more than 250+ developers
| and consultants in 8 global locations develop customized Open Source
| solutions for global companies and corporations.