Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
Partners changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvislov committed Mar 4, 2013
1 parent 785d9cc commit 116c642
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 15 deletions.
Binary file removed app/assets/images/stars.jpg
Binary file not shown.
Binary file added app/assets/images/stars.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 23 additions & 5 deletions app/assets/stylesheets/custom/_sponsors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
.item {
margin-bottom: 25px;
position: relative;
height: 66px;
sup {
position: absolute;
top: 0;
Expand All @@ -84,17 +83,30 @@
width: 14px;
height: 14px;
background-repeat: no-repeat;
background-image: url(/assets/stars.jpg);
background-image: url(/assets/stars.png);
}
.sponsor-star.argentum {
background-position: 0 0;
}
.sponsor-star.gold {
background-position: 0 -14px;
}
.legend .sponsor-star {
position: relative;
top: 2px;
.sponsor-star.red {
background-position: 0 -28px;
}
.sponsor-star.violin {
background-position: 0 -42px;
}
.sponsor-star.green {
background-position: 0 -56px;
}
.legend {
font-size: 12px;
line-height: 18px;
.sponsor-star {
position: relative;
top: 3px;
}
}

// custom logo position
Expand All @@ -109,4 +121,10 @@
.hackday {
position: relative;
top: -4px;
}
.itmozg sup {
right: 90px !important;
}
.superjob sup {
right: 30px !important;
}
36 changes: 26 additions & 10 deletions app/views/layouts/web/shared/_sponsors.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,30 @@
%br
%br
%h4
Генеральный информацион-
Партнеры
.star-sponsors
.item
%a{:href => "http://mosaica.ru/", :target => "_blank"}
%img{:src => "/images/logo-mosaica.jpg", :width => 180, :height => 40, :alt => "Мозаика"}
%sup
%i.sponsor-star.red
.item.itmozg
%a{:href => "http://itmozg.ru/", :target => "_blank"}
%img{:src => "/images/logo-itmozg.jpg", :width => 136, :height => 112, :alt => "IT-mozg"}
%sup
%i.sponsor-star.violin
.item.superjob
%a{:href => "http://itmozg.ru/", :target => "_blank"}
%img{:src => "/images/logo-superjob.png", :width => 160, :height => 44, :alt => "SuperJob"}
%sup
%i.sponsor-star.green

.legend
%i.sponsor-star.red
— главный информационный партнер
%br
ный спонсор
%a{:href => "http://mosaica.ru/", :target => "_blank"}
%img{:src => "/images/logo-mosaica.jpg", :width => 240, :height => 54, :alt => "Мозаика"}
%br
%br
%br
%h4 HR-партнер
%a{:href => "http://itmozg.ru/", :target => "_blank"}
%img{:src => "/images/logo-itmozg.jpg", :width => 136, :height => 112, :alt => "Avito"}
%i.sponsor-star.violin
— генеральный HR-партнер
%br
%i.sponsor-star.green
— HR-партнер
Binary file added public/images/logo-superjob.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 116c642

Please sign in to comment.