- Лил Скул для меня это место, где Солнце может быть синего цвета.
+ Лил Скул для меня это место,
где Солнце может быть синего цвета.
Злата Пыльцина, 7 лет. Город Волгоград.
diff --git a/project/templates/lilcity/home.html b/project/templates/lilcity/home.html
index f9173e21..95a74083 100644
--- a/project/templates/lilcity/home.html
+++ b/project/templates/lilcity/home.html
@@ -10,6 +10,14 @@
{% endif %}
{% endblock ogdescription %}
+{% block head %}
+
+{% endblock head %}
+
{% block title %}Lil School{% endblock title %}
{% block body_attr %}class="main-page"{% endblock body_attr %}
{% block content %}
diff --git a/project/utils/db.py b/project/utils/db.py
index 4a31f79a..eb772fb8 100644
--- a/project/utils/db.py
+++ b/project/utils/db.py
@@ -1,5 +1,28 @@
from django.db.models.base import ModelBase
from django.db import connection
+from django.db import models
+from django.db.models.fields.files import ImageFieldFile
+
+
+class SafeImageFieldFile(ImageFieldFile):
+
+ @property
+ def width(self):
+ try:
+ return self.width
+ except:
+ return None
+
+ @property
+ def height(self):
+ try:
+ return self.height
+ except:
+ return None
+
+
+class SafeImageField(models.ImageField):
+ attr_class = SafeImageFieldFile
class ModelFieldsNames(object):
diff --git a/web/src/img/girl-brushes.png b/web/src/img/girl-brushes.png
new file mode 100644
index 00000000..5517a769
Binary files /dev/null and b/web/src/img/girl-brushes.png differ
diff --git a/web/src/img/uni_mitsubishi.png b/web/src/img/uni_mitsubishi.png
new file mode 100644
index 00000000..be1663fd
Binary files /dev/null and b/web/src/img/uni_mitsubishi.png differ
diff --git a/web/src/sass/_common.sass b/web/src/sass/_common.sass
index 63c0801b..e1e05105 100755
--- a/web/src/sass/_common.sass
+++ b/web/src/sass/_common.sass
@@ -1158,12 +1158,14 @@ a[name]
padding-bottom: 0
&_students &__column_img
- background-image: url(/static/img/zlata.png)
+ background-image: url(/static/img/girl-brushes.png)
height: 400px
background-position: bottom center
+ z-index: -1
+m
- height: auto
+ flex: 195px
+ background-size: 225px
&_students &__center:nth-child(1)
+m
@@ -1174,11 +1176,17 @@ a[name]
+m
margin-top: 0
+ flex-direction: column-reverse
&_students &__center:nth-child(2) &__column_text
+m
padding: 0 0 0 10px
+ &_students .btn
+ width: auto
+ +m
+ width: 225px
+
&_course .go
flex-wrap: wrap
@@ -1190,6 +1198,7 @@ a[name]
+m
font-size: 14px
+ padding: 55px 35px 100px 150px
&:before
background-image: url(/static/img/bubble-icon.svg?196dc3af196a)
@@ -1199,16 +1208,18 @@ a[name]
width: 100%
height: 80%
content: ' '
- left: -2%
+ left: 0
top: -3%
z-index: -1
+m
- width: 90%;
- left: 15%
+ width: 73%
+ left: 20%
top: 10%
& &-text
margin-bottom: 20px
+ +m
+ margin-bottom: 15px
& &-name
text-decoration: underline