Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions web/css/tpen.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,45 @@
#announcementBanner.platform-announcement {
background: linear-gradient(90deg, #ffe066 0%, #ffd700 100%);
color: #333;
border: 2px solid #ffae00;
border-radius: 8px;
padding: 1em 2em;
margin: 0.5em auto 0.5em auto;
max-width: 700px;
font-size: 1.15em;
font-weight: 600;
display: flex;
align-items: center;
box-shadow: 0 2px 12px rgba(255, 174, 0, 0.15);
animation: pulseBanner 1.2s infinite alternate;
z-index: 100;
}

.announcement-icon {
font-size: 2em;
margin-right: 0.75em;
animation: bounceIcon 1.2s infinite alternate;
}

.announcement-text a {
color: #a65c00;
text-decoration: underline;
font-weight: bold;
transition: color 0.2s;
}
.announcement-text a:hover {
color: #ff6600;
}

@keyframes pulseBanner {
0% { box-shadow: 0 2px 12px rgba(255, 174, 0, 0.15); }
100% { box-shadow: 0 4px 24px 4px rgba(255, 174, 0, 0.35); }
}

@keyframes bounceIcon {
0% { transform: translateY(0); }
100% { transform: translateY(-8px) scale(1.1); }
}
/* Reset */
body *{ /* Change default behavior from content-box */
-webkit-box-sizing:border-box;
Expand Down
12 changes: 10 additions & 2 deletions web/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -402,12 +402,20 @@
<div align="center" class="tagline">
transcription for paleographical and editorial notation</div>
<div id="header2">
<div id="maintenance" class="loud">
<!-- <div id="maintenance" class="loud">
<span class="ui-icon ui-icon-info left"></span>
Scheduled Maintenance: <span id="schedmaintenance"></span>
<span id="countdown"></span> <br>
<span id="upgradeMessage"></span>
<script type="text/javascript">maintenanceDate();</script>
<script type="text/javascript">maintenanceDate();</script> -->
<div id="announcementBanner" class="platform-announcement">
<span class="announcement-icon" aria-hidden="true">🚀</span>
<span class="announcement-text">
<strong>New Platform Early Access:</strong>
<a href="https://three.t-pen.org/announcements/2026/03/17/early-access-announcement.html" target="_blank" rel="noopener noreferrer">
Try the freedom of TPEN 3.0! Developing in early access&hellip;
</a>
</span>
</div>
<%
// #266 This only returns the person in session at the moment...
Expand Down