diff options
author | Jayaram Pai | 2013-11-19 20:53:22 +0530 |
---|---|---|
committer | Jayaram Pai | 2013-11-19 20:53:22 +0530 |
commit | e6cfe081cdbedfe8ef71061240cc68f082c1a3ac (patch) | |
tree | d332c7dcacc52d676c784428ab5f239b46b91679 | |
parent | e07683df4cdddfa3524be81bef80f3f8d8cc9ce2 (diff) | |
download | SciPy2013-e6cfe081cdbedfe8ef71061240cc68f082c1a3ac.tar.gz SciPy2013-e6cfe081cdbedfe8ef71061240cc68f082c1a3ac.tar.bz2 SciPy2013-e6cfe081cdbedfe8ef71061240cc68f082c1a3ac.zip |
shifted ielt9 css to overide.css
-rw-r--r-- | website/static/css/override.css | 85 | ||||
-rw-r--r-- | website/templates/index.html | 11 |
2 files changed, 87 insertions, 9 deletions
diff --git a/website/static/css/override.css b/website/static/css/override.css index 8720fd3..bd53a55 100644 --- a/website/static/css/override.css +++ b/website/static/css/override.css @@ -28,6 +28,91 @@ .breadcrumbs .current a{ color: #ffffff; } +/* The Grid ---------------------- */ +.lt-ie9 .row { width: 940px; max-width: 100%; min-width: 768px; margin: 0 auto; } +.lt-ie9 .row .row { width: auto; max-width: none; min-width: 0; margin: 0 -15px; } +.lt-ie9 .row.large-collapse .column, +.lt-ie9 .row.large-collapse .columns { padding: 0; } +.lt-ie9 .row .row { width: auto; max-width: none; min-width: 0; margin: 0 -15px; } +.lt-ie9 .row .row.large-collapse { margin: 0; } + + .lt-ie9 .column, .lt-ie9 .columns { float: left; min-height: 1px; padding: 0 15px; position: relative; } + .lt-ie9 .column.large-centered, .columns.large-centered { float: none; margin: 0 auto; } + + .lt-ie9 [class*="column"] + [class*="column"]:last-child { float: right; } + .lt-ie9 [class*="column"] + [class*="column"].end { float: left; } + + .lt-ie9 .large-1, + .lt-ie9 .row .large-1 { width: 8.33333%; } + + .lt-ie9 .large-2, + .lt-ie9 .row .large-2 { width: 16.66667%; } + + .lt-ie9 .large-3, + .lt-ie9 .row .large-3 { width: 25%; } + + .lt-ie9 .large-4, + .lt-ie9 .row .large-4 { width: 33.33333%; } + + .lt-ie9 .large-5, + .lt-ie9 .row .large-5 { width: 41.66667%; } + + .lt-ie9 .large-6, + .lt-ie9 .row .large-6 { width: 50%; } + + .lt-ie9 .large-7, + .lt-ie9 .row .large-7 { width: 58.33333%; } + + .lt-ie9 .large-8, + .lt-ie9 .row .large-8 { width: 66.66667%; } + + .lt-ie9 .large-9, + .lt-ie9 .row .large-9 { width: 75%; } + + .lt-ie9 .large-10, + .lt-ie9 .row .large-10 { width: 83.33333%; } + + .lt-ie9 .large-11, + .lt-ie9 .row .large-11 { width: 91.66667%; } + + .lt-ie9 .large-12, + .lt-ie9 .row .large-12 { width: 100%; } + + .lt-ie9 .row .large-offset-1 { margin-left: 8.33333%; } + .lt-ie9 .row .large-offset-2 { margin-left: 16.66667%; } + .lt-ie9 .row .large-offset-3 { margin-left: 25%; } + .lt-ie9 .row .large-offset-4 { margin-left: 33.33333%; } + .lt-ie9 .row .large-offset-5 { margin-left: 41.66667%; } + .lt-ie9 .row .large-offset-6 { margin-left: 50%; } + .lt-ie9 .row .large-offset-7 { margin-left: 58.33333%; } + .lt-ie9 .row .large-offset-8 { margin-left: 66.66667%; } + .lt-ie9 .row .large-offset-9 { margin-left: 75%; } + .lt-ie9 .row .large-offset-10 { margin-left: 83.33333%; } + + .lt-ie9 .pull-2 { right: 16.66667%; } + .lt-ie9 .pull-3 { right: 25%; } + .lt-ie9 .pull-4 { right: 33.33333%; } + .lt-ie9 .pull-5 { right: 41.66667%; } + .lt-ie9 .pull-6 { right: 50%; } + .lt-ie9 .pull-7 { right: 58.33333%; } + .lt-ie9 .pull-8 { right: 66.66667%; } + .lt-ie9 .pull-9 { right: 75%; } + .lt-ie9 .pull-10 { right: 83.33333%; } + + .lt-ie9 .push-2 { left: 16.66667%; } + .lt-ie9 .push-3 { left: 25%; } + .lt-ie9 .push-4 { left: 33.33333%; } + .lt-ie9 .push-5 { left: 41.66667%; } + .lt-ie9 .push-6 { left: 50%; } + .lt-ie9 .push-7 { left: 58.33333%; } + .lt-ie9 .push-8 { left: 66.66667%; } + .lt-ie9 .push-9 { left: 75%; } + .lt-ie9 .push-10 { left: 83.33333%; } + + /* Nicolas Gallagher's micro clearfix */ + .lt-ie9 .row { *zoom: 1; } + .lt-ie9 .row:before, .row:after { content: " "; display: table; } + .lt-ie9 .row:after { clear: both; } .lt-ie9 .top-bar { background: #2f2f2f; *zoom: 1; diff --git a/website/templates/index.html b/website/templates/index.html index 5784a1e..6541738 100644 --- a/website/templates/index.html +++ b/website/templates/index.html @@ -1,22 +1,15 @@ {% load static %} <!DOCTYPE html> -<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]--> +<!--[if lt IE 9]> <html class="no-js lt-ie9" lang="en"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> - <head> <meta charset="utf-8" /> <!-- ADD THIS LINE TO MAKE IT WORK --> - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" > + <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width" /> <title>Scipy India 2013 | IIT Bombay</title> - <!-- Foundation 3 for IE 8 and earlier --> - <!--[if lt IE 9]> - <link rel="stylesheet" href="{% static 'css/foundation3/foundation.css' %}"> - <link rel="stylesheet" href="{% static 'css/foundation3/app.css' %}"> - <![endif]--> - <!-- If you are using CSS version, only link these 2 files, you may add app.css to use for your overrides if you like. --> <link rel="stylesheet" href="{% static 'css/normalize.css' %}" /> <link rel="stylesheet" href="{% static 'css/foundation.css' %}" /> |