From 33c56b8890add67ad6e677fe890f8e6fe8ec339b Mon Sep 17 00:00:00 2001 From: ARvind Tiwari Date: Thu, 27 Jul 2017 18:35:17 +0530 Subject: [PATCH] why datacenterlight page, 'we bring the future' section layout changed to flex and mobile layout fixed --- .../datacenterlight/css/landing-page.css | 45 ++++++++++++++++--- .../datacenterlight/whydatacenterlight.html | 45 +++++++++---------- 2 files changed, 59 insertions(+), 31 deletions(-) diff --git a/datacenterlight/static/datacenterlight/css/landing-page.css b/datacenterlight/static/datacenterlight/css/landing-page.css index 163ffd0e..ac2bd320 100755 --- a/datacenterlight/static/datacenterlight/css/landing-page.css +++ b/datacenterlight/static/datacenterlight/css/landing-page.css @@ -664,9 +664,14 @@ tech-sub-sec h2 { } .space-middle{ padding: 45px 0; + display: inline-block; +} +.ssdimg { + vertical-align: middle; + display: inline-block; } .padding-vertical{ - padding: 35px 0; + padding: 30px 9px; } .percent-text img { margin-left:20px; @@ -895,7 +900,7 @@ color: #eb4d5c; } @media(max-width:767px) { .percent-text { - font-size: 50px; + /* font-size: 50px; */ } #tech_stack h3 { font-size: 30px; @@ -965,11 +970,12 @@ color: #eb4d5c; @media(max-width:768px) { .percent-text { - font-size: 43px; + /* font-size: 43px; */ } .tech-sub-sec h2 { - font-size: 30px; -line-height: 40px; + /* font-size: 30px; */ + /* line-height: 40px; */ + /* font-weight: 500; */ } .single-heading h2 { font-size: 50px; @@ -1163,7 +1169,7 @@ line-height: 40px; padding: 30px; } .percent-text { - text-align: center; + /* text-align: center; */ } .pricing-section .card { width: 90%; @@ -1293,3 +1299,30 @@ a#forgotpassword { .error-message-box{ margin-top: 20px; } + +.flex-row { + margin-top: 25px; +} + +@media (min-width: 768px) { + .flex-row { + display: flex; + align-items: center; + justify-content: space-between; + } + .flex-row .percent-text { + flex-shrink : 0; + padding: 0 15px; + } + .flex-row .percent-text, + .flex-row .desc-text { + max-width: 600px; + } + .flex-row-rev .percent-text { + order: 2; + } +} + +.w380 { + max-width: 380px !important; +} \ No newline at end of file diff --git a/datacenterlight/templates/datacenterlight/whydatacenterlight.html b/datacenterlight/templates/datacenterlight/whydatacenterlight.html index 948a51b2..f080963d 100644 --- a/datacenterlight/templates/datacenterlight/whydatacenterlight.html +++ b/datacenterlight/templates/datacenterlight/whydatacenterlight.html @@ -64,7 +64,7 @@ Tayga {% trans "Our NAT64 gateway" %} - + @@ -98,30 +98,25 @@
-
-
-
-

{% trans "We bring the future to you." %}

-
-
-

{% blocktrans %} Data Center Light uses the most modern technologies out there.
- Your VM needs only IPv6. Data Center Light provides
transparent two-way IPv6/IPv4 translation. - {% endblocktrans %}

-
-
- 100% IPv6 -
+
+

{% trans "We bring the future to you." %}

+
+
+
+ 100% IPv6
-
-
-
- 100% SSD SSD -
-
-
-

{% blocktrans %} No more spinning metal plates! Data Center Light uses only SSDs. We keep things faster and lighter. {% endblocktrans %}

-
-
+
+

{% blocktrans %} Data Center Light uses the most modern technologies out there.
+ Your VM needs only IPv6. Data Center Light provides
transparent two-way IPv6/IPv4 translation. + {% endblocktrans %}

+
+
+
+
+ 100% SSD SSD +
+
+

{% blocktrans %} No more spinning metal plates! Data Center Light uses only SSDs. We keep things faster and lighter. {% endblocktrans %}

@@ -154,6 +149,6 @@
- + {% endblock %}