From 5bb0d45cf9784bb5d4b88632655011a44923365a Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Wed, 9 Dec 2015 19:33:42 +0200 Subject: Details styling --- index.js | 6 ++++-- style.scss | 22 +++++++++++++++++----- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/index.js b/index.js index 631c12b..287c636 100644 --- a/index.js +++ b/index.js @@ -84,10 +84,12 @@ class IPAddress extends React.Component {
- Netmask: {this.getNetmask()} + {this.getNetmask()} + Netmask - Available addresses: {this.getCount()} + {this.getCount()} + Addresses
diff --git a/style.scss b/style.scss index 3695f5e..983c872 100644 --- a/style.scss +++ b/style.scss @@ -19,7 +19,7 @@ body { font-size: modular-scale(2); small { text-transform: uppercase; - color: #bbb; + color: #669; display: block; } } @@ -85,11 +85,23 @@ body { } } div.details { - span.label { - font-family: $lucida-grande; + span.netmask { + display: inline-block; } span.count { - margin-left: 2em; + display: inline-block; + margin-left: 3em; + } + span.value { + font-size: modular-scale(1); + } + span.label { + display: block; + font-family: $lucida-grande; + text-transform: uppercase; + font-size: modular-scale(2); + font-weight: bold; + color: #779; } } } @@ -97,7 +109,7 @@ body { footer { margin-top: 50px; text-align: center; - font-size: 0.7em; + font-size: modular-scale(-1); } } -- cgit v1.3.1