HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<div id="mwe-popups-svg">
<svg xmlns="http://www.w3.org/2000/svg" width="0" height="0">
<defs>
<polygon
id="mwe-popups-mask"
points="0 8, 10 8, 18 0, 26 8, 1000 8, 1000 100, 0 1000"></polygon>
<polygon
id="mwe-popups-mask-flip"
points="0 8, 274 8, 282 0, 290 8, 1000 8, 1000 1000, 0 1000"></polygon>
<polygon
id="mwe-popups-landscape-mask"
points="0 8, 174 8, 182 0, 190 8, 1000 8, 1000 1000, 0 1000"></polygon>
<polygon
id="mwe-popups-landscape-mask-flip"
points="0 0, 1000 0, 1000 242, 190 242, 182 250, 174 242, 0 242"></polygon>
</defs>
</svg>
</div>
<div class="mwe-popups mwe-popups-fade-in-down flipped_x mwe-popups-is-tall" role="tooltip" aria-hidden="" style="top: 50.453125px; left: 50.109375px; display: block;">
<div class="mwe-popups-container">
<a href="/wiki/Falklands_War" class="mwe-popups-discreet">
<svg xmlns="http://www.w3.org/2000/svg" width="203" height="250">
<defs>
<pattern id="image" patternUnits="userSpaceOnUse" width="100%" height="100%" x="0" y="0">
<image xlink:href="https://upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Falklands%2C_Campaign%2C_%28Distances_to_bases%29_1982.jpg/191px-Falklands%2C_Campaign%2C_%28Distances_to_bases%29_1982.jpg"
x="0"
y="0"
width="100%"
height="100%"
preserveAspectRatio="xMinYMin slice"/>
</pattern>
</defs>
<use xlink:href="#mwe-popups-landscape-mask" width="100%" height="100%" fill="url(#image)"></use>
</svg>
</a>
<a dir="ltr" lang="en" class="mwe-popups-extract" href="/wiki/Falklands_War"><p>The <b>Falklands War</b>, also known as the <b>Falklands Conflict</b>, <b>Falklands Crisis</b>, <b>South Atlantic Conflict</b>, and the <i><b>Guerra del Atlántico Sur</b></i>, was a ten-week war between Argentina and the United Kingdom over two British dependent territories in the South Atlantic: the Falkland Islands, and its dependency of South Georgia and the South Sandwich Islands. It began on Friday, 2 April 1982, when Argentina invaded and occupied the Falkland Islands in an attempt to establish the sovereignty it had claimed over them. On 5 April, the British government dispatched a naval task force to engage the Argentine Navy and Air Force before making an amphibious assault on the islands. The conflict lasted 74 days and ended with the Argentine surrender on 14 June 1982, returning the islands to British control. In total, 649 Argentine military personnel, 255 British military personnel, and three Falkland Islanders died during the hostilities.</p></a>
<footer>
<a class="mwe-popups-settings-icon mw-ui-icon mw-ui-icon-element mw-ui-icon-popups-settings"></a>
</footer>
</div>
</div>
<div class="mwe-popups mwe-popups-fade-in-down flipped_x_y mwe-popups-is-tall" role="tooltip" aria-hidden="" style="top: 50px; left: 550px; display: block;">
<div class="mwe-popups-container">
<a href="/wiki/Falklands_War" class="mwe-popups-discreet">
<svg xmlns="http://www.w3.org/2000/svg" width="203" height="250">
<defs>
<pattern id="image" patternUnits="userSpaceOnUse" width="100%" height="100%" x="0" y="0">
<image xlink:href="https://upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Falklands%2C_Campaign%2C_%28Distances_to_bases%29_1982.jpg/191px-Falklands%2C_Campaign%2C_%28Distances_to_bases%29_1982.jpg"
x="0"
y="0"
width="100%"
height="100%"
preserveAspectRatio="xMinYMin slice"/>
</pattern>
</defs>
<use xlink:href="#mwe-popups-landscape-mask-flip" width="100%" height="100%" fill="url(#image)"></use>
</svg>
</a>
<a dir="ltr" lang="en" class="mwe-popups-extract" href="/wiki/Falklands_War"><p>The <b>Falklands War</b>, also known as the <b>Falklands Conflict</b>, <b>Falklands Crisis</b>, <b>South Atlantic Conflict</b>, and the <i><b>Guerra del Atlántico Sur</b></i>, was a ten-week war between Argentina and the United Kingdom over two British dependent territories in the South Atlantic: the Falkland Islands, and its dependency of South Georgia and the South Sandwich Islands. It began on Friday, 2 April 1982, when Argentina invaded and occupied the Falkland Islands in an attempt to establish the sovereignty it had claimed over them. On 5 April, the British government dispatched a naval task force to engage the Argentine Navy and Air Force before making an amphibious assault on the islands. The conflict lasted 74 days and ended with the Argentine surrender on 14 June 1982, returning the islands to British control. In total, 649 Argentine military personnel, 255 British military personnel, and three Falkland Islanders died during the hostilities.</p></a>
<footer>
<a class="mwe-popups-settings-icon mw-ui-icon mw-ui-icon-element mw-ui-icon-popups-settings"></a>
</footer>
</div>
</div>
<div class="mwe-popups mwe-popups-fade-in-up mwe-popups-image-tri mwe-popups-is-not-tall" role="tooltip" aria-hidden="" style="top: 350px; left: 50px; display: block;">
<div class="mwe-popups-container">
<a href="/wiki/Falklands_War" class="mwe-popups-discreet">
<svg xmlns="http://www.w3.org/2000/svg" width="320" height="200">
<defs>
<pattern id="image" patternUnits="userSpaceOnUse" width="100%" height="100%" x="0" y="0">
<image xlink:href="https://upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Falklands%2C_Campaign%2C_%28Distances_to_bases%29_1982.jpg/191px-Falklands%2C_Campaign%2C_%28Distances_to_bases%29_1982.jpg"
x="0"
y="0"
width="100%"
height="100%"
preserveAspectRatio="xMinYMin slice"/>
</pattern>
</defs>
<use xlink:href="#mwe-popups-mask" width="100%" height="100%" fill="url(#image)"></use>
</svg>
</a>
<a dir="ltr" lang="en" class="mwe-popups-extract" href="/wiki/Falklands_War"><p>The <b>Falklands War</b>, also known as the <b>Falklands Conflict</b>, <b>Falklands Crisis</b>, <b>South Atlantic Conflict</b>, and the <i><b>Guerra del Atlántico Sur</b></i>, was a ten-week war between Argentina and the United Kingdom over two British dependent territories in the South Atlantic: the Falkland Islands, and its dependency of South Georgia and the South Sandwich Islands. It began on Friday, 2 April 1982, when Argentina invaded and occupied the Falkland Islands in an attempt to establish the sovereignty it had claimed over them. On 5 April, the British government dispatched a naval task force to engage the Argentine Navy and Air Force before making an amphibious assault on the islands. The conflict lasted 74 days and ended with the Argentine surrender on 14 June 1982, returning the islands to British control. In total, 649 Argentine military personnel, 255 British military personnel, and three Falkland Islanders died during the hostilities.</p></a>
<footer>
<a class="mwe-popups-settings-icon mw-ui-icon mw-ui-icon-element mw-ui-icon-popups-settings"></a>
</footer>
</div>
</div>
<div class="mwe-popups mwe-popups-fade-in-up flipped_x mwe-popups-is-tall" role="tooltip" aria-hidden="" style="top: 350px; left: 550px; display: block;">
<div class="mwe-popups-container">
<a href="/wiki/Holy_Roman_Emperor" class="mwe-popups-discreet">
<svg xmlns="http://www.w3.org/2000/svg" width="203" height="250">
<defs>
<pattern id="image" patternUnits="userSpaceOnUse" width="100%" height="100%" x="0" y="0">
<image xlink:href="https://upload.wikimedia.org/wikipedia/commons/thumb/d/d5/Ludwig_Streitenfeld_001.jpg/326px-Ludwig_Streitenfeld_001.jpg"
x="0"
y="0"
width="100%"
height="100%"
preserveAspectRatio="xMinYMin slice"/>
</pattern>
</defs>
<use xlink:href="#mwe-popups-landscape-mask" width="100%" height="100%" fill="url(#image)"></use>
</svg>
</a>
<a dir="ltr" lang="en" class="mwe-popups-extract" href="/wiki/Holy_Roman_Emperor"><p>The <b>Holy Roman Emperor</b> was the ruler of the Holy Roman Empire. The title was almost without interruption held in conjunction with the rule of the Kingdom of Germany.</p></a>
<footer>
<a class="mwe-popups-settings-icon mw-ui-icon mw-ui-icon-element mw-ui-icon-popups-settings" href="/wiki/Special:Preferences#mw-prefsection-rendering"></a>
</footer>
</div>
</div>
/* FIXME: Use Phuedx's approach to make this cleaner
https://gist.github.com/phuedx/0639a279b6efb1a71474 */
@-webkit-keyframes mwe-popups-fade-in-up {
0% {
opacity: 0;
-webkit-transform: translate(0, 20px);
-moz-transform: translate(0, 20px);
-ms-transform: translate(0, 20px);
transform: translate(0, 20px);
}
100% {
opacity: 1;
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
}
}
@-moz-keyframes mwe-popups-fade-in-up {
0% {
opacity: 0;
-webkit-transform: translate(0, 20px);
-moz-transform: translate(0, 20px);
-ms-transform: translate(0, 20px);
transform: translate(0, 20px);
}
100% {
opacity: 1;
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
}
}
@keyframes mwe-popups-fade-in-up {
0% {
opacity: 0;
-webkit-transform: translate(0, 20px);
-moz-transform: translate(0, 20px);
-ms-transform: translate(0, 20px);
transform: translate(0, 20px);
}
100% {
opacity: 1;
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
}
}
@-webkit-keyframes mwe-popups-fade-in-down {
0% {
opacity: 0;
-webkit-transform: translate(0, -20px);
-moz-transform: translate(0, -20px);
-ms-transform: translate(0, -20px);
transform: translate(0, -20px);
}
100% {
opacity: 1;
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
}
}
@-moz-keyframes mwe-popups-fade-in-down {
0% {
opacity: 0;
-webkit-transform: translate(0, -20px);
-moz-transform: translate(0, -20px);
-ms-transform: translate(0, -20px);
transform: translate(0, -20px);
}
100% {
opacity: 1;
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
}
}
@keyframes mwe-popups-fade-in-down {
0% {
opacity: 0;
-webkit-transform: translate(0, -20px);
-moz-transform: translate(0, -20px);
-ms-transform: translate(0, -20px);
transform: translate(0, -20px);
}
100% {
opacity: 1;
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
}
}
@-webkit-keyframes mwe-popups-fade-out-down {
0% {
opacity: 1;
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
}
100% {
opacity: 0;
-webkit-transform: translate(0, 20px);
-moz-transform: translate(0, 20px);
-ms-transform: translate(0, 20px);
transform: translate(0, 20px);
}
}
@-moz-keyframes mwe-popups-fade-out-down {
0% {
opacity: 1;
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
}
100% {
opacity: 0;
-webkit-transform: translate(0, 20px);
-moz-transform: translate(0, 20px);
-ms-transform: translate(0, 20px);
transform: translate(0, 20px);
}
}
@keyframes mwe-popups-fade-out-down {
0% {
opacity: 1;
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
}
100% {
opacity: 0;
-webkit-transform: translate(0, 20px);
-moz-transform: translate(0, 20px);
-ms-transform: translate(0, 20px);
transform: translate(0, 20px);
}
}
@-webkit-keyframes mwe-popups-fade-out-up {
0% {
opacity: 1;
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
}
100% {
opacity: 0;
-webkit-transform: translate(0, -20px);
-moz-transform: translate(0, -20px);
-ms-transform: translate(0, -20px);
transform: translate(0, -20px);
}
}
@-moz-keyframes mwe-popups-fade-out-up {
0% {
opacity: 1;
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
}
100% {
opacity: 0;
-webkit-transform: translate(0, -20px);
-moz-transform: translate(0, -20px);
-ms-transform: translate(0, -20px);
transform: translate(0, -20px);
}
}
@keyframes mwe-popups-fade-out-up {
0% {
opacity: 1;
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
}
100% {
opacity: 0;
-webkit-transform: translate(0, -20px);
-moz-transform: translate(0, -20px);
-ms-transform: translate(0, -20px);
transform: translate(0, -20px);
}
}
.mwe-popups-fade-in-up {
-webkit-animation: mwe-popups-fade-in-up 0.2s ease forwards;
-moz-animation: mwe-popups-fade-in-up 0.2s ease forwards;
animation: mwe-popups-fade-in-up 0.2s ease forwards;
}
.mwe-popups-fade-in-down {
-webkit-animation: mwe-popups-fade-in-down 0.2s ease forwards;
-moz-animation: mwe-popups-fade-in-down 0.2s ease forwards;
animation: mwe-popups-fade-in-down 0.2s ease forwards;
}
.mwe-popups-fade-out-down {
-webkit-animation: mwe-popups-fade-out-down 0.2s ease forwards;
-moz-animation: mwe-popups-fade-out-down 0.2s ease forwards;
animation: mwe-popups-fade-out-down 0.2s ease forwards;
}
.mwe-popups-fade-out-up {
-webkit-animation: mwe-popups-fade-out-up 0.2s ease forwards;
-moz-animation: mwe-popups-fade-out-up 0.2s ease forwards;
animation: mwe-popups-fade-out-up 0.2s ease forwards;
}
/* stylelint-disable selector-no-vendor-prefix, at-rule-no-unknown */
/* stylelint-enable selector-no-vendor-prefix, at-rule-no-unknown */
/**
* Minimum available screen width at which a device can be considered a mobile device
* Many older feature phones have screens smaller than this value.
* Number is prone to change with new information.
* @since 1.31
*/
/**
* Minimum available screen width at which a device can be considered a tablet
* The number is currently based on the device width of a Samsung Galaxy S5 mini and is low
* enough to cover iPad (768px). Number is prone to change with new information.
* @since 1.31
*/
/**
* Minimum available screen width at which a device can be considered a desktop
* Number is prone to change with new information.
* @since 1.31
*/
.mwe-popups {
background: #fff;
position: absolute;
z-index: 110;
-webkit-box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.3), 0 0 1px #a2a9b1;
box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.3), 0 0 1px #a2a9b1;
padding: 0;
display: none;
font-size: 14px;
line-height: 20px;
min-width: 300px;
border-radius: 2px;
/* Triangles/Pokeys */
}
.mwe-popups .mw-ui-icon {
font-size: 16px;
margin: 21px 0 8px 0;
}
.mwe-popups .mwe-popups-container {
color: #222222;
margin-top: -9px;
padding-top: 9px;
text-decoration: none;
}
.mwe-popups .mwe-popups-container footer {
padding: 16px;
margin: 0;
font-size: 10px;
position: absolute;
bottom: 0;
/* @noflip */
left: 0;
}
.mwe-popups .mwe-popups-extract {
margin: 16px;
display: block;
color: #222222;
text-decoration: none;
position: relative;
/* Stylelint rule broken for vendor prefixes: https://github.com/stylelint/stylelint/issues/1939 */
/* stylelint-disable function-linear-gradient-no-nonstandard-direction */
/* stylelint-enable function-linear-gradient-no-nonstandard-direction */
}
.mwe-popups .mwe-popups-extract:hover {
text-decoration: none;
}
.mwe-popups .mwe-popups-extract:after {
content: ' ';
position: absolute;
bottom: 0;
width: 25%;
height: 20px;
background-color: transparent;
}
.mwe-popups .mwe-popups-extract[dir='ltr']:after {
/* @noflip */
right: 0;
/* @noflip */
background-image: -webkit-linear-gradient(to right, rgba(255, 255, 255, 0), #ffffff 50%);
/* @noflip */
background-image: -moz-linear-gradient(to right, rgba(255, 255, 255, 0), #ffffff 50%);
/* @noflip */
background-image: -o-linear-gradient(to right, rgba(255, 255, 255, 0), #ffffff 50%);
/* @noflip */
background-image: linear-gradient(to right, rgba(255, 255, 255, 0), #ffffff 50%);
}
.mwe-popups .mwe-popups-extract[dir='rtl']:after {
/* @noflip */
left: 0;
/* @noflip */
background-image: -webkit-linear-gradient(to left, rgba(255, 255, 255, 0), #ffffff 50%);
/* @noflip */
background-image: -moz-linear-gradient(to left, rgba(255, 255, 255, 0), #ffffff 50%);
/* @noflip */
background-image: -o-linear-gradient(to left, rgba(255, 255, 255, 0), #ffffff 50%);
/* @noflip */
background-image: linear-gradient(to left, rgba(255, 255, 255, 0), #ffffff 50%);
}
.mwe-popups .mwe-popups-extract p {
margin: 0;
}
.mwe-popups .mwe-popups-extract ul,
.mwe-popups .mwe-popups-extract ol,
.mwe-popups .mwe-popups-extract li,
.mwe-popups .mwe-popups-extract dl,
.mwe-popups .mwe-popups-extract dd,
.mwe-popups .mwe-popups-extract dt {
margin-top: 0;
margin-bottom: 0;
}
.mwe-popups svg {
overflow: hidden;
}
.mwe-popups.mwe-popups-is-tall {
width: 450px;
}
.mwe-popups.mwe-popups-is-tall > div > a > svg {
vertical-align: middle;
}
.mwe-popups.mwe-popups-is-tall .mwe-popups-extract {
width: 215px;
height: 180px;
overflow: hidden;
/* @noflip */
float: left;
}
.mwe-popups.mwe-popups-is-tall footer {
width: 215px;
}
.mwe-popups.mwe-popups-is-not-tall {
width: 320px;
}
.mwe-popups.mwe-popups-is-not-tall .mwe-popups-extract {
min-height: 40px;
max-height: 140px;
overflow: hidden;
margin-bottom: 47px;
padding-bottom: 0;
}
.mwe-popups.mwe-popups-is-not-tall footer {
width: 290px;
}
.mwe-popups.mwe-popups-type-generic .mwe-popups-extract,
.mwe-popups.mwe-popups-type-disambiguation .mwe-popups-extract {
min-height: auto;
padding-top: 4px;
margin-bottom: 60px;
margin-top: 0;
}
.mwe-popups.mwe-popups-type-generic .mwe-popups-read-link,
.mwe-popups.mwe-popups-type-disambiguation .mwe-popups-read-link {
font-weight: bold;
font-size: 12px;
}
.mwe-popups.mwe-popups-type-generic .mwe-popups-extract:hover + footer .mwe-popups-read-link,
.mwe-popups.mwe-popups-type-disambiguation .mwe-popups-extract:hover + footer .mwe-popups-read-link {
text-decoration: underline;
}
.mwe-popups.mwe-popups-no-image-tri:after {
content: '';
position: absolute;
border: 11px solid transparent;
border-top: 0;
border-bottom: 11px solid #ffffff;
top: -7px;
/* @noflip */
left: 7px;
}
.mwe-popups.mwe-popups-no-image-tri:before {
content: '';
position: absolute;
border: 8px solid transparent;
border-top: 0;
border-bottom: 8px solid #a2a9b1;
top: -8px;
/* @noflip */
left: 10px;
}
.mwe-popups.flipped_x.mwe-popups-no-image-tri:after {
/* @noflip */
left: auto;
/* @noflip */
right: 7px;
}
.mwe-popups.flipped_x.mwe-popups-no-image-tri:before {
/* @noflip */
left: auto;
/* @noflip */
right: 10px;
}
.mwe-popups.mwe-popups-image-tri:before {
z-index: 111;
content: '';
position: absolute;
border: 9px solid transparent;
border-top: 0;
border-bottom: 9px solid #a2a9b1;
top: -9px;
/* @noflip */
left: 9px;
}
.mwe-popups.mwe-popups-image-tri:after {
content: '';
position: absolute;
border: 12px solid transparent;
border-top: 0;
border-bottom: 12px solid #ffffff;
top: -8px;
/* @noflip */
left: 6px;
z-index: 112;
}
.mwe-popups.mwe-popups-image-tri.flipped_x:before {
z-index: 111;
content: '';
position: absolute;
border: 9px solid transparent;
border-top: 0;
border-bottom: 9px solid #a2a9b1;
top: -9px;
/* @noflip */
left: 273px;
}
.mwe-popups.mwe-popups-image-tri.flipped_x:after {
content: '';
position: absolute;
border: 12px solid transparent;
border-top: 0;
border-bottom: 12px solid #ffffff;
top: -8px;
/* @noflip */
left: 269px;
z-index: 112;
}
.mwe-popups.mwe-popups-image-tri .mwe-popups-extract {
padding-top: 32px;
margin-top: 190px;
}
.mwe-popups.mwe-popups-image-tri > div > a > svg {
margin-top: -8px;
position: absolute;
z-index: 113;
/* @noflip */
left: 0;
}
.mwe-popups.flipped_x.mwe-popups-is-tall {
min-height: 242px;
}
.mwe-popups.flipped_x.mwe-popups-is-tall:before {
z-index: 111;
content: '';
position: absolute;
border: 9px solid transparent;
border-top: 0;
border-bottom: 9px solid #a2a9b1;
top: -9px;
/* @noflip */
left: 420px;
}
.mwe-popups.flipped_x.mwe-popups-is-tall > div > a > svg {
margin: 0;
margin-top: -8px;
margin-bottom: -7px;
position: absolute;
z-index: 113;
/* @noflip */
right: 0;
}
.mwe-popups.flipped_x_y:before {
z-index: 111;
content: '';
position: absolute;
border: 9px solid transparent;
border-bottom: 0;
border-top: 9px solid #a2a9b1;
bottom: -9px;
/* @noflip */
left: 272px;
}
.mwe-popups.flipped_x_y:after {
content: '';
position: absolute;
border: 12px solid transparent;
border-bottom: 0;
border-top: 12px solid #ffffff;
bottom: -8px;
/* @noflip */
left: 269px;
z-index: 112;
}
.mwe-popups.flipped_x_y.mwe-popups-is-tall {
min-height: 242px;
}
.mwe-popups.flipped_x_y.mwe-popups-is-tall:after {
z-index: 112;
content: '';
position: absolute;
border: 12px solid transparent;
border-bottom: 0;
border-top: 12px solid #ffffff;
bottom: -8px;
/* @noflip */
left: 417px;
}
.mwe-popups.flipped_x_y.mwe-popups-is-tall:before {
z-index: 111;
content: '';
position: absolute;
border: 9px solid transparent;
border-bottom: 0;
border-top: 9px solid #a2a9b1;
bottom: -9px;
/* @noflip */
left: 420px;
}
.mwe-popups.flipped_x_y.mwe-popups-is-tall > div > a > svg {
position: absolute;
z-index: 113;
margin: 0;
margin-bottom: -9px;
/* @noflip */
right: 0;
}
.mwe-popups.flipped_y:after {
content: '';
position: absolute;
border: 11px solid transparent;
border-bottom: 0;
border-top: 11px solid #ffffff;
bottom: -7px;
/* @noflip */
left: 7px;
}
.mwe-popups.flipped_y:before {
content: '';
position: absolute;
border: 8px solid transparent;
border-bottom: 0;
border-top: 8px solid #a2a9b1;
bottom: -8px;
/* @noflip */
left: 10px;
}
#mwe-popups-settings {
position: fixed;
z-index: 1000;
background: #fff;
width: 420px;
border: 1px solid #a2a9b1;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.25);
border-radius: 2px;
font-size: 14px;
}
#mwe-popups-settings header {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
border-bottom: 1px solid #c8ccd1;
position: relative;
display: table;
width: 100%;
padding: 5px 7px 5px 0;
}
#mwe-popups-settings header > div {
display: table-cell;
width: 3.5em;
vertical-align: middle;
cursor: pointer;
}
#mwe-popups-settings header h1 {
margin-bottom: 0.6em;
padding-top: 0.5em;
border: 0;
width: 100%;
font-family: sans-serif;
font-size: 18px;
font-weight: bold;
text-align: center;
}
#mwe-popups-settings .mwe-ui-icon-popups-close {
opacity: 0.87;
-webkit-transition: opacity 100ms;
-moz-transition: opacity 100ms;
transition: opacity 100ms;
}
#mwe-popups-settings .mwe-ui-icon-popups-close:hover {
opacity: 0.73;
}
#mwe-popups-settings .mwe-ui-icon-popups-close:active {
opacity: 1;
}
#mwe-popups-settings main {
display: block;
width: 350px;
padding: 32px 0 24px;
margin: 0 auto;
}
#mwe-popups-settings main p {
color: #54595d;
font-size: 17px;
margin: 16px 0 0;
}
#mwe-popups-settings main p:first-child {
margin-top: 0;
}
#mwe-popups-settings main form img,
#mwe-popups-settings main form input,
#mwe-popups-settings main form label {
vertical-align: top;
}
#mwe-popups-settings main form img {
margin-right: 60px;
}
#mwe-popups-settings main form input {
display: inline-block;
margin: 0 10px 0 0;
padding: 0;
}
#mwe-popups-settings main form label {
font-size: 13px;
display: inline-block;
line-height: 16px;
width: 300px;
}
#mwe-popups-settings main form label > span {
color: #000;
font-size: 18px;
font-weight: bold;
display: block;
margin-bottom: 5px;
line-height: 18px;
}
.mwe-popups-settings-help {
font-size: 13px;
font-weight: 800;
margin: 40px;
position: relative;
}
.mwe-popups-settings-help .mw-ui-icon:before,
.mwe-popups-settings-help .mw-ui-icon {
height: 140px;
width: 180px;
max-width: none;
margin: 0;
}
.mwe-popups-settings-help p {
left: 180px;
bottom: 20px;
position: absolute;
}
.mwe-popups-settings-icon {
border-radius: 2px;
font-size: 16px;
/* stylelint-disable value-keyword-case */
margin-right: -0.75em;
}
.mwe-popups-settings-icon:hover {
background-color: #eaecf0;
}
.mwe-popups-settings-icon:active {
background-color: #c8ccd1;
}
.mwe-popups .mwe-popups-container footer .mwe-popups-settings-icon {
float: right;
}
.mwe-popups .mwe-popups-title {
display: block;
font-weight: bold;
margin: 0 16px;
}
.mwe-popups-overlay {
background-color: rgba(255, 255, 255, 0.9);
z-index: 999;
position: fixed;
height: 100%;
width: 100%;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: flex;
justify-content: center;
align-items: center;
}
#mwe-popups-svg {
position: absolute;
top: -1000px;
}
/**
* NEW STUFF
**/
.mwe-popups .mwe-popups-extract,
.mwe-popups footer{
padding: 16px;
margin: 0;
border-right: 1px solid blue;
z-index: 113;
}
.mwe-popups.mwe-popups-is-not-tall .mwe-popups-extract,
.mwe-popups.mwe-popups-is-not-tall footer {
border-right: 0;
}
.mwe-popups.mwe-popups-is-not-tall .mwe-popups-extract {
background-color: white;
border-top: 1px solid blue;
}
Also see: Tab Triggers