Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Changes for Sherman & Flexible post widget
Browse files Browse the repository at this point in the history
Small changes to font file and widget files
  • Loading branch information
Jessika Mika Caldera committed Jan 7, 2015
1 parent fc969b9 commit f48c27e
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 15 deletions.
23 changes: 12 additions & 11 deletions sass/fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,22 @@
- - - - - - - - - - - - - - - - - - - */
@font-face {
font-family: 'Proxima Nova';
src: url('../../global/fonts/proximanova_regular/ProximaNova-Reg-webfont.eot');
src: url('../../global/fonts/proximanova_regular/ProximaNova-Reg-webfont.eot?#iefix') format('embedded-opentype'),
url('../../global/fonts/proximanova_regular/ProximaNova-Reg-webfont.svg#proxima_nova_rgregular') format('svg'),
url('../../global/fonts/proximanova_regular/ProximaNova-Reg-webfont.woff') format('woff'),
url('../../global/fonts/proximanova_regular/ProximaNova-Reg-webfont.ttf') format('truetype');
src: url('#{$uc-font-path}/proximanova_regular/ProximaNova-Reg-webfont.eot');
src: url('#{$uc-font-path}/proximanova_regular/ProximaNova-Reg-webfont.eot?#iefix') format('embedded-opentype'),
url('#{$uc-font-path}/proximanova_regular/ProximaNova-Reg-webfont.svg#proxima_nova_rgregular') format('svg'),
url('#{$uc-font-path}/proximanova_regular/ProximaNova-Reg-webfont.woff') format('woff'),
url('#{$uc-font-path}/proximanova_regular/ProximaNova-Reg-webfont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Proxima Nova';
src: url('../../global/fonts/proximanova_semibold/ProximaNova-Sbold-webfont.eot');
src: url('../../global/fonts/proximanova_semibold/ProximaNova-Sbold-webfont.eot?#iefix') format('embedded-opentype'),
url('../../global/fonts/proximanova_semibold/ProximaNova-Sbold-webfont.svg#proxima_nova_ltsemibold') format('svg'),
url('../../global/fonts/proximanova_semibold/ProximaNova-Sbold-webfont.woff') format('woff'),
url('../../global/fonts/proximanova_semibold/ProximaNova-Sbold-webfont.ttf') format('truetype');
src: url('#{$uc-font-path}/proximanova_semibold/ProximaNova-Sbold-webfont.eot');
src: url('#{$uc-font-path}/proximanova_semibold/ProximaNova-Sbold-webfont.eot?#iefix') format('embedded-opentype'),
url('#{$uc-font-path}/proximanova_semibold/ProximaNova-Sbold-webfont.svg#proxima_nova_ltsemibold') format('svg'),
url('#{$uc-font-path}/proximanova_semibold/ProximaNova-Sbold-webfont.woff') format('woff'),
url('#{$uc-font-path}/proximanova_semibold/ProximaNova-Sbold-webfont.ttf') format('truetype');
font-weight: 500;
font-style: normal;
}
}

3 changes: 3 additions & 0 deletions sass/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
- - - - - - - - - - - - - - - - - - - */


$uc-font-path: "../../global/fonts" !default;


$contentBg: #fff;
$contentPadding: 1em;

Expand Down
14 changes: 11 additions & 3 deletions sass/widgets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@


}
* html .widget.widget_dpe_fp_widget .dpe-flexible-posts li a{
height:1%
}

/* Make sure select elements fit in widgets */
.widget select {
Expand Down Expand Up @@ -178,33 +181,38 @@
li{
padding: 0.1em 0px 0.1em 0px;
display:block;
background-color:transparent;
a{
margin:0;
position:relative;
display:block;
display:inline-block;
.attachment-thumbnail{
height: 60px;
width: 60px;
margin-right:10px;
margin-bottom:10px;
float:left;
}
.attachment-medium{
width:48%;
margin-right:10px;
margin-bottom:10px;
float:left;
}
.attachment-large{
width: 100%;
max-width:100%;
margin-right:10px;
margin-bottom:10px;
float:left;
clear:right;
}
.title{
display:block;
position:relative;
font-size: 1em;
font-weight: normal;
}
.title:after{
&:after{
visibility: hidden;
display: block;
font-size: 0;
Expand Down
2 changes: 1 addition & 1 deletion style.css

Large diffs are not rendered by default.

0 comments on commit f48c27e

Please sign in to comment.