From e9f058f919d3a5aa4d508ba2efa648d751161eaf Mon Sep 17 00:00:00 2001 From: Jack Pearkes Date: Mon, 28 Jul 2014 13:41:17 -0400 Subject: [PATCH] website: syntax highlight on homepage --- website/source/index.html.erb | 22 +++++++++++----------- website/source/stylesheets/_home.less | 5 +++++ website/source/stylesheets/main.css | 3 +++ 3 files changed, 19 insertions(+), 11 deletions(-) diff --git a/website/source/index.html.erb b/website/source/index.html.erb index aecfce1be..5d5f70cad 100644 --- a/website/source/index.html.erb +++ b/website/source/index.html.erb @@ -178,23 +178,23 @@
-

resource "aws_elb" "frontend" {

-

name = "frontend-load-balancer"

+

resource "aws_elb" "frontend" {

+

name = "frontend-load-balancer"

listener {

-

instance_port = 8000

-

instance_protocol = "http"

-

lb_port = 80

-

lb_protocol = "http"

+

instance_port = 8000

+

instance_protocol = "http"

+

lb_port = 80

+

lb_protocol = "http"

}

-

instances = ["${aws_instance.app.*.id}"]

+

instances = ["${aws_instance.app.*.id}"]

}

-

resource "aws_instance" "app" {

-

count = 5

+

resource "aws_instance" "app" {

+

count = 5

-

ami = "ami-043a5034"

-

instance_type = "m1.small"

+

ami = "ami-043a5034"

+

instance_type = "m1.small"

}

diff --git a/website/source/stylesheets/_home.less b/website/source/stylesheets/_home.less index f65e5d652..bb5d58a13 100755 --- a/website/source/stylesheets/_home.less +++ b/website/source/stylesheets/_home.less @@ -361,6 +361,11 @@ .txt-str { color: lighten(@green, 2%); } + + .txt-int { + color: lighten(@orange, 2%); + } + p{ margin-bottom: 2px; white-space: pre-wrap; diff --git a/website/source/stylesheets/main.css b/website/source/stylesheets/main.css index e745060e4..250f21dad 100644 --- a/website/source/stylesheets/main.css +++ b/website/source/stylesheets/main.css @@ -1354,6 +1354,9 @@ body.page-home #footer { #demos .terminals .terminal-item .terminal .terminal-window .txt-str { color: #64e86c; } +#demos .terminals .terminal-item .terminal .terminal-window .txt-int { + color: #e89264; +} #demos .terminals .terminal-item .terminal .terminal-window p { margin-bottom: 2px; white-space: pre-wrap;