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.
<main class="instagram" ontouchstart="">
<div class="inner">
<header class="bar">
<h1>Instagram.exe</h1>
<div class="buttons">
<a class="minimize"></a>
<a class="maximize"></a>
<a class="close"></a>
</div>
</header>
<nav class="menu">
<ul>
<li>
<a href="https://codepen.io/" target="_blank">Codepen</a>
</li>
<li>
<a href="https://codepen.io/louh/pen/oZJQvm" target="_blank">Scrollbars</a>
</li>
<li>
<a href="https://dribbble.com/shots/2872044-Instagram-For-Windows-95" target="_blank">Inspiration</a>
</li>
</ul>
</nav>
<div class="container">
<input checked="true" class="menu-input" id="input-home" name="menu" type="radio">
<label class="menu-label" for="input-home">Home</label>
<input class="menu-input" disabled="true" id="input-explore" name="menu" type="radio">
<label class="menu-label" for="input-explore">Explore</label>
<input class="menu-input" disabled="true" id="input-camera" name="menu" type="radio">
<label class="menu-label" for="input-camera">Camera</label>
<input class="menu-input" disabled="true" id="input-activity" name="menu" type="radio">
<label class="menu-label" for="input-activity">Activity</label>
<input class="menu-input" id="input-profile" name="menu" type="radio">
<label class="menu-label" for="input-profile">Profile</label>
<div class="content">
<div class="content-section home">
<div class="feed">
<div class="feed-type" id="home">
<figure>
<header>
<a class="avatar" href="https://instagram.com/gabriellewee">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg">
</a>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</header>
<img src="https://gabriellew.ee/static/code/images/instagram/1.jpeg" alt="💜">
<figcaption>
<div>
<button>Like</button>
<button>Comment</button>
<button>Share</button>
</div>
<div>
<button>Bookmark</button>
</div>
<div class="likes">Liked by <span>72</span> people </div>
<div class="caption">
<a href="https://instagram.com/gabriellewee" target="_blank">gabriellewee</a>
<span>💜</span>
</div>
<div class="view-all comment-12">
<a href="https://www.instagram.com/p/CjT8CywpVc6/" target="_blank">View <span>12</span> comment </a>
</div>
<time class="stamp" data-time="2022-10-05T00:14:30+0000">3 months ago</time>
</figcaption>
</figure>
<figure>
<header>
<a class="avatar" href="https://instagram.com/gabriellewee">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg">
</a>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</header>
<img src="https://gabriellew.ee/static/code/images/instagram/2.jpeg" alt="New #keycaps from @cantoclicks 🤍 #cozydesksetup #keycap #artisankeycaps #pastelkeycaps #mechanicalkeyboard">
<figcaption>
<div>
<button>Like</button>
<button>Comment</button>
<button>Share</button>
</div>
<div>
<button>Bookmark</button>
</div>
<div class="likes">Liked by <span>72</span> people </div>
<div class="caption">
<a href="https://instagram.com/gabriellewee" target="_blank">gabriellewee</a>
<span>New #keycaps from @cantoclicks 🤍 #cozydesksetup #keycap #artisankeycaps #pastelkeycaps #mechanicalkeyboard</span>
</div>
<div class="view-all comment-12">
<a href="https://www.instagram.com/reel/Cis_W0EAXs8/" target="_blank">View <span>12</span> comment </a>
</div>
<time class="stamp" data-time="2022-09-19T21:13:55+0000">4 months ago</time>
</figcaption>
</figure>
<figure>
<header>
<a class="avatar" href="https://instagram.com/gabriellewee">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg">
</a>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</header>
<img src="https://gabriellew.ee/static/code/images/instagram/3.jpeg" alt="Grateful for another incredible birthday with incredible people 💞 I just wish I had more photos!">
<figcaption>
<div>
<button>Like</button>
<button>Comment</button>
<button>Share</button>
</div>
<div>
<button>Bookmark</button>
</div>
<div class="likes">Liked by <span>72</span> people </div>
<div class="caption">
<a href="https://instagram.com/gabriellewee" target="_blank">gabriellewee</a>
<span>Grateful for another incredible birthday with incredible people 💞 I just wish I had more photos!</span>
</div>
<div class="view-all comment-12">
<a href="https://www.instagram.com/p/Ch9E4dkuPWN/" target="_blank">View <span>12</span> comment </a>
</div>
<time class="stamp" data-time="2022-09-01T06:37:49+0000">5 months ago</time>
</figcaption>
</figure>
<figure>
<header>
<a class="avatar" href="https://instagram.com/gabriellewee">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg">
</a>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</header>
<img src="https://gabriellew.ee/static/code/images/instagram/4.jpeg" alt="The spread from my sister’s birthday tea party yesterday 🎂">
<figcaption>
<div>
<button>Like</button>
<button>Comment</button>
<button>Share</button>
</div>
<div>
<button>Bookmark</button>
</div>
<div class="likes">Liked by <span>72</span> people </div>
<div class="caption">
<a href="https://instagram.com/gabriellewee" target="_blank">gabriellewee</a>
<span>The spread from my sister’s birthday tea party yesterday 🎂</span>
</div>
<div class="view-all comment-12">
<a href="https://www.instagram.com/p/ChQLghePxwo/" target="_blank">View <span>12</span> comment </a>
</div>
<time class="stamp" data-time="2022-08-14T20:09:53+0000">5 months ago</time>
</figcaption>
</figure>
<figure>
<header>
<a class="avatar" href="https://instagram.com/gabriellewee">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg">
</a>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</header>
<img src="https://gabriellew.ee/static/code/images/instagram/5.jpeg" alt="7 year friend anniversary with @jeselle.gif - here’s to plenty more years of going down Lombard and other shenanigans ✨">
<figcaption>
<div>
<button>Like</button>
<button>Comment</button>
<button>Share</button>
</div>
<div>
<button>Bookmark</button>
</div>
<div class="likes">Liked by <span>72</span> people </div>
<div class="caption">
<a href="https://instagram.com/gabriellewee" target="_blank">gabriellewee</a>
<span>7 year friend anniversary with @jeselle.gif - here’s to plenty more years of going down Lombard and other shenanigans ✨</span>
</div>
<div class="view-all comment-12">
<a href="https://www.instagram.com/p/CguWw7PpXgq/" target="_blank">View <span>12</span> comment </a>
</div>
<time class="stamp" data-time="2022-08-01T16:54:04+0000">5 months ago</time>
</figcaption>
</figure>
<figure>
<header>
<a class="avatar" href="https://instagram.com/gabriellewee">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg">
</a>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</header>
<img src="https://gabriellew.ee/static/code/images/instagram/6.jpeg" alt="I don’t think I’ve ever been so happy to pick up plants 🪴 The @sforchidsociety show was so much fun! 📸 @haydenthewu">
<figcaption>
<div>
<button>Like</button>
<button>Comment</button>
<button>Share</button>
</div>
<div>
<button>Bookmark</button>
</div>
<div class="likes">Liked by <span>72</span> people </div>
<div class="caption">
<a href="https://instagram.com/gabriellewee" target="_blank">gabriellewee</a>
<span>I don’t think I’ve ever been so happy to pick up plants 🪴 The @sforchidsociety show was so much fun! 📸 @haydenthewu</span>
</div>
<div class="view-all comment-12">
<a href="https://www.instagram.com/p/CgtCStnuxJF/" target="_blank">View <span>12</span> comment </a>
</div>
<time class="stamp" data-time="2022-08-01T04:35:56+0000">6 months ago</time>
</figcaption>
</figure>
<figure>
<header>
<a class="avatar" href="https://instagram.com/gabriellewee">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg">
</a>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</header>
<img src="https://gabriellew.ee/static/code/images/instagram/7.jpeg" alt="Listened to @purityring for the first time ten years ago and finally got to see them today 🤍 Had a blast with @jeselle.gif @dr.wily_ @devil.baby666 @pizzamiles">
<figcaption>
<div>
<button>Like</button>
<button>Comment</button>
<button>Share</button>
</div>
<div>
<button>Bookmark</button>
</div>
<div class="likes">Liked by <span>72</span> people </div>
<div class="caption">
<a href="https://instagram.com/gabriellewee" target="_blank">gabriellewee</a>
<span>Listened to @purityring for the first time ten years ago and finally got to see them today 🤍 Had a blast with @jeselle.gif @dr.wily_ @devil.baby666 @pizzamiles</span>
</div>
<div class="view-all comment-12">
<a href="https://www.instagram.com/p/CgbTkGUunMq/" target="_blank">View <span>12</span> comment </a>
</div>
<time class="stamp" data-time="2022-07-25T07:20:32+0000">6 months ago</time>
</figcaption>
</figure>
<figure>
<header>
<a class="avatar" href="https://instagram.com/gabriellewee">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg">
</a>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</header>
<img src="https://gabriellew.ee/static/code/images/instagram/8.jpeg" alt="🎵 And there’s nowhere in the world I’d rather be 🎵 Saw the Music of Selena tonight at the @sfsymphony and had a blast! 📸 @jeselle.gif">
<figcaption>
<div>
<button>Like</button>
<button>Comment</button>
<button>Share</button>
</div>
<div>
<button>Bookmark</button>
</div>
<div class="likes">Liked by <span>72</span> people </div>
<div class="caption">
<a href="https://instagram.com/gabriellewee" target="_blank">gabriellewee</a>
<span>🎵 And there’s nowhere in the world I’d rather be 🎵 Saw the Music of Selena tonight at the @sfsymphony and had a blast! 📸 @jeselle.gif</span>
</div>
<div class="view-all comment-12">
<a href="https://www.instagram.com/p/Cf0ebSYuhMN/" target="_blank">View <span>12</span> comment </a>
</div>
<time class="stamp" data-time="2022-07-10T05:25:04+0000">6 months ago</time>
</figcaption>
</figure>
<figure>
<header>
<a class="avatar" href="https://instagram.com/gabriellewee">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg">
</a>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</header>
<img src="https://gabriellew.ee/static/code/images/instagram/9.jpeg" alt="How have I gone my entire life without ergonomic mice 🤷🏻♀️ 🐁 #logitechlift #logitech #ergonomic">
<figcaption>
<div>
<button>Like</button>
<button>Comment</button>
<button>Share</button>
</div>
<div>
<button>Bookmark</button>
</div>
<div class="likes">Liked by <span>72</span> people </div>
<div class="caption">
<a href="https://instagram.com/gabriellewee" target="_blank">gabriellewee</a>
<span>How have I gone my entire life without ergonomic mice 🤷🏻♀️ 🐁 #logitechlift #logitech #ergonomic</span>
</div>
<div class="view-all comment-12">
<a href="https://www.instagram.com/p/CfNHQddP8p3/" target="_blank">View <span>12</span> comment </a>
</div>
<time class="stamp" data-time="2022-06-24T22:32:14+0000">7 months ago</time>
</figcaption>
</figure>
<figure>
<header>
<a class="avatar" href="https://instagram.com/gabriellewee">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg">
</a>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</header>
<img src="https://gabriellew.ee/static/code/images/instagram/10.jpeg" alt="My sister takes good photos of me 👯♀️">
<figcaption>
<div>
<button>Like</button>
<button>Comment</button>
<button>Share</button>
</div>
<div>
<button>Bookmark</button>
</div>
<div class="likes">Liked by <span>72</span> people </div>
<div class="caption">
<a href="https://instagram.com/gabriellewee" target="_blank">gabriellewee</a>
<span>My sister takes good photos of me 👯♀️</span>
</div>
<div class="view-all comment-12">
<a href="https://www.instagram.com/p/CfGHkLzO1SI/" target="_blank">View <span>12</span> comment </a>
</div>
<time class="stamp" data-time="2022-06-22T05:20:14+0000">7 months ago</time>
</figcaption>
</figure>
<figure>
<header>
<a class="avatar" href="https://instagram.com/gabriellewee">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg">
</a>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</header>
<img src="https://gabriellew.ee/static/code/images/instagram/11.jpeg" alt="Finished #keyboard ⌨️ @kbdfans Tofu60/DZ64 ⌨️ @gateron.official Ink V2 Silent Black Linear ⌨️ @flashquarkkeys Pom Jelly ⌨️ #mechanicalkeyboard #customkeyboard #keycaps">
<figcaption>
<div>
<button>Like</button>
<button>Comment</button>
<button>Share</button>
</div>
<div>
<button>Bookmark</button>
</div>
<div class="likes">Liked by <span>72</span> people </div>
<div class="caption">
<a href="https://instagram.com/gabriellewee" target="_blank">gabriellewee</a>
<span>Finished #keyboard ⌨️ @kbdfans Tofu60/DZ64 ⌨️ @gateron.official Ink V2 Silent Black Linear ⌨️ @flashquarkkeys Pom Jelly ⌨️ #mechanicalkeyboard #customkeyboard #keycaps</span>
</div>
<div class="view-all comment-12">
<a href="https://www.instagram.com/p/Ce5AFb_LD0y/" target="_blank">View <span>12</span> comment </a>
</div>
<time class="stamp" data-time="2022-06-17T03:04:45+0000">7 months ago</time>
</figcaption>
</figure>
<figure>
<header>
<a class="avatar" href="https://instagram.com/gabriellewee">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg">
</a>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</header>
<img src="https://gabriellew.ee/static/code/images/instagram/12.jpeg" alt="First custom keyboard build ⌨️ Missing a few white keys but working on getting them soon!">
<figcaption>
<div>
<button>Like</button>
<button>Comment</button>
<button>Share</button>
</div>
<div>
<button>Bookmark</button>
</div>
<div class="likes">Liked by <span>72</span> people </div>
<div class="caption">
<a href="https://instagram.com/gabriellewee" target="_blank">gabriellewee</a>
<span>First custom keyboard build ⌨️ Missing a few white keys but working on getting them soon!</span>
</div>
<div class="view-all comment-12">
<a href="https://www.instagram.com/p/CeaOGCJOdq2/" target="_blank">View <span>12</span> comment </a>
</div>
<time class="stamp" data-time="2022-06-05T04:10:42+0000">7 months ago</time>
</figcaption>
</figure>
<figure>
<header>
<a class="avatar" href="https://instagram.com/gabriellewee">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg">
</a>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</header>
<img src="https://gabriellew.ee/static/code/images/instagram/13.jpeg" alt="🌼🌼🌼 📸: @haydenthewu @gabriellewee">
<figcaption>
<div>
<button>Like</button>
<button>Comment</button>
<button>Share</button>
</div>
<div>
<button>Bookmark</button>
</div>
<div class="likes">Liked by <span>72</span> people </div>
<div class="caption">
<a href="https://instagram.com/gabriellewee" target="_blank">gabriellewee</a>
<span>🌼🌼🌼 📸: @haydenthewu @gabriellewee</span>
</div>
<div class="view-all comment-12">
<a href="https://www.instagram.com/p/CeH4xybpN68/" target="_blank">View <span>12</span> comment </a>
</div>
<time class="stamp" data-time="2022-05-29T01:18:07+0000">8 months ago</time>
</figcaption>
</figure>
<figure>
<header>
<a class="avatar" href="https://instagram.com/gabriellewee">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg">
</a>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</header>
<img src="https://gabriellew.ee/static/code/images/instagram/14.jpeg" alt="Great night out with @the_float_pack 🛴 📸: @haydenthewu">
<figcaption>
<div>
<button>Like</button>
<button>Comment</button>
<button>Share</button>
</div>
<div>
<button>Bookmark</button>
</div>
<div class="likes">Liked by <span>72</span> people </div>
<div class="caption">
<a href="https://instagram.com/gabriellewee" target="_blank">gabriellewee</a>
<span>Great night out with @the_float_pack 🛴 📸: @haydenthewu</span>
</div>
<div class="view-all comment-12">
<a href="https://www.instagram.com/p/CdhsLmMOZS_/" target="_blank">View <span>12</span> comment </a>
</div>
<time class="stamp" data-time="2022-05-14T05:16:54+0000">8 months ago</time>
</figcaption>
</figure>
<figure>
<header>
<a class="avatar" href="https://instagram.com/gabriellewee">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg">
</a>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</header>
<img src="https://gabriellew.ee/static/code/images/instagram/15.jpeg" alt="💐">
<figcaption>
<div>
<button>Like</button>
<button>Comment</button>
<button>Share</button>
</div>
<div>
<button>Bookmark</button>
</div>
<div class="likes">Liked by <span>72</span> people </div>
<div class="caption">
<a href="https://instagram.com/gabriellewee" target="_blank">gabriellewee</a>
<span>💐</span>
</div>
<div class="view-all comment-12">
<a href="https://www.instagram.com/p/CdZZi6-pzlT/" target="_blank">View <span>12</span> comment </a>
</div>
<time class="stamp" data-time="2022-05-11T00:00:08+0000">8 months ago</time>
</figcaption>
</figure>
<figure>
<header>
<a class="avatar" href="https://instagram.com/gabriellewee">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg">
</a>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</header>
<img src="https://gabriellew.ee/static/code/images/instagram/16.jpeg" alt="💇🏻♀️ ✨">
<figcaption>
<div>
<button>Like</button>
<button>Comment</button>
<button>Share</button>
</div>
<div>
<button>Bookmark</button>
</div>
<div class="likes">Liked by <span>72</span> people </div>
<div class="caption">
<a href="https://instagram.com/gabriellewee" target="_blank">gabriellewee</a>
<span>💇🏻♀️ ✨</span>
</div>
<div class="view-all comment-12">
<a href="https://www.instagram.com/p/CdNClxSOvS9/" target="_blank">View <span>12</span> comment </a>
</div>
<time class="stamp" data-time="2022-05-06T04:48:40+0000">8 months ago</time>
</figcaption>
</figure>
<figure>
<header>
<a class="avatar" href="https://instagram.com/gabriellewee">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg">
</a>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</header>
<img src="https://gabriellew.ee/static/code/images/instagram/17.jpeg" alt="I challenged myself back in 2018 to make every single Pokémon Quest icon with CSS only on @codepen. I finally finished in 2022! Each icon is fully responsive and there's even a CSS-only navigation to sort by type.">
<figcaption>
<div>
<button>Like</button>
<button>Comment</button>
<button>Share</button>
</div>
<div>
<button>Bookmark</button>
</div>
<div class="likes">Liked by <span>72</span> people </div>
<div class="caption">
<a href="https://instagram.com/gabriellewee" target="_blank">gabriellewee</a>
<span>I challenged myself back in 2018 to make every single Pokémon Quest icon with CSS only on @codepen. I finally finished in 2022! Each icon is fully responsive and there's even a CSS-only navigation to sort by type.</span>
</div>
<div class="view-all comment-12">
<a href="https://www.instagram.com/tv/CdHGht_AjNw/" target="_blank">View <span>12</span> comment </a>
</div>
<time class="stamp" data-time="2022-05-03T21:28:36+0000">8 months ago</time>
</figcaption>
</figure>
<figure>
<header>
<a class="avatar" href="https://instagram.com/gabriellewee">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg">
</a>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</header>
<img src="https://gabriellew.ee/static/code/images/instagram/18.jpeg" alt="Happy first birthday, Alfie! 🥳🥳🥳 Everybody loves you so much!">
<figcaption>
<div>
<button>Like</button>
<button>Comment</button>
<button>Share</button>
</div>
<div>
<button>Bookmark</button>
</div>
<div class="likes">Liked by <span>72</span> people </div>
<div class="caption">
<a href="https://instagram.com/gabriellewee" target="_blank">gabriellewee</a>
<span>Happy first birthday, Alfie! 🥳🥳🥳 Everybody loves you so much!</span>
</div>
<div class="view-all comment-12">
<a href="https://www.instagram.com/p/CdCGBv8voWh/" target="_blank">View <span>12</span> comment </a>
</div>
<time class="stamp" data-time="2022-05-01T22:47:03+0000">8 months ago</time>
</figcaption>
</figure>
<figure>
<header>
<a class="avatar" href="https://instagram.com/gabriellewee">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg">
</a>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</header>
<img src="https://gabriellew.ee/static/code/images/instagram/19.jpeg" alt="I’ve been working on my work from home setup for the last year or so, and I think I’ve finally gotten it as close to perfect as possible. Just added the @grovemade x @maisyleigh desk pad which was the perfect color 💕">
<figcaption>
<div>
<button>Like</button>
<button>Comment</button>
<button>Share</button>
</div>
<div>
<button>Bookmark</button>
</div>
<div class="likes">Liked by <span>72</span> people </div>
<div class="caption">
<a href="https://instagram.com/gabriellewee" target="_blank">gabriellewee</a>
<span>I’ve been working on my work from home setup for the last year or so, and I think I’ve finally gotten it as close to perfect as possible. Just added the @grovemade x @maisyleigh desk pad which was the perfect color 💕</span>
</div>
<div class="view-all comment-12">
<a href="https://www.instagram.com/p/Cc4DuwDp9Kw/" target="_blank">View <span>12</span> comment </a>
</div>
<time class="stamp" data-time="2022-04-28T01:14:34+0000">9 months ago</time>
</figcaption>
</figure>
<figure>
<header>
<a class="avatar" href="https://instagram.com/gabriellewee">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg">
</a>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</header>
<img src="https://gabriellew.ee/static/code/images/instagram/20.jpeg" alt="My website design from 2022 → 2005. It's so interesting to see how things have changed over the years. It's been over 17 years since I first taught myself how to code, and I'm still learning as I go!">
<figcaption>
<div>
<button>Like</button>
<button>Comment</button>
<button>Share</button>
</div>
<div>
<button>Bookmark</button>
</div>
<div class="likes">Liked by <span>72</span> people </div>
<div class="caption">
<a href="https://instagram.com/gabriellewee" target="_blank">gabriellewee</a>
<span>My website design from 2022 → 2005. It's so interesting to see how things have changed over the years. It's been over 17 years since I first taught myself how to code, and I'm still learning as I go!</span>
</div>
<div class="view-all comment-12">
<a href="https://www.instagram.com/p/CceSqQfpqug/" target="_blank">View <span>12</span> comment </a>
</div>
<time class="stamp" data-time="2022-04-18T01:04:47+0000">9 months ago</time>
</figcaption>
</figure>
<figure>
<header>
<a class="avatar" href="https://instagram.com/gabriellewee">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg">
</a>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</header>
<img src="https://gabriellew.ee/static/code/images/instagram/21.jpeg" alt="The most perfectly packed sushi takeout. It was also delicious. 🍱">
<figcaption>
<div>
<button>Like</button>
<button>Comment</button>
<button>Share</button>
</div>
<div>
<button>Bookmark</button>
</div>
<div class="likes">Liked by <span>72</span> people </div>
<div class="caption">
<a href="https://instagram.com/gabriellewee" target="_blank">gabriellewee</a>
<span>The most perfectly packed sushi takeout. It was also delicious. 🍱</span>
</div>
<div class="view-all comment-12">
<a href="https://www.instagram.com/p/CcY_2TbPgZM/" target="_blank">View <span>12</span> comment </a>
</div>
<time class="stamp" data-time="2022-04-15T23:44:12+0000">9 months ago</time>
</figcaption>
</figure>
<figure>
<header>
<a class="avatar" href="https://instagram.com/gabriellewee">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg">
</a>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</header>
<img src="https://gabriellew.ee/static/code/images/instagram/22.jpeg" alt="Still looking for the perfect place to hang this 🔆">
<figcaption>
<div>
<button>Like</button>
<button>Comment</button>
<button>Share</button>
</div>
<div>
<button>Bookmark</button>
</div>
<div class="likes">Liked by <span>72</span> people </div>
<div class="caption">
<a href="https://instagram.com/gabriellewee" target="_blank">gabriellewee</a>
<span>Still looking for the perfect place to hang this 🔆</span>
</div>
<div class="view-all comment-12">
<a href="https://www.instagram.com/p/Cb5nlxxvJ0V/" target="_blank">View <span>12</span> comment </a>
</div>
<time class="stamp" data-time="2022-04-03T19:15:46+0000">9 months ago</time>
</figcaption>
</figure>
<figure>
<header>
<a class="avatar" href="https://instagram.com/gabriellewee">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg">
</a>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</header>
<img src="https://gabriellew.ee/static/code/images/instagram/23.jpeg" alt="Made this a while ago (literally years) but only now getting around to posting it ✨ #sailormoon">
<figcaption>
<div>
<button>Like</button>
<button>Comment</button>
<button>Share</button>
</div>
<div>
<button>Bookmark</button>
</div>
<div class="likes">Liked by <span>72</span> people </div>
<div class="caption">
<a href="https://instagram.com/gabriellewee" target="_blank">gabriellewee</a>
<span>Made this a while ago (literally years) but only now getting around to posting it ✨ #sailormoon</span>
</div>
<div class="view-all comment-12">
<a href="https://www.instagram.com/p/CbLbaFSPDh-/" target="_blank">View <span>12</span> comment </a>
</div>
<time class="stamp" data-time="2022-03-16T20:44:15+0000">10 months ago</time>
</figcaption>
</figure>
<figure>
<header>
<a class="avatar" href="https://instagram.com/gabriellewee">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg">
</a>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</header>
<img src="https://gabriellew.ee/static/code/images/instagram/24.jpeg" alt="Putting artwork on my wall here for the first time, and @jawcooper’s beautiful “Fruition” is the first one up!">
<figcaption>
<div>
<button>Like</button>
<button>Comment</button>
<button>Share</button>
</div>
<div>
<button>Bookmark</button>
</div>
<div class="likes">Liked by <span>72</span> people </div>
<div class="caption">
<a href="https://instagram.com/gabriellewee" target="_blank">gabriellewee</a>
<span>Putting artwork on my wall here for the first time, and @jawcooper’s beautiful “Fruition” is the first one up!</span>
</div>
<div class="view-all comment-12">
<a href="https://www.instagram.com/p/CbJGK4Bvdsn/" target="_blank">View <span>12</span> comment </a>
</div>
<time class="stamp" data-time="2022-03-15T23:00:11+0000">10 months ago</time>
</figcaption>
</figure>
<figure>
<header>
<a class="avatar" href="https://instagram.com/gabriellewee">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg">
</a>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</header>
<img src="https://gabriellew.ee/static/code/images/instagram/25.jpeg" alt="Hi, I’m alive 👋🏼 2022 really kicked my ass! In January, I had migraines for three straight weeks and wasn’t able to even get out of bed. After the migraines went away, I had brain fog and dimmed senses. Most of February was spent recovering. So I’m finally starting my year in March! Looking forward to the rest of the year ✨">
<figcaption>
<div>
<button>Like</button>
<button>Comment</button>
<button>Share</button>
</div>
<div>
<button>Bookmark</button>
</div>
<div class="likes">Liked by <span>72</span> people </div>
<div class="caption">
<a href="https://instagram.com/gabriellewee" target="_blank">gabriellewee</a>
<span>Hi, I’m alive 👋🏼 2022 really kicked my ass! In January, I had migraines for three straight weeks and wasn’t able to even get out of bed. After the migraines went away, I had brain fog and dimmed senses. Most of February was spent recovering. So I’m finally starting my year in March! Looking forward to the rest of the year ✨</span>
</div>
<div class="view-all comment-12">
<a href="https://www.instagram.com/p/Ca2tv8BPkKJ/" target="_blank">View <span>12</span> comment </a>
</div>
<time class="stamp" data-time="2022-03-08T19:40:28+0000">10 months ago</time>
</figcaption>
</figure>
</div>
</div>
</div>
<div class="content-section profile">
<header id="info">
<h2>
<a href="https://instagram.com/gabriellewee">gabriellewee</a>
</h2>
<hr>
<div class="info">
<div class="avatar">
<img src="https://gabriellew.ee/static/images/avatars/discord@2x.jpg" alt="gabriellewee">
</div>
<ul>
<li>
<strong>25</strong>
<span>posts</span>
</li>
<li>
<strong>800</strong>
<span>followers</span>
</li>
<li>
<strong>900</strong>
<span>following</span>
</li>
<li>
<button>Follow</button>
<button></button>
</li>
</ul>
<div class="desc">
<p>web dev • ui design • game art • plants 🌿 <br>🪴 @ellocasia • 🐱 @greyalphonsecat <br>👩🏻💻 front-end developer at apple </p>
</div>
</div>
</header>
<div class="feed">
<div class="feed-type" id="profile">
<a href="https://www.instagram.com/p/CjT8CywpVc6/">
<span>
<img src="https://gabriellew.ee/static/code/images/instagram/1.jpeg" alt="💜">
</span>
</a>
<a href="https://www.instagram.com/reel/Cis_W0EAXs8/">
<span>
<img src="https://gabriellew.ee/static/code/images/instagram/2.jpeg" alt="New #keycaps from @cantoclicks 🤍 #cozydesksetup #keycap #artisankeycaps #pastelkeycaps #mechanicalkeyboard">
</span>
</a>
<a href="https://www.instagram.com/p/Ch9E4dkuPWN/">
<span>
<img src="https://gabriellew.ee/static/code/images/instagram/3.jpeg" alt="Grateful for another incredible birthday with incredible people 💞 I just wish I had more photos!">
</span>
</a>
<a href="https://www.instagram.com/p/ChQLghePxwo/">
<span>
<img src="https://gabriellew.ee/static/code/images/instagram/4.jpeg" alt="The spread from my sister’s birthday tea party yesterday 🎂">
</span>
</a>
<a href="https://www.instagram.com/p/CguWw7PpXgq/">
<span>
<img src="https://gabriellew.ee/static/code/images/instagram/5.jpeg" alt="7 year friend anniversary with @jeselle.gif - here’s to plenty more years of going down Lombard and other shenanigans ✨">
</span>
</a>
<a href="https://www.instagram.com/p/CgtCStnuxJF/">
<span>
<img src="https://gabriellew.ee/static/code/images/instagram/6.jpeg" alt="I don’t think I’ve ever been so happy to pick up plants 🪴 The @sforchidsociety show was so much fun! 📸 @haydenthewu">
</span>
</a>
<a href="https://www.instagram.com/p/CgbTkGUunMq/">
<span>
<img src="https://gabriellew.ee/static/code/images/instagram/7.jpeg" alt="Listened to @purityring for the first time ten years ago and finally got to see them today 🤍 Had a blast with @jeselle.gif @dr.wily_ @devil.baby666 @pizzamiles">
</span>
</a>
<a href="https://www.instagram.com/p/Cf0ebSYuhMN/">
<span>
<img src="https://gabriellew.ee/static/code/images/instagram/8.jpeg" alt="🎵 And there’s nowhere in the world I’d rather be 🎵 Saw the Music of Selena tonight at the @sfsymphony and had a blast! 📸 @jeselle.gif">
</span>
</a>
<a href="https://www.instagram.com/p/CfNHQddP8p3/">
<span>
<img src="https://gabriellew.ee/static/code/images/instagram/9.jpeg" alt="How have I gone my entire life without ergonomic mice 🤷🏻♀️ 🐁 #logitechlift #logitech #ergonomic">
</span>
</a>
<a href="https://www.instagram.com/p/CfGHkLzO1SI/">
<span>
<img src="https://gabriellew.ee/static/code/images/instagram/10.jpeg" alt="My sister takes good photos of me 👯♀️">
</span>
</a>
<a href="https://www.instagram.com/p/Ce5AFb_LD0y/">
<span>
<img src="https://gabriellew.ee/static/code/images/instagram/11.jpeg" alt="Finished #keyboard ⌨️ @kbdfans Tofu60/DZ64 ⌨️ @gateron.official Ink V2 Silent Black Linear ⌨️ @flashquarkkeys Pom Jelly ⌨️ #mechanicalkeyboard #customkeyboard #keycaps">
</span>
</a>
<a href="https://www.instagram.com/p/CeaOGCJOdq2/">
<span>
<img src="https://gabriellew.ee/static/code/images/instagram/12.jpeg" alt="First custom keyboard build ⌨️ Missing a few white keys but working on getting them soon!">
</span>
</a>
<a href="https://www.instagram.com/p/CeH4xybpN68/">
<span>
<img src="https://gabriellew.ee/static/code/images/instagram/13.jpeg" alt="🌼🌼🌼 📸: @haydenthewu @gabriellewee">
</span>
</a>
<a href="https://www.instagram.com/p/CdhsLmMOZS_/">
<span>
<img src="https://gabriellew.ee/static/code/images/instagram/14.jpeg" alt="Great night out with @the_float_pack 🛴 📸: @haydenthewu">
</span>
</a>
<a href="https://www.instagram.com/p/CdZZi6-pzlT/">
<span>
<img src="https://gabriellew.ee/static/code/images/instagram/15.jpeg" alt="💐">
</span>
</a>
<a href="https://www.instagram.com/p/CdNClxSOvS9/">
<span>
<img src="https://gabriellew.ee/static/code/images/instagram/16.jpeg" alt="💇🏻♀️ ✨">
</span>
</a>
<a href="https://www.instagram.com/tv/CdHGht_AjNw/">
<span>
<img src="https://gabriellew.ee/static/code/images/instagram/17.jpeg" alt="I challenged myself back in 2018 to make every single Pokémon Quest icon with CSS only on @codepen. I finally finished in 2022! Each icon is fully responsive and there's even a CSS-only navigation to sort by type.">
</span>
</a>
<a href="https://www.instagram.com/p/CdCGBv8voWh/">
<span>
<img src="https://gabriellew.ee/static/code/images/instagram/18.jpeg" alt="Happy first birthday, Alfie! 🥳🥳🥳 Everybody loves you so much!">
</span>
</a>
<a href="https://www.instagram.com/p/Cc4DuwDp9Kw/">
<span>
<img src="https://gabriellew.ee/static/code/images/instagram/19.jpeg" alt="I’ve been working on my work from home setup for the last year or so, and I think I’ve finally gotten it as close to perfect as possible. Just added the @grovemade x @maisyleigh desk pad which was the perfect color 💕">
</span>
</a>
<a href="https://www.instagram.com/p/CceSqQfpqug/">
<span>
<img src="https://gabriellew.ee/static/code/images/instagram/20.jpeg" alt="My website design from 2022 → 2005. It's so interesting to see how things have changed over the years. It's been over 17 years since I first taught myself how to code, and I'm still learning as I go!">
</span>
</a>
<a href="https://www.instagram.com/p/CcY_2TbPgZM/">
<span>
<img src="https://gabriellew.ee/static/code/images/instagram/21.jpeg" alt="The most perfectly packed sushi takeout. It was also delicious. 🍱">
</span>
</a>
<a href="https://www.instagram.com/p/Cb5nlxxvJ0V/">
<span>
<img src="https://gabriellew.ee/static/code/images/instagram/22.jpeg" alt="Still looking for the perfect place to hang this 🔆">
</span>
</a>
<a href="https://www.instagram.com/p/CbLbaFSPDh-/">
<span>
<img src="https://gabriellew.ee/static/code/images/instagram/23.jpeg" alt="Made this a while ago (literally years) but only now getting around to posting it ✨ #sailormoon">
</span>
</a>
<a href="https://www.instagram.com/p/CbJGK4Bvdsn/">
<span>
<img src="https://gabriellew.ee/static/code/images/instagram/24.jpeg" alt="Putting artwork on my wall here for the first time, and @jawcooper’s beautiful “Fruition” is the first one up!">
</span>
</a>
<a href="https://www.instagram.com/p/Ca2tv8BPkKJ/">
<span>
<img src="https://gabriellew.ee/static/code/images/instagram/25.jpeg" alt="Hi, I’m alive 👋🏼 2022 really kicked my ass! In January, I had migraines for three straight weeks and wasn’t able to even get out of bed. After the migraines went away, I had brain fog and dimmed senses. Most of February was spent recovering. So I’m finally starting my year in March! Looking forward to the rest of the year ✨">
</span>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
// custom colors
$g1: lighten(#C5C1C6, 10%);
$g2: lighten(#C5C1C6, 2%);
$g3: darken(#C5C1C6, 15%);
$hi: #F5C8BF;
$wh: white;
$bl: darken(#C5C1C6, 50%);
$bg: #E0D2C5;
// default windows 95 colors
// $g1: #ddd;
// $g2: #C0C0C0;
// $g3: #888;
// $hi: #00087E;
// $wh: white;
// $bl: black;
// $bg: #149091;
// arrows
$up: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAGklEQVR4AWMYxuA/SYphmETFhDX9x4mHGQAAcL4P8dQiMq8AAAAASUVORK5CYII=';
$dn: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAQAAAD8fJRsAAAAF0lEQVQY02NgoBf4jwJxSOHQhcNAOgMAWWAP8Rv2U3UAAAAASUVORK5CYII=';
$lt: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAQAAAD8fJRsAAAAHklEQVQY02NgoBT8xyX8H5fwf1zCpOjAYwceV1EEAAO2D/HsQ4vsAAAAAElFTkSuQmCC';
$rt: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAQAAAD8fJRsAAAAHUlEQVQY02NgIB/8xy3xH7fEf9wS/0nUQZqrKAYAK44P8ZRmzLQAAAAASUVORK5CYII=';
$re: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAN0lEQVR4Ae3MgQUAMBRDwU5fFF05lb/CARTBw2Ulof0DxPtcwp3hNuEYnjbcEW4TjuFpwx3h9gMWGgZ2Y/PT2gAAAABJRU5ErkJggg==';
@mixin ch {
background-color: $wh;
background-image: linear-gradient(45deg, lighten($g2, 15%) 25%, transparent 25%, transparent 75%, lighten($g2, 15%) 75%, lighten($g2, 15%)),
linear-gradient(45deg, lighten($g2, 15%) 25%, transparent 25%, transparent 75%, lighten($g2, 15%) 75%, lighten($g2, 15%));
background-size: 2px 2px;
background-position: 0 0, 1px 1px
}
*, *:before, *:after {
cursor: default;
box-sizing: border-box;
user-select: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
*:focus { outline: none!important; }
::selection { background: none; }
body, html { height: 100%; }
body {
display: flex;
align-items: center;
justify-content: center;
background: $bg;
padding: 12px;
color: $bl;
font-family: Tahoma, Helvetica, Arial, sans-serif;
font-size: 11px;
line-height: 11px;
}
button, input {
color: $bl;
appearance: none;
font-family: Tahoma, Helvetica, Arial, sans-serif;
}
a[href] {
cursor: pointer;
}
button {
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
height: 22px;
border: 0;
padding: 0 6px 1px;
background: $g2;
box-shadow: inset -1px -1px 0 0 $bl, inset 1px 1px 0 0 $wh, inset -2px -2px 0 0 $g3, inset 2px 2px 0 0 $g1;
&:active {
@include ch;
box-shadow: inset -1px -1px 0 0 $wh, inset 1px 1px 0 0 $bl, inset -2px -2px 0 0 $g1, inset 2px 2px 0 0 $g2;
color: $bl;
}
}
img {
image-rendering: pixelated;
}
@keyframes fadeIn {
0% { opacity: 0; visibility: hidden; }
100% { opacity: 1; visibility: visible; }
}
.instagram {
opacity: 0;
animation: fadeIn 1000ms ease-out 100ms forwards;
width: 100%;
max-width: 320px;
height: 100%;
min-height: 400px;
max-height: 550px;
padding: 1px;
box-shadow: inset -1px -1px 0 0 $bl, inset 1px 1px 0 0 $g1;
.avatar {
display: block;
img {
display: block;
width: 100%;
}
}
.inner {
width: 100%;
height: 100%;
box-shadow: inset -1px -1px 0 0 $g3, inset 1px 1px 0 0 $wh;
background: $g2;
padding: 3px;
}
.bar {
display: flex;
align-items: center;
align-content: center;
justify-content: space-between;
height: 18px;
padding: 2px;
background: $hi;
color: $wh;
h1 {
padding: 0 0 1px 3px;
font-weight: 700;
}
.buttons {
display: flex;
a {
color: $bl;
display: flex;
align-items: center;
justify-content: center;
position: relative;
margin-left: 2px;
width: 14px;
height: 14px;
padding: 0;
padding-bottom: 10px;
border: 0;
background: $g2;
box-shadow: inset -1px -1px 0 0 $bl, inset 1px 1px 0 0 $wh, inset -2px -2px 0 0 $g3, inset 2px 2px 0 0 $g1;
&:active {
color: $bl;
}
&.minimize {
&:after {
content: "";
display: block;
position: absolute;
bottom: 3px;
left: 4px;
width: 6px;
height: 2px;
background: $bl;
}
}
&.maximize {
&:after {
content: "";
display: block;
position: absolute;
top: 3px;
left: 3px;
width: 8px;
height: 8px;
border: 1px solid $bl;
border-top-width: 2px;
}
}
&.close {
&:before, &:after {
transform-origin: center center;
content: "";
display: block;
position: absolute;
top: 50%;
left: 50%;
margin-top: -4px;
margin-left: -1px;
width: 2px;
height: 8px;
background: $bl;
}
&:before {
transform: rotateZ(-45deg);
}
&:after {
transform: rotateZ(45deg);
}
}
}
}
}
.menu {
ul {
display: flex;
padding: 1px 0;
}
a {
cursor: default;
display: block;
padding: 4px 6px 5px;
color: $bl;
text-decoration: none;
&:first-letter {
text-decoration: underline;
}
&[href] {
cursor: pointer;
&:active {
background: $hi;
color: $wh;
}
}
}
}
.container {
position: relative;
height: calc(100% - 40px);
}
.content {
height: calc(100% - 24px);
.content-section {
opacity: 0;
will-change: opacity, z-index;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
.menu-input, .menu-label {
cursor: pointer;
position: absolute;
bottom: 0;
width: calc(20% - 2px);
height: 22px;
&:nth-of-type(1) {
left: 0;
}
&:nth-of-type(2) {
left: calc(20% + 0.5px);
}
&:nth-of-type(3) {
left: calc(40% + 1px);
}
&:nth-of-type(4) {
left: calc(60% + 1.5px);
}
&:nth-of-type(5) {
left: calc(80% + 2px);
}
}
.menu-label {
display: flex;
align-items: center;
justify-content: center;
padding-bottom: 1px;
z-index: 4;
background: $g2;
box-shadow: inset -1px -1px 0 0 $bl, inset 1px 1px 0 0 $wh, inset -2px -2px 0 0 $g3, inset 2px 2px 0 0 $g1;
}
.menu-input {
opacity: 0;
display: block;
z-index: 3;
margin: 0;
&:not(:disabled):active, &:checked {
+ label {
@include ch;
box-shadow: inset -1px -1px 0 0 $wh, inset 1px 1px 0 0 $bl, inset -2px -2px 0 0 $g1, inset 2px 2px 0 0 $g2;
}
}
&:disabled {
+ label {
cursor: default;
color: $g3;
text-shadow: 1px 1px 0 $wh;
}
}
&:nth-of-type(1) {
&:checked {
~ .content {
.content-section.home {
z-index: 2;
opacity: 1;
}
}
}
}
&:nth-of-type(5) {
&:checked {
~ .content {
.content-section.profile {
z-index: 2;
opacity: 1;
}
}
}
}
}
}
.home {
.feed {
height: calc(100% - 24px);
}
}
.profile {
header {
h2 {
padding: 6px 0 8px;
font-weight: 700;
font-size: 12px;
line-height: 12px;
text-align: center;
a {
text-decoration: none;
color: $bl;
}
}
hr {
border-left: 0;
border-right: 0;
border-top-color: $g3;
border-bottom-color: $g1;
border-style: solid;
margin: 0;
background: none;
width: 100%;
}
.info {
display: flex;
flex-flow: row wrap;
padding: 6px 4px;
.avatar {
width: 60px;
height: 60px;
margin-right: 6px;
}
ul {
display: flex;
flex-flow: row wrap;
align-content: space-between;
width: calc(100% - 66px);
}
li {
width: calc(100% / 3);
text-align: center;
strong, span {
display: block;
line-height: 1.2;
}
strong {
font-weight: 700;
font-size: 14px;
}
span {
color: $g3;
}
&:last-child {
display: flex;
width: 100%;
button {
&:first-child {
width: 100%;
}
&:last-child {
position: relative;
width: 22px;
margin-left: 2px;
&:after {
content: "";
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url($dn);
image-rendering: pixelated;
background-repeat: no-repeat;
background-position: center center;
}
}
}
}
}
.desc {
width: 100%;
padding: 4px 0;
p {
padding: 2px 0;
line-height: 1.3;
}
a {
color: $bl;
}
}
}
}
.feed {
height: calc(100% - 179px);
}
}
.feed {
padding: 2px;
box-shadow: inset -1px -1px 0 0 $g1, inset 1px 1px 0 0 $g3, inset -2px -2px 0 0 $g2, inset 2px 2px 0 0 $bl;
.feed-type {
height: 100%;
overflow: auto;
}
#home {
a {
text-decoration: none;
color: $bl;
font-weight: 700;
}
figure {
padding: 2px;
&:not(:last-child) {
margin-bottom: 22px;
}
header {
display: flex;
align-items: center;
padding: 4px 4px 6px;
.avatar {
width: 32px;
}
a {
display: block;
margin-right: 8px;
font-size: 12px;
line-height: 12px;
&:last-child {
padding-bottom: 1px;
}
}
}
figcaption {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
padding: 3px 1px;
> div {
padding: 3px;
&:first-child {
display: flex;
button {
margin: 0 6px 0 0;
}
}
}
.caption {
line-height: 1.2;
width: 100%;
}
.likes {
span:empty {
&:after {
content: "13";
}
}
}
.view-all {
width: 100%;
a {
display: block;
font-weight: 400;
color: $g3;
}
&.comment-0 {
padding: 0;
a {
display: none;
}
}
&:not(.comment-1):not(.comment-0) {
a {
span:before {
content: "all ";
}
&:after {
content: "s";
}
}
}
}
time {
display: block;
width: 100%;
padding: 3px;
color: $g3;
font-size: 9px;
line-height: 9px;
text-transform: uppercase;
}
}
img {
display: block;
width: 100%;
}
}
}
#profile {
display: flex;
flex-flow: row wrap;
padding: 1px;
a {
width: calc(100% / 3);
display: block;
border: 1px solid $g2;
&:active {
border: 1px dotted $bl;
}
}
span {
display: block;
position: relative;
overflow: hidden;
}
img {
display: block;
width: 100%;
aspect-ratio: 1 / 1;
object-fit: cover;
}
}
}
// scrollbar
// https://codepen.io/louh/pen/oZJQvm
::-webkit-scrollbar {
width: 16px;
height: 16px;
}
::-webkit-scrollbar-track {
@include ch;
&:active {}
}
::-webkit-scrollbar-thumb {
box-shadow: inset -1px -1px 0 0 $bl, inset 1px 1px 0 0 $g2, inset -2px -2px 0 0 $g3, inset 2px 2px 0 0 $wh;
width: 16px;
height: 16px;
background-color: $g2;
z-index: 1;
}
::-webkit-scrollbar-corner {
background-color: $g2;
}
::-webkit-resizer {
width: 16px;
height: 16px;
background-color: $g2;
background-image: url($re);
background-position: bottom right;
background-repeat: no-repeat;
image-rendering: pixelated;
}
::-webkit-scrollbar-button {
box-shadow: inset -1px -1px 0 0 $bl, inset 1px 1px 0 0 $g2, inset -2px -2px 0 0 $g3, inset 2px 2px 0 0 $wh;
display: block;
width: 16px;
height: 16px;
background-color: $g2;
image-rendering: pixelated;
background-repeat: no-repeat;
background-position: 65% center;
&:active {
background-position: 2px 2px;
}
&:horizontal:decrement {
background-image: url($lt);
}
&:horizontal:increment {
background-image: url($rt);
}
&:vertical:decrement {
background-image: url($up);
}
&:vertical:increment {
background-image: url($dn);
}
&:horizontal:increment:start { display: none; }
&:horizontal:decrement:end { display: none; }
&:vertical:increment:start { display: none; }
&:vertical:decrement:end { display: none; }
&:active {
border-top: 1px solid $g3;
border-left: 1px solid $g3;
border-bottom: 1px solid $g3;
border-right: 1px solid $g3;
box-shadow: none;
}
}
// Instagram.exe is now JS free as of January 15, 2023.
// This is to prevent any further bugs from Instagram/Meta API updates.
Also see: Tab Triggers