2013-09-05 15:37:07 -04:00
|
|
|
a.loading-onebox {
|
|
|
|
background: {
|
|
|
|
image: image-url("spinner_96.gif");
|
|
|
|
position: 0;
|
|
|
|
size: 20px;
|
|
|
|
height: 25px;
|
|
|
|
repeat: no-repeat;
|
|
|
|
};
|
|
|
|
padding-left: 25px;
|
|
|
|
}
|
|
|
|
|
2013-11-13 23:10:47 -05:00
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
.onebox-result {
|
2015-08-19 13:27:17 -04:00
|
|
|
@include post-aside;
|
|
|
|
|
2014-01-27 17:58:53 -05:00
|
|
|
margin-top: 15px;
|
2017-02-08 20:11:19 -05:00
|
|
|
padding: 12px;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-0;
|
2013-09-05 15:37:07 -04:00
|
|
|
> .source {
|
2013-11-13 23:10:47 -05:00
|
|
|
margin-bottom: 12px;
|
2013-09-05 15:37:07 -04:00
|
|
|
margin-right: 10px;
|
|
|
|
display: block;
|
2014-05-06 01:50:51 -04:00
|
|
|
color: $primary;
|
2013-09-05 15:37:07 -04:00
|
|
|
position: relative;
|
2013-11-13 23:10:47 -05:00
|
|
|
height: 20px;
|
2013-09-05 15:37:07 -04:00
|
|
|
.info {
|
|
|
|
a {
|
|
|
|
color: black;
|
|
|
|
text-decoration: none;
|
2013-11-13 23:10:47 -05:00
|
|
|
padding-right: 10px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
position: absolute;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-0;
|
2013-09-05 15:37:07 -04:00
|
|
|
img.favicon {
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-02-26 17:15:57 -05:00
|
|
|
|
2014-03-06 01:14:51 -05:00
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
.onebox-result-body {
|
|
|
|
padding-top: 5px;
|
|
|
|
img {
|
2013-12-19 18:32:39 -05:00
|
|
|
max-height: 80%;
|
2014-01-02 06:15:47 -05:00
|
|
|
max-width: 25%;
|
|
|
|
height: auto;
|
2013-12-19 18:32:39 -05:00
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
h3, h4 {
|
2015-07-21 13:21:26 -04:00
|
|
|
margin: 0;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
code {
|
|
|
|
max-height: 400px;
|
|
|
|
}
|
|
|
|
.metrics {
|
|
|
|
clear: both;
|
|
|
|
padding-bottom: 25px;
|
|
|
|
.metric {
|
|
|
|
display: inline-block;
|
|
|
|
padding-left: 33px;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// RottenTomatoes Onebox
|
|
|
|
.onebox-result {
|
|
|
|
.onebox-result-body {
|
2013-12-19 18:32:39 -05:00
|
|
|
img.verdict {
|
|
|
|
float: none;
|
2013-09-05 15:37:07 -04:00
|
|
|
margin-right: 7px;
|
|
|
|
}
|
|
|
|
img.popcorn {
|
|
|
|
float: none;
|
|
|
|
margin-left: 20px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-01-27 17:58:53 -05:00
|
|
|
|
|
|
|
@mixin onebox-favicon($class, $image) {
|
|
|
|
&.#{$class} .source {
|
2015-08-19 01:02:01 -04:00
|
|
|
background: image-url("favicons/#{$image}.png") no-repeat;
|
2016-05-24 15:10:29 -04:00
|
|
|
background-size: 16px 16px;
|
2014-01-27 17:58:53 -05:00
|
|
|
padding-left: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
aside.onebox {
|
2017-11-01 06:14:00 -04:00
|
|
|
border: 5px solid $primary-low;
|
2018-01-09 13:00:32 -05:00
|
|
|
margin-bottom: 1em;
|
2014-01-27 17:58:53 -05:00
|
|
|
padding: 12px 25px 12px 12px;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-0;
|
2014-01-27 17:58:53 -05:00
|
|
|
|
|
|
|
header {
|
2017-01-15 01:11:43 -05:00
|
|
|
margin-bottom: 8px;
|
2014-01-27 17:58:53 -05:00
|
|
|
a[href] {
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2014-01-27 17:58:53 -05:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include onebox-favicon('stackexchange', 'stackexchange');
|
|
|
|
@include onebox-favicon('twitterstatus', 'twitter');
|
|
|
|
@include onebox-favicon('wikipedia', 'wikipedia');
|
|
|
|
@include onebox-favicon('githubblob', 'github');
|
2015-03-10 10:22:29 -04:00
|
|
|
@include onebox-favicon('githubcommit', 'github');
|
|
|
|
@include onebox-favicon('githubpullrequest', 'github');
|
|
|
|
@include onebox-favicon('githubissue', 'github');
|
|
|
|
@include onebox-favicon('githubgist', 'github');
|
2014-02-21 16:10:20 -05:00
|
|
|
@include onebox-favicon('amazon', 'amazon');
|
2018-03-18 11:52:05 -04:00
|
|
|
@include onebox-favicon('instagram', 'instagram');
|
2016-08-10 08:25:04 -04:00
|
|
|
@include onebox-favicon('googledocs', 'google_branding/logo_drive_48px');
|
2014-01-27 17:58:53 -05:00
|
|
|
|
|
|
|
|
|
|
|
.onebox-body {
|
|
|
|
clear: both;
|
|
|
|
|
2014-02-26 19:13:36 -05:00
|
|
|
h3, h4 {
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-up-1;
|
2017-01-02 05:22:57 -05:00
|
|
|
margin: 0 0 10px 0;
|
2014-01-27 17:58:53 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
a[href] {
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($tertiary, $tertiary);
|
2014-01-27 17:58:53 -05:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
a[href]:visited {
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($tertiary, $tertiary);
|
2014-01-27 17:58:53 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
2017-01-03 10:36:49 -05:00
|
|
|
max-height: 170px;
|
2015-04-13 22:32:01 -04:00
|
|
|
max-width: 20%;
|
2017-11-17 16:57:25 -05:00
|
|
|
@media all and (max-width: 600px) {
|
|
|
|
max-width: 35%;
|
|
|
|
}
|
2014-01-27 17:58:53 -05:00
|
|
|
height: auto;
|
2017-05-12 13:21:20 -04:00
|
|
|
width: auto;
|
2014-01-27 17:58:53 -05:00
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
2017-11-27 20:32:35 -05:00
|
|
|
&.onebox-full-image {
|
|
|
|
max-height: none;
|
|
|
|
max-width: none;
|
|
|
|
width: initial;
|
|
|
|
height: initial;
|
|
|
|
}
|
2014-01-27 17:58:53 -05:00
|
|
|
}
|
2016-05-11 16:11:26 -04:00
|
|
|
|
2017-10-30 22:50:44 -04:00
|
|
|
[style*="--aspect-ratio"] > :first-child {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
[style*="--aspect-ratio"] > img {
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
// this allows us to load all onebox images without jiggle
|
|
|
|
// see: http://cssmojo.com/aspect-ratio-using-custom-properties-and-calc/
|
|
|
|
@supports (--custom:property) {
|
|
|
|
|
|
|
|
.aspect-image {
|
|
|
|
max-height: 170px;
|
2017-11-22 22:45:46 -05:00
|
|
|
--magic-ratio: calc(var(--aspect-ratio) + 0.15);
|
|
|
|
width: calc(128px * var(--magic-ratio));
|
2017-10-30 22:50:44 -04:00
|
|
|
max-width: 20%;
|
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
|
|
|
height: auto;
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
height: inherit;
|
|
|
|
max-width: initial;
|
|
|
|
max-height: initial;
|
|
|
|
float: none;
|
|
|
|
margin-right: none;
|
|
|
|
}
|
|
|
|
}
|
2018-03-21 16:00:05 -04:00
|
|
|
|
|
|
|
// full size images for instagram, twitter, etc.
|
|
|
|
.aspect-image-full-size {
|
|
|
|
max-height: 500px;
|
|
|
|
width: calc(500px * var(--aspect-ratio));
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
height: inherit;
|
|
|
|
max-width: initial;
|
|
|
|
max-height: initial;
|
|
|
|
float: none;
|
|
|
|
padding: 5px 5px 5px 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-30 22:50:44 -04:00
|
|
|
[style*="--aspect-ratio"] {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
[style*="--aspect-ratio"]::before {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
padding-bottom: calc(100% / (var(--aspect-ratio)));
|
|
|
|
}
|
|
|
|
[style*="--aspect-ratio"] > :first-child {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-16 18:39:46 -05:00
|
|
|
// tighten bottom margin on last para
|
|
|
|
p:last-child {
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// twitter fixes
|
2016-05-11 16:11:26 -04:00
|
|
|
.tweet-images {
|
|
|
|
display: block;
|
|
|
|
clear: both;
|
|
|
|
|
|
|
|
img.tweet-image {
|
|
|
|
margin-top: 1em;
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
}
|
2017-02-16 18:39:46 -05:00
|
|
|
|
2018-01-30 05:03:08 -05:00
|
|
|
&.user-onebox {
|
|
|
|
.fa {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
.full-name,
|
|
|
|
.location {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-18 11:52:05 -04:00
|
|
|
// instagram fixes
|
|
|
|
.instagram-images {
|
|
|
|
clear: both;
|
|
|
|
|
|
|
|
.instagram-image {
|
|
|
|
padding: 5px 5px 5px 5px;
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
}
|
2014-01-27 17:58:53 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-23 16:57:54 -04:00
|
|
|
@mixin gdocs-logo($type) {
|
|
|
|
&.g-#{$type}-logo {
|
2016-08-10 08:25:04 -04:00
|
|
|
background: image-url("favicons/google_branding/logo_#{$type}_48px.png") no-repeat;
|
2015-09-23 16:57:54 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-08-10 08:25:04 -04:00
|
|
|
.googledocs-onebox-logo {
|
|
|
|
width: 60px;
|
|
|
|
height: 50px;
|
|
|
|
float: left;
|
|
|
|
@include gdocs-logo('docs');
|
|
|
|
@include gdocs-logo('forms');
|
|
|
|
@include gdocs-logo('sheets');
|
|
|
|
@include gdocs-logo('slides');
|
|
|
|
@include gdocs-logo('calendar');
|
|
|
|
@include gdocs-logo('drive');
|
|
|
|
}
|
|
|
|
|
|
|
|
// Google Calendar Placeholder
|
2015-09-23 16:57:54 -04:00
|
|
|
.gdocs-onebox-splash {
|
|
|
|
background-color: blend-primary-secondary(30%);
|
|
|
|
color: $primary;
|
|
|
|
border: 1px inset $primary;
|
|
|
|
.gdocs-onebox-logo {
|
|
|
|
display: inline-block;
|
|
|
|
width: 128px;
|
|
|
|
height: 128px;
|
2016-08-10 08:25:04 -04:00
|
|
|
&.g-calendar-logo {
|
|
|
|
background: image-url("favicons/google_branding/logo_calendar_128px.png") no-repeat;
|
|
|
|
}
|
2015-09-23 16:57:54 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-04-23 23:42:27 -04:00
|
|
|
aside.onebox .onebox-body .onebox-avatar {
|
|
|
|
max-height: none;
|
|
|
|
max-width: none;
|
2017-11-07 19:50:01 -05:00
|
|
|
height: 60px;
|
|
|
|
width: 60px;
|
2014-03-25 00:52:40 -04:00
|
|
|
}
|
2014-05-22 21:55:50 -04:00
|
|
|
|
|
|
|
blockquote {
|
|
|
|
aside.onebox {
|
2015-08-19 13:27:17 -04:00
|
|
|
@include post-aside;
|
2014-10-17 12:32:24 -04:00
|
|
|
}
|
|
|
|
}
|
2014-09-28 00:37:21 -04:00
|
|
|
|
|
|
|
// -- Onebox Github Code Blob --
|
|
|
|
pre.onebox code ol.lines li:before {
|
|
|
|
position: absolute;
|
|
|
|
display:inline-block;
|
|
|
|
width:35px;
|
|
|
|
left: -40px;
|
|
|
|
color:#AFAFAF;
|
|
|
|
text-align:right;
|
|
|
|
padding-right:5px;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-down-1;
|
|
|
|
line-height: $line-height-large;
|
2014-09-28 00:37:21 -04:00
|
|
|
content: counter(li-counter);
|
|
|
|
counter-increment: li-counter;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
pre.onebox code ol{
|
2018-01-25 09:53:36 -05:00
|
|
|
margin-left:0;
|
2018-01-12 17:27:38 -05:00
|
|
|
line-height: $line-height-large;
|
2014-09-28 00:37:21 -04:00
|
|
|
}
|
2015-08-18 18:02:41 -04:00
|
|
|
pre.onebox code {
|
|
|
|
background-color: dark-light-choose(#fff, #000);
|
|
|
|
}
|
2014-09-28 00:37:21 -04:00
|
|
|
pre.onebox code li{
|
|
|
|
padding-left:5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre.onebox code ol.lines{
|
|
|
|
position:relative;
|
|
|
|
margin-left: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre.onebox code ol.lines li {
|
|
|
|
list-style-type: none;
|
|
|
|
padding-left: 5px;
|
2018-01-25 09:53:36 -05:00
|
|
|
margin-left: 0;
|
2014-09-28 00:37:21 -04:00
|
|
|
border-left: 1px solid #CFCFCF;
|
2014-10-17 12:32:24 -04:00
|
|
|
min-height: 1.5em; //show empty li lines
|
2014-09-29 00:26:16 -04:00
|
|
|
white-space: pre;
|
2014-09-28 00:37:21 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
pre.onebox code li.selected{
|
2015-08-18 18:02:41 -04:00
|
|
|
background-color: dark-light-choose(#F8EEC7, #541);
|
2014-09-28 00:37:21 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
pre.onebox code {
|
2014-10-17 12:32:24 -04:00
|
|
|
white-space: normal;
|
2014-09-28 00:37:21 -04:00
|
|
|
}
|
2014-09-29 00:33:20 -04:00
|
|
|
|
|
|
|
//Onebox - Github - Pull request
|
|
|
|
.onebox-body .github-commit-status {
|
|
|
|
background: #F5F5F5;
|
|
|
|
border-radius: 5px;
|
2018-01-25 09:53:36 -05:00
|
|
|
margin:0 0 5px 100px;
|
2014-09-29 00:33:20 -04:00
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.onebox-body .status_tag {
|
|
|
|
display:inline-block;
|
|
|
|
color:#fff;
|
|
|
|
padding:1px 4px;
|
|
|
|
border-radius:3px;
|
|
|
|
font-weight:bold;
|
|
|
|
margin-bottom:5px;
|
|
|
|
text-transform:capitalize;
|
|
|
|
}
|
|
|
|
|
|
|
|
.onebox-body .build_status
|
|
|
|
{
|
|
|
|
padding: 2px;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-down-1;
|
2014-09-29 00:33:20 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.onebox-body .status_tag.open {
|
|
|
|
background-color:#6cc644;
|
|
|
|
}
|
|
|
|
.onebox-body .status_tag.merged{
|
2014-10-17 12:32:24 -04:00
|
|
|
background-color:#6e5494;
|
2014-09-29 00:33:20 -04:00
|
|
|
}
|
|
|
|
.onebox-body .status_tag.closed {
|
|
|
|
background-color:#bd2c00;
|
|
|
|
}
|
|
|
|
|
|
|
|
.onebox-body .github-content-right{
|
|
|
|
margin-left:100px;
|
|
|
|
}
|
2015-07-10 16:22:16 -04:00
|
|
|
|
2015-07-21 13:21:26 -04:00
|
|
|
//Onebox - Twitter - Status
|
|
|
|
aside.onebox.twitterstatus .onebox-body {
|
|
|
|
h4 {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2017-02-08 20:08:40 -05:00
|
|
|
|
|
|
|
// thumbnail, oddly, ONLY applies to twitter avatar
|
2015-07-21 13:21:26 -04:00
|
|
|
.onebox.twitterstatus {
|
|
|
|
.thumbnail {
|
2017-02-08 20:08:40 -05:00
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
2015-07-21 13:21:26 -04:00
|
|
|
}
|
2015-09-23 08:32:28 -04:00
|
|
|
p, .tweet {
|
2015-07-21 13:21:26 -04:00
|
|
|
white-space: pre-wrap;
|
2015-09-21 07:31:41 -04:00
|
|
|
padding-top: 3px;
|
2017-12-12 11:16:00 -05:00
|
|
|
margin-left: 70px;
|
2015-07-21 13:21:26 -04:00
|
|
|
}
|
|
|
|
.date {
|
|
|
|
clear: left;
|
2017-11-07 19:50:01 -05:00
|
|
|
padding-top: 10px;
|
2015-07-21 13:21:26 -04:00
|
|
|
}
|
2015-07-10 16:22:16 -04:00
|
|
|
}
|
2015-11-03 01:55:22 -05:00
|
|
|
|
|
|
|
// Onebox - Imgur - Album
|
|
|
|
.onebox.imgur-album {
|
|
|
|
.outer-box {
|
|
|
|
position: absolute;
|
2018-01-16 19:05:12 -05:00
|
|
|
z-index: z("base");
|
2015-11-03 01:55:22 -05:00
|
|
|
overflow: hidden;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-down-1;
|
2015-11-03 01:55:22 -05:00
|
|
|
color: #fff;
|
|
|
|
background-color: rgba(0, 0, 0, 0.6);
|
2016-03-30 02:58:16 -04:00
|
|
|
text-overflow: ellipsis;
|
2016-04-16 05:27:31 -04:00
|
|
|
max-width: 100%;
|
2018-01-12 17:27:38 -05:00
|
|
|
padding: 5px 0;
|
2015-11-03 01:55:22 -05:00
|
|
|
|
|
|
|
.inner-box {
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
word-wrap: normal;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
.album-title {
|
|
|
|
width: 100%;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-up-1;
|
|
|
|
line-height: $line-height-large;
|
2015-11-03 01:55:22 -05:00
|
|
|
color: #ccc;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-11-03 08:41:15 -05:00
|
|
|
|
|
|
|
// resize stackexchange onebox image
|
2016-07-13 12:24:49 -04:00
|
|
|
aside.onebox.stackexchange .onebox-body {
|
2017-11-07 19:50:01 -05:00
|
|
|
img:not(.onebox-avatar) {
|
2016-07-13 12:24:49 -04:00
|
|
|
max-height: 60%;
|
|
|
|
max-width: 10%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tags {
|
|
|
|
color: gray;
|
|
|
|
}
|
2015-11-03 08:41:15 -05:00
|
|
|
}
|
2016-04-24 23:04:07 -04:00
|
|
|
|
2016-06-07 03:26:38 -04:00
|
|
|
.onebox-metadata {
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2016-06-07 03:26:38 -04:00
|
|
|
}
|
|
|
|
|
2016-11-28 09:14:59 -05:00
|
|
|
.onebox.xkcd .onebox-body {
|
|
|
|
img {
|
|
|
|
max-width: 100% !important;
|
|
|
|
float: none !important;
|
|
|
|
}
|
|
|
|
}
|
2017-02-08 01:38:41 -05:00
|
|
|
|
|
|
|
// pdf onebox
|
|
|
|
.onebox.pdf .onebox-body {
|
|
|
|
.pdf-onebox-logo {
|
|
|
|
width: 60px;
|
|
|
|
height: 50px;
|
|
|
|
float: left;
|
|
|
|
background: image-url("favicons/pdf_64px.png") no-repeat;
|
|
|
|
background-size: 48px 48px;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.filesize {
|
|
|
|
color: gray;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-01 06:14:00 -04:00
|
|
|
// whitelistedgeneric twitter labels
|
|
|
|
.onebox.whitelistedgeneric {
|
2017-11-21 06:09:09 -05:00
|
|
|
.label1, .label2 {
|
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
|
|
|
}
|
2017-11-01 06:14:00 -04:00
|
|
|
.label1 {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.label2 {
|
|
|
|
float: right;
|
|
|
|
}
|
2018-02-12 10:39:52 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.onebox {
|
|
|
|
&.whitelistedgeneric,
|
|
|
|
&.gfycat {
|
|
|
|
.site-icon {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.onebox.gfycat p {
|
|
|
|
span.label1 a {
|
|
|
|
white-space: nowrap;
|
2017-11-25 05:23:18 -05:00
|
|
|
}
|
2017-11-01 06:14:00 -04:00
|
|
|
}
|
|
|
|
|
2018-03-22 11:41:47 -04:00
|
|
|
.onebox.instagram {
|
|
|
|
div.instagram-description {
|
2018-03-18 11:52:05 -04:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2018-03-21 16:00:05 -04:00
|
|
|
padding-top: 10px;
|
2018-03-18 11:52:05 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-07 19:50:01 -05:00
|
|
|
.onebox.githubcommit {
|
|
|
|
pre.message {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-08 01:38:41 -05:00
|
|
|
// mobile specific style
|
|
|
|
.mobile-view article.onebox-body {
|
|
|
|
border-top: none;
|
|
|
|
}
|