Let It Snow (on Your Intranet)

Snow, lights and a countdown to bring cheer to your site
December 1, 2026
•
4 min
•
by
Therese Alburg

Your site deserves some Christmas cheer. Add falling snow, blinking lights and a countdown to the holidays with a few snippets of code. Here's how we did it.

It's that time of year again. Mariah is defrosted, daylight is a myth, and your colleagues have started booking meetings called "quick sync before the break?"

Your site is the page people open every morning, so give it some Christmas cheer too.

Here are four ways to deck your digital halls, plus the code we used to turn the Refined intranet into a winter wonderland. (It took some questionable coding decisions and a sprinkle of definitely-not-supported custom code.)

1. Let it snow, let it snow, let it snow

Snowflakes drifting gently across every page are the quickest way to make your site feel festive. People notice it the second they log in.

How we did it

A few lines of CSS and some Unicode snowflakes later, our intranet looked like a screensaver from a very cozy 1998.

  • Is it functional? No.
  • Is it festive? Extremely.
  • Does it make you feel like you should be holding hot chocolate during standup? Absolutely.

2. Give your logo (or co-workers) a Santa hat

Every workplace has holiday traditions. Some hang wreaths. Some wear matching sweaters. Yours can put a Santa hat on your logo, mascot, or pictures of co-workers. Make festive versions, upload them for December, and swap them back in January.

How we did it

We gave our co-workers Santa hats. Digitally, so nobody had to wear one to standup.

  • Is it flattering? Mostly.
  • Did anyone ask for it? No.
  • Does it spark joy? 100%.

Pro tip: ask before you hat someone. Most people say yes, and the ones who say no will still enjoy seeing everyone else in one.

3. String up some Christmas lights

Nothing says "corporate holiday spirit" like a blinking light chain across your navigation bar.

The lights don't improve usability. They don't improve productivity. But they do improve vibes, and that's basically an OKR in December.

How we did it

Our light strand uses a lovingly chaotic CSS animation that would make any front-end developer whisper, "well… technically it works."

And that, friends, is the real meaning of Christmas.

4. Count down to Christmas

A countdown banner tells everyone exactly how many days, hours, minutes and seconds stand between them and the break. Put it at the top of a landing page and nobody can miss it.

  • Count down to December 24 or 25. You change one number in the code.
  • On the day itself, the timer is replaced by a "Merry Christmas!" message.
  • It counts down in each visitor's own time zone.

How we did it

Ours sits right above the hub cards on our intranet landing page. It counts down to the 24th, because we're a Swedish company and in Sweden Christmas happens on Christmas Eve, with the food, the presents and Donald Duck on TV at 3 pm.

Add the code to your site

Everything above runs on a few small snippets:

  • Snow and lights go in your site's custom code settings, so they show on every page.
  • The countdown goes in an HTML module, so it only shows on the landing page you choose.

Snow and lights (whole site)

  1. Go to the Refined Administration and click Sites.
  2. Select your site and open the Configuration tab.
  3. Scroll down to Custom code.
  4. Paste the CSS into Custom CSS and the HTML into Custom HTML. Keep each in its own field, because the CSS field ignores HTML tags.

Custom CSS:

CSS
Holiday decorations: snow and lights
/* Holiday decorations: snow + lights. Remove in January. */
@keyframes snowflakes-fall { 0% { top: -10%; } 100% { top: 100%; } }
@keyframes snowflakes-shake { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(80px); } }

.snowflake {
  position: fixed;
  top: -10%;
  z-index: 9999;
  user-select: none;
  pointer-events: none;
  animation-name: snowflakes-fall, snowflakes-shake;
  animation-duration: 10s, 3s;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
}
.snowflake:nth-of-type(1)  { left: 1%;  animation-delay: 0s, 0s; }
.snowflake:nth-of-type(2)  { left: 10%; animation-delay: 1s, 1s; }
.snowflake:nth-of-type(3)  { left: 20%; animation-delay: 6s, .5s; }
.snowflake:nth-of-type(4)  { left: 30%; animation-delay: 4s, 2s; }
.snowflake:nth-of-type(5)  { left: 40%; animation-delay: 2s, 2s; }
.snowflake:nth-of-type(6)  { left: 50%; animation-delay: 8s, 3s; }
.snowflake:nth-of-type(7)  { left: 60%; animation-delay: 6s, 2s; }
.snowflake:nth-of-type(8)  { left: 70%; animation-delay: 2.5s, 1s; }
.snowflake:nth-of-type(9)  { left: 80%; animation-delay: 1s, 0s; }
.snowflake:nth-of-type(10) { left: 90%; animation-delay: 3s, 1.5s; }

.strand {
  position: absolute;
  z-index: 999;
  width: 100%;
  margin: -36px 0 0;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  text-align: center;
  pointer-events: none;
}
.strand li {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 28px;
  margin: 20px;
  padding: 0;
  list-style: none;
  border-radius: 50%;
  background: #f02241;
  animation: flash-1 2s infinite both;
}
.strand li:nth-child(odd)  { background: #42b261; animation-name: flash-2; animation-duration: 1.8s; }
.strand li:nth-child(4n+2) { background: #4280b2; animation-name: flash-3; animation-duration: 1.1s; }
.strand li:nth-child(3n+1) { animation-duration: 1.4s; }
.strand li:first-child { margin-left: 40px; }
.strand li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 1px;
  width: 10px;
  height: 9px;
  border-radius: 3px;
  background: #222;
}
.strand li::after {
  content: "";
  position: absolute;
  top: -14px;
  left: 9px;
  width: 52px;
  height: 19px;
  border-bottom: 2px solid #222;
  border-radius: 50%;
}
.strand li:last-child::after { content: none; }

@keyframes flash-1 { 0%, 100% { background: #f02241; box-shadow: 0 5px 24px 3px #f02241; } 50% { background: rgba(240,34,65,.4); box-shadow: 0 5px 24px 3px rgba(240,34,65,.2); } }
@keyframes flash-2 { 0%, 100% { background: #42b261; box-shadow: 0 5px 24px 3px #42b261; } 50% { background: rgba(66,178,97,.4); box-shadow: 0 5px 24px 3px rgba(66,178,97,.2); } }
@keyframes flash-3 { 0%, 100% { background: #4280b2; box-shadow: 0 5px 24px 3px #4280b2; } 50% { background: rgba(66,128,178,.4); box-shadow: 0 5px 24px 3px rgba(66,128,178,.2); } }

Custom HTML:

HTML
Holiday decorations: snow and lights
<!-- Holiday decorations. Remove in January. -->
<div class="snowflakes" style="color:#fff; font-size:1em; text-shadow:0 0 1px #000;" aria-hidden="true">
  <div class="snowflake">❅</div><div class="snowflake">❅</div><div class="snowflake">❆</div>
  <div class="snowflake">❄</div><div class="snowflake">❅</div><div class="snowflake">❆</div>
  <div class="snowflake">❄</div><div class="snowflake">❅</div><div class="snowflake">❆</div>
  <div class="snowflake">❄</div>
</div>
<ul class="strand" aria-hidden="true">
  <li></li><li></li><li></li><li></li><li></li><li></li>
  <li></li><li></li><li></li><li></li><li></li><li></li>
  <li></li><li></li><li></li><li></li><li></li><li></li>
  <li></li><li></li><li></li><li></li><li></li><li></li>
  <li></li><li></li><li></li><li></li><li></li><li></li>
  <li></li><li></li><li></li><li></li><li></li><li></li>
  <li></li><li></li><li></li><li></li><li></li><li></li>
</ul>

The countdown (one landing page)

  1. Make sure the HTML module is on. In Configuration, under Security, toggle Enable HTML module on.
  2. Open the landing page, click Edit page, and add an HTML module where you want the banner.
  3. Paste the whole snippet into the module.
  4. In the module settings, set Background to None and Padding inside to Tight. The banner has its own background, so this avoids a box inside a box.
  5. Change the four --rf-xmas-* colors to match your site.
  6. Set DAY to 25 if you celebrate on Christmas Day.
HTML
Christmas countdown banner
<!-- Christmas countdown banner. Colors are in the --rf-xmas-* variables; date and wording are in the script. -->
<div class="rf-xmas" id="rf-xmas" role="timer" aria-live="off">
  <div class="rf-xmas__intro">
    <p class="rf-xmas__title"></p>
    <p class="rf-xmas__sub"></p>
  </div>
  <div class="rf-xmas__grid">
    <div class="rf-xmas__cell"><span class="rf-xmas__num" data-unit="days">--</span><span class="rf-xmas__unit" data-label="days">days</span></div>
    <div class="rf-xmas__cell"><span class="rf-xmas__num" data-unit="hours">--</span><span class="rf-xmas__unit" data-label="hours">hours</span></div>
    <div class="rf-xmas__cell"><span class="rf-xmas__num" data-unit="minutes">--</span><span class="rf-xmas__unit" data-label="minutes">minutes</span></div>
    <div class="rf-xmas__cell"><span class="rf-xmas__num" data-unit="seconds">--</span><span class="rf-xmas__unit" data-label="seconds">seconds</span></div>
  </div>
  <p class="rf-xmas__done" hidden></p>
</div>

<style>
  .rf-xmas {
    --rf-xmas-green-dark: #064a3e;
    --rf-xmas-green-light: #11805f;
    --rf-xmas-text: #0b4d40;
    --rf-xmas-surface: #eef6f2;
    font-family: inherit;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 28px 36px;
    background: var(--rf-xmas-surface);
    color: var(--rf-xmas-text);
    border-radius: 16px;
    box-shadow: 0 1px 4px rgba(6, 74, 62, 0.10);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    flex-wrap: wrap;
  }
  .rf-xmas *, .rf-xmas *::before, .rf-xmas *::after { box-sizing: border-box; }
  .rf-xmas__intro { min-width: 0; }
  .rf-xmas__title { margin: 0; color: var(--rf-xmas-green-dark); font-size: clamp(1.35rem, 2.2vw, 1.85rem); font-weight: 600; line-height: 1.2; }
  .rf-xmas__sub { margin: 6px 0 0; font-size: 1.05rem; line-height: 1.4; }
  .rf-xmas__grid { display: grid; grid-template-columns: repeat(4, minmax(84px, 1fr)); gap: 12px; }
  .rf-xmas__cell { display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .rf-xmas__num {
    display: block;
    width: 100%;
    padding: 14px 10px;
    border-radius: 10px;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(180deg, var(--rf-xmas-green-dark), var(--rf-xmas-green-light));
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
  }
  .rf-xmas__unit { font-size: 0.95rem; line-height: 1.2; }
  .rf-xmas__done { margin: 0; color: var(--rf-xmas-green-dark); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
  @media (max-width: 700px) {
    .rf-xmas { padding: 22px 20px; border-radius: 12px; }
    .rf-xmas__grid { width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  }
</style>

<script>
(function () {
  // ---- Settings ----------------------------------------------------------
  var DAY = 24; // 24 = Christmas Eve, 25 = Christmas Day
  var TEXT = {
    title: "Countdown to Christmas Eve",   // use "Countdown to Christmas" if DAY is 25
    sub: "December " + DAY,
    done: "Merry Christmas!",            // shown all day on the target day
    units: { days: ["day", "days"], hours: ["hour", "hours"], minutes: ["minute", "minutes"], seconds: ["second", "seconds"] }
  };
  // Swedish version:
  // title: "Nedräkning till julafton", sub: DAY + " december", done: "God jul!",
  // units: { days: ["dag","dagar"], hours: ["timme","timmar"], minutes: ["minut","minuter"], seconds: ["sekund","sekunder"] }
  // -----------------------------------------------------------------------

  var root = document.getElementById("rf-xmas");
  if (!root) return;
  var grid = root.querySelector(".rf-xmas__grid");
  var intro = root.querySelector(".rf-xmas__intro");
  var done = root.querySelector(".rf-xmas__done");
  root.querySelector(".rf-xmas__title").textContent = TEXT.title;
  root.querySelector(".rf-xmas__sub").textContent = TEXT.sub;
  done.textContent = TEXT.done;

  function target(now) {
    // Midnight at the start of the target day, in the visitor's own time zone.
    var y = now.getFullYear();
    var t = new Date(y, 11, DAY);
    if (now >= new Date(y, 11, DAY + 1)) t = new Date(y + 1, 11, DAY);
    return t;
  }

  function set(unit, value) {
    root.querySelector('[data-unit="' + unit + '"]').textContent = unit === "days" ? String(value) : String(value).padStart(2, "0");
    root.querySelector('[data-label="' + unit + '"]').textContent = TEXT.units[unit][value === 1 ? 0 : 1];
  }

  function tick() {
    var now = new Date();
    var isDay = now.getMonth() === 11 && now.getDate() === DAY;
    grid.hidden = isDay;
    intro.hidden = isDay;
    done.hidden = !isDay;
    if (isDay) return;

    var s = Math.floor(Math.max(0, target(now) - now) / 1000);
    set("days", Math.floor(s / 86400));
    set("hours", Math.floor((s % 86400) / 3600));
    set("minutes", Math.floor((s % 3600) / 60));
    set("seconds", s % 60);
  }

  tick();
  setInterval(tick, 1000);
})();
</script>

Before you paste

  • Custom code isn't covered by Refined support, and we may change the site's HTML structure at any time. But gingerbread houses built at 1 am aren't supported either, and we all make those anyway.
  • Set a calendar reminder to take it all down in January. Snow in February is less charming.

What happened when we did it

Within minutes of decorating our intranet, we received:

  • "Wait, why is it snowing on the intranet?"
  • "Did my colleague always wear a Santa hat?"
  • "Only 26 days?? I haven't bought a single present."
  • "My computer isn't broken, right?"
  • "LOL."

That's exactly the kind of cross-company engagement every intranet manager dreams of.

'Tis the season for play

The holidays are hectic, but they're also a perfect excuse to add some fun to everyday tools, especially the ones people open every single morning.

A festive site:

  • boosts morale
  • spreads cheer
  • makes the HR policies page feel 23% more magical
  • reminds everyone that the break is coming soon… soonish… eventually

So go ahead:
Give your logo a hat. Add some snow. Blink some lights. Start the countdown. Bring joy.

And if anyone asks? It was absolutely part of the 2026 Internal Engagement Strategy.

Your turn

Categories:
Intranets
Guides
Page Builder
June 18, 2024
•
7 min read
Personalizing your Confluence intranet? Start with these 3 areas
Philip Garrity
Learn how to personalize specific areas of your Confluence intranet, such as the homepage, the navigation experience, and the service points.

Ready to upgrade the Atlassian experience?

Build a trusted front door for knowledge and service.
Delivering more from Atlassian at top brands worldwide.