base.html 1.79 KB
Newer Older
1 2 3 4 5 6
{% load i18n %}
{% load staticfiles %}
{% get_current_language as LANGUAGE_CODE %}
<html>
<head>
  <meta charset="utf-8">
7
  <title>{% block title %}{% endblock %} | CIRCLE</title>
8 9 10 11 12 13 14 15 16 17 18 19 20
  <meta name="description" content="">
  <meta name="author" content="">

  <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
  <link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
<style type="text/css">
    html, body {
      background-color: #eee;
    }
    body {
      margin-top: 40px; 
    }
    .container {
21
      width: 600px;
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
    }

    ul, li {
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .container > .content {
      background-color: #fff;
      padding: 20px;
      -webkit-border-radius: 10px 10px 10px 10px;
         -moz-border-radius: 10px 10px 10px 10px;
              border-radius: 10px 10px 10px 10px;
      -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15);
         -moz-box-shadow: 0 1px 2px rgba(0,0,0,.15);
              box-shadow: 0 1px 2px rgba(0,0,0,.15);
    }
40 41 42 43 44
  
    .login-form-errors .alert {
      margin-right: 30px;
      margin-left: 30px;
    }
45 46

    .login-form {
47
      margin-top: 40px;
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
      padding: 0 10px;
    }

    .login-form form {
      padding: 0 20px;
    }

    .input-group {
      margin-bottom: 10px;
    }
    
    .input-group-addon {
      width: 38px;
    }

63 64 65 66 67 68 69 70
    .form-group label {
      margin-top: 20px;
    }

    #submit-password-button {
      margin-top: 15px;
    }

71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
    /* fix for crispy-forms' html */
    .form-group {
      margin-bottom: 0px;
    }

    .help-block {
      display: none;
    }
  </style>
</head>
<body>
  <div class="container">
    <div class="content">
      {% block content %}{% endblock %}
    </div>
  </div> <!-- /container -->
</body>
</html>