-
Overlay Color
+
+
+
Global Settings
+
+
+
+
+
Candidate Settings
+
+
Candidate
+
+ Select candidate face
+
+ Horizontal Position
+
+
+
+
+
+
+
+
+
+
+
+
Background Settings
+
+
+
+
+
+
+
Text Settings
+
+
Text
+
+
+
+
+ Include Quotes
+
+
+
Alignment
+
+ Select alignment
+
+
+
Vertical Position
+
+
+
Font
+
+ Select font
+
+
+
Font Color
+
+ Select font color
+
+
+
Font Size
+
+ Select font size
+
+
+
Line Height
+
+
+
+
+
+
+
+
+
+
+
Bottom Text Settings
+
+
Bottom Text (Bold)
+
+ Bottom Text
+
+ Font Size
+
+ Select font size
+
+ Vertical Position
+
+
+
+
+
Number Text Settings
+
+
Number Text
+
+ Vertical Position
+
+
+
+
+
Fact Checker Settings
+
+
Icons
+
+ Select fact checker icons
+
+ Vertical Position
+
diff --git a/source/partials/_head.html.erb b/source/partials/_head.html.erb
index 88245d1b..ccf40637 100644
--- a/source/partials/_head.html.erb
+++ b/source/partials/_head.html.erb
@@ -5,3 +5,4 @@
<%= current_page.data.title %>
<%= stylesheet_link_tag "main", {media: false} %>
+
\ No newline at end of file
diff --git a/source/stylesheets/FranklinCompITCStd-Bold.otf b/source/stylesheets/FranklinCompITCStd-Bold.otf
new file mode 100644
index 00000000..95c0cd44
Binary files /dev/null and b/source/stylesheets/FranklinCompITCStd-Bold.otf differ
diff --git a/source/stylesheets/FranklinCondITCStd-Bold.otf b/source/stylesheets/FranklinCondITCStd-Bold.otf
new file mode 100644
index 00000000..598754d6
Binary files /dev/null and b/source/stylesheets/FranklinCondITCStd-Bold.otf differ
diff --git a/source/stylesheets/FranklinITCProBold.ttf b/source/stylesheets/FranklinITCProBold.ttf
new file mode 100755
index 00000000..aba6756a
Binary files /dev/null and b/source/stylesheets/FranklinITCProBold.ttf differ
diff --git a/source/stylesheets/FranklinITCProLight.ttf b/source/stylesheets/FranklinITCProLight.ttf
new file mode 100755
index 00000000..2e89fbfb
Binary files /dev/null and b/source/stylesheets/FranklinITCProLight.ttf differ
diff --git a/source/stylesheets/FranklinITCProThin.ttf b/source/stylesheets/FranklinITCProThin.ttf
new file mode 100755
index 00000000..efe96ea2
Binary files /dev/null and b/source/stylesheets/FranklinITCProThin.ttf differ
diff --git a/source/stylesheets/PostoniStandard-Bold.otf b/source/stylesheets/PostoniStandard-Bold.otf
new file mode 100644
index 00000000..6631af25
Binary files /dev/null and b/source/stylesheets/PostoniStandard-Bold.otf differ
diff --git a/source/stylesheets/PostoniStandard-Bold_Italic.otf b/source/stylesheets/PostoniStandard-Bold_Italic.otf
new file mode 100644
index 00000000..c517da42
Binary files /dev/null and b/source/stylesheets/PostoniStandard-Bold_Italic.otf differ
diff --git a/source/stylesheets/PostoniStandard-Italic.otf b/source/stylesheets/PostoniStandard-Italic.otf
new file mode 100644
index 00000000..919e8a1b
Binary files /dev/null and b/source/stylesheets/PostoniStandard-Italic.otf differ
diff --git a/source/stylesheets/PostoniStandard-Regular.otf b/source/stylesheets/PostoniStandard-Regular.otf
new file mode 100644
index 00000000..2a15844b
Binary files /dev/null and b/source/stylesheets/PostoniStandard-Regular.otf differ
diff --git a/source/stylesheets/_fonts.scss b/source/stylesheets/_fonts.scss
index 8b137891..0d4858bf 100644
--- a/source/stylesheets/_fonts.scss
+++ b/source/stylesheets/_fonts.scss
@@ -1 +1,45 @@
+@font-face {
+ font-family: FranklinITCProBold;
+ src: url("FranklinITCProBold.ttf") format("opentype");
+}
+
+@font-face {
+ font-family: PostoniStandard-Regular;
+ src: url("PostoniStandard-Regular.otf") format("opentype");
+}
+
+@font-face {
+ font-family: PostoniStandard-Bold;
+ src: url("PostoniStandard-Bold.otf") format("opentype");
+}
+
+@font-face {
+ font-family: PostoniStandard-Italic;
+ src: url("PostoniStandard-Italic.otf") format("opentype");
+}
+
+@font-face {
+ font-family: PostoniStandard-Bold_Italic;
+ src: url("PostoniStandard-Bold_Italic.otf") format("opentype");
+}
+
+@font-face {
+ font-family: FranklinITCProLight;
+ src: url("FranklinITCProLight.ttf") format("opentype");
+}
+
+@font-face {
+ font-family: FranklinITCProThin;
+ src: url("FranklinITCProThin.ttf") format("opentype");
+}
+
+@font-face {
+ font-family: FranklinCompITCStd-Bold;
+ src: url("FranklinCompITCStd-Bold.otf") format("opentype");
+}
+
+@font-face {
+ font-family: FranklinCondITCStd-Bold;
+ src: url("FranklinCondITCStd-Bold.otf") format("opentype");
+}
diff --git a/source/stylesheets/modules/_forms.scss b/source/stylesheets/modules/_forms.scss
index c510b12d..3e2a16a0 100644
--- a/source/stylesheets/modules/_forms.scss
+++ b/source/stylesheets/modules/_forms.scss
@@ -6,11 +6,19 @@ form {
}
select,
- textarea,
input[type="text"],
- input[type="range"],
+ input[type="range"] {
+ margin-bottom: 1.25em;
+ width: 100%;
+ }
+
+ textarea {
+ margin-bottom: 0.25em;
+ width: 100%;
+ }
+
.checkbox-group {
- margin-bottom: 1.5em;
+ margin-bottom: 0.75em;
width: 100%;
}
@@ -22,12 +30,13 @@ form {
textarea,
input[type="text"] {
- border: 1px solid #efefef;
+ border: 1px solid #ccc;
outline: 0;
padding: 6px 5px;
+ @include transition (box-shadow ease-in-out 0.1s);
&:focus {
- border: 1px solid lighten($theme-color, 40);
+ box-shadow: 0 0 2px lighten($theme-color, 15);
}
}
diff --git a/source/stylesheets/modules/_m-canvas.scss b/source/stylesheets/modules/_m-canvas.scss
index b06b1136..cb0c2751 100644
--- a/source/stylesheets/modules/_m-canvas.scss
+++ b/source/stylesheets/modules/_m-canvas.scss
@@ -1,8 +1,24 @@
$m: '.m-canvas';
+.canvas-wrapper {
+ position: relative;
+ width: 66.67%;
+
+ @media screen and (max-width: 700px) {
+ width: 100%;
+ }
+}
+
#{$m} {
+ text-align: center;
@media screen and (min-width: 700px) {
- width: 70%;
+ position: fixed;
+ width: inherit;
+ max-width: 693px;
+ }
+
+ @media screen and (max-width: 700px) {
+ margin-top: 50px;
}
#{$m}__canvas {
@@ -13,7 +29,13 @@ $m: '.m-canvas';
}
}
- #{$m}__download a {
+ #{$m}__refresh,
+ #{$m}__download {
+ width: 49%;
+ display: inline-block;
+ }
+
+ #{$m}__refresh a {
background: $theme-color;
border: none;
border-radius: 5px;
@@ -23,10 +45,37 @@ $m: '.m-canvas';
line-height: 50px;
text-align: center;
text-decoration: none;
- @include transition (background-color ease-in-out 0.3s);
+ @include transition (background-color ease-in-out 0.1s);
&:hover {
- background: lighten($theme-color, 25);
+ background: lighten($theme-color, 5);
+ }
+
+ .fa-refresh {
+ position: relative;
+ padding-right: 3px;
+ }
+ }
+
+ #{$m}__download a {
+ background: #4D9E5C;
+ border: none;
+ border-radius: 5px;
+ color: #fff;
+ display: block;
+ font-weight: 700;
+ line-height: 50px;
+ text-align: center;
+ text-decoration: none;
+ @include transition (background-color ease-in-out 0.1s);
+
+ &:hover {
+ background: lighten(#4D9E5C, 5);
+ }
+
+ .fa-download {
+ position: relative;
+ padding-right: 3px;
}
}
diff --git a/source/stylesheets/modules/_m-editor.scss b/source/stylesheets/modules/_m-editor.scss
index 8c8f0a0b..9b551ab1 100644
--- a/source/stylesheets/modules/_m-editor.scss
+++ b/source/stylesheets/modules/_m-editor.scss
@@ -1,7 +1,7 @@
$m: '.m-editor';
#{$m} {
- margin-bottom: 30px;
+ margin-bottom: -30px;
@media screen and (min-width: 700px) {
@include box-sizing(border-box);
@@ -48,8 +48,71 @@ $m: '.m-editor';
display: none;
}
+ #image-remove {
+ background: $theme-color;
+ border: none;
+ border-radius: 5px;
+ color: #fff;
+ font-size: 0.8em;
+ display: block;
+ line-height: 35px;
+ text-align: center;
+ text-decoration: none;
+ margin-bottom: 15px;
+ @include transition (background-color ease-in-out 0.1s);
+
+ &:hover {
+ background: lighten($theme-color, 5);
+ }
+ }
+
+ // Sections
+ .editor-section-title {
+ background: #ccc;
+ margin-bottom: 0;
+ padding: 5px 10px;
+ position: relative;
+ }
+ .editor-section-title.closed:after {
+ content: '';
+ position: absolute;
+ width: 0;
+ height: 0;
+ border-left: 7px solid transparent;
+ border-right: 7px solid transparent;
+ border-top: 7px solid #4c4e4d;
+ right: 12px;
+ top: 14px;
+ }
+ .editor-section-title.opened:after {
+ content: '';
+ position: absolute;
+ width: 0;
+ height: 0;
+ border-left: 7px solid transparent;
+ border-right: 7px solid transparent;
+ border-bottom: 7px solid #4c4e4d;
+ right: 12px;
+ top: 14px;
+ }
+ .editor-section-title:hover {
+ cursor: pointer;
+ }
+ .editor-section {
+ background: #efefef;
+ padding: 15px 20px 10px 20px;
+ }
+ #candidate-section, #fact-checker-section {
+ display: none;
+ }
+
+ .extra-color {
+ display: none;
+ }
+
#{$m}__overlay {
display: none;
+ margin-bottom: 1em;
// Mini-clearfix:
&:before,
@@ -71,6 +134,7 @@ $m: '.m-editor';
float: left;
height: 20px;
line-height: 20px;
+ margin-bottom: 5px;
}
}
}
@@ -87,12 +151,95 @@ $m: '.m-editor';
outline: none;
text-align: center;
width: 30px;
+ border: 1px solid #333;
&:checked:before {
- content: 'x';
+ content: '\2718';
+ position: relative;
+ top: -1px;
color: white;
font-size: 18px;
- vertical-align: center;
+ }
+
+ &[value='gradient-left-right'] {
+ background: -webkit-linear-gradient(left, rgba(0,0,0,1.0), rgba(0,0,0,0.0));
+ background: -o-linear-gradient(right, rgba(0,0,0,1.0), rgba(0,0,0,0.0));
+ background: -moz-linear-gradient(right, rgba(0,0,0,1.0), rgba(0,0,0,0.0));
+ background: linear-gradient(to right, rgba(0,0,0,1.0), rgba(0,0,0,0.0));
+ }
+ &[value='gradient-right-left'] {
+ background: -webkit-linear-gradient(right, rgba(0,0,0,1.0), rgba(0,0,0,0.0));
+ background: -o-linear-gradient(left, rgba(0,0,0,1.0), rgba(0,0,0,0.0));
+ background: -moz-linear-gradient(left, rgba(0,0,0,1.0), rgba(0,0,0,0.0));
+ background: linear-gradient(to left, rgba(0,0,0,1.0), rgba(0,0,0,0.0));
+ }
+ &[value='gradient-top-bottom'] {
+ background: -webkit-linear-gradient(rgba(0,0,0,1.0), rgba(0,0,0,0.0));
+ background: -o-linear-gradient(rgba(0,0,0,1.0), rgba(0,0,0,0.0));
+ background: -moz-linear-gradient(rgba(0,0,0,1.0), rgba(0,0,0,0.0));
+ background: linear-gradient(rgba(0,0,0,1.0), rgba(0,0,0,0.0));
+ }
+ &[value='gradient-bottom-top'] {
+ background: -webkit-linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,1.0));
+ background: -o-linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,1.0));
+ background: -moz-linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,1.0));
+ background: linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,1.0));
+ }
+ &[value='gradient-middle-light-vertical'] {
+ background: -webkit-linear-gradient(rgba(0,0,0,1.0), rgba(0,0,0,0.0), rgba(0,0,0,1.0));
+ background: -o-linear-gradient(rgba(0,0,0,1.0), rgba(0,0,0,0.0), rgba(0,0,0,1.0));
+ background: -moz-linear-gradient(rgba(0,0,0,1.0), rgba(0,0,0,0.0), rgba(0,0,0,1.0));
+ background: linear-gradient(rgba(0,0,0,1.0), rgba(0,0,0,0.0), rgba(0,0,0,1.0));
+ }
+ &[value='gradient-middle-dark-vertical'] {
+ background: -webkit-linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,1.0), rgba(0,0,0,0.0));
+ background: -o-linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,1.0), rgba(0,0,0,0.0));
+ background: -moz-linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,1.0), rgba(0,0,0,0.0));
+ background: linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,1.0), rgba(0,0,0,0.0));
+ }
+ &[value='gradient-middle-light-horizontal'] {
+ background: -webkit-linear-gradient(left, rgba(0,0,0,1.0), rgba(0,0,0,0.0), rgba(0,0,0,1.0));
+ background: -o-linear-gradient(right, rgba(0,0,0,1.0), rgba(0,0,0,0.0), rgba(0,0,0,1.0));
+ background: -moz-linear-gradient(right, rgba(0,0,0,1.0), rgba(0,0,0,0.0), rgba(0,0,0,1.0));
+ background: linear-gradient(to right, rgba(0,0,0,1.0), rgba(0,0,0,0.0), rgba(0,0,0,1.0));
+ }
+ &[value='gradient-middle-dark-horizontal'] {
+ background: -webkit-linear-gradient(left, rgba(0,0,0,0.0), rgba(0,0,0,1.0), rgba(0,0,0,0.0));
+ background: -o-linear-gradient(right, rgba(0,0,0,0.0), rgba(0,0,0,1.0), rgba(0,0,0,0.0));
+ background: -moz-linear-gradient(right, rgba(0,0,0,0.0), rgba(0,0,0,1.0), rgba(0,0,0,0.0));
+ background: linear-gradient(to right, rgba(0,0,0,0.0), rgba(0,0,0,1.0), rgba(0,0,0,0.0));
+ }
+ }
+
+ #{$m}__score {
+ margin-bottom: 1em;
+
+ // Mini-clearfix:
+ &:before,
+ &:after {
+ content: " ";
+ display: table;
+ }
+ &:after {
+ clear: both;
+ }
+
+ ul {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+
+ label {
+ display: block;
+ float: left;
+ height: 20px;
+ line-height: 20px;
+ margin-right: 10px;
+
+ i {
+ font-size: 16px;
+ }
+ }
}
}
}
diff --git a/source/stylesheets/modules/_m-meme.scss b/source/stylesheets/modules/_m-meme.scss
index 591fd523..fa99e1ae 100644
--- a/source/stylesheets/modules/_m-meme.scss
+++ b/source/stylesheets/modules/_m-meme.scss
@@ -8,6 +8,7 @@ body {
#{$m} {
margin: 20px auto 50px;
max-width: 990px;
+ position: relative;
// Mini-clearfix:
&:before,