thelounge-theme-newnet/theme.css

221 lines
5.0 KiB
CSS
Raw Normal View History

2017-06-16 08:22:46 +00:00
/*!
2024-08-28 22:02:17 +00:00
* Newnet
2017-06-16 08:22:46 +00:00
*
2024-08-28 22:02:17 +00:00
* URL: https://github.com/newnetirc/lounge-theme-newnet
2017-06-16 08:22:46 +00:00
* License: MIT
2024-08-28 22:02:17 +00:00
* forked by deepend
2017-06-16 08:22:46 +00:00
*/
/* Import the Martian Mono font */
@import url('https://fonts.googleapis.com/css2?family=Martian+Mono:wght@400;500;600;700&display=swap');
2019-01-15 16:51:18 +00:00
* {
font-family: 'Martian Mono', monospace;
2024-08-29 19:15:50 +00:00
font-size: 16px; /* Match base font size with Newnet site */
2017-06-16 08:22:46 +00:00
}
2024-08-28 22:02:17 +00:00
/* General Colors and Backgrounds */
:root {
2024-08-28 22:02:17 +00:00
--body-bg-color: #121212; /* Website background color */
2024-08-29 19:15:50 +00:00
--window-bg-color: #1b1b1b; /* Section backgrounds on the website */
2024-08-28 22:02:17 +00:00
--body-color: #f0f0f0; /* General text color */
--body-color-muted: #666666; /* Muted text, for less emphasis */
--link-color: #00ffcc; /* Neon color for links */
--unread-marker-color: #00ffcc; /* Neon color */
--date-marker-color: #00ffcc; /* Use neon color for consistency */
--highlight-bg-color: #1b1b1b; /* Slightly darker than the body background */
--highlight-border-color: #00ffcc; /* Neon color for border */
--background-light-color: #1b1b1b; /* Background for highlighted items */
--overlay-bg-color: rgba(0, 0, 0, 0.8); /* Dark overlay for modals or menus */
}
/* Adjust Scrollbars */
::-webkit-scrollbar-thumb:vertical {
2024-08-28 22:02:17 +00:00
background: #00ffcc;
}
::-webkit-scrollbar-thumb:vertical:hover {
2024-08-28 22:02:17 +00:00
background: #00ffcc;
}
::-webkit-scrollbar-thumb:vertical:active {
2024-08-28 22:02:17 +00:00
background: #00ffcc;
}
html {
2024-08-28 22:02:17 +00:00
scrollbar-color: #00ffcc #1b1b1b;
scrollbar-width: thin;
2024-08-29 19:15:50 +00:00
font-size: 16px; /* Match base font size with Newnet site */
}
2024-08-28 22:02:17 +00:00
/* Hide Logos */
2018-07-14 18:03:04 +00:00
#loading .logo,
2018-07-16 04:07:23 +00:00
.logo-container,
2024-08-28 22:02:17 +00:00
.window .logo,
2018-07-14 18:03:04 +00:00
#loading .logo-inverted,
2019-12-10 13:04:19 +00:00
.window .logo-inverted {
2024-08-28 22:02:17 +00:00
display: none;
}
2018-06-19 10:15:36 +00:00
#sidebar .logo-inverted {
2024-08-28 22:02:17 +00:00
height: 35px;
2017-06-16 08:22:46 +00:00
}
2024-08-28 22:02:17 +00:00
/* User Interface Elements */
2018-02-23 15:19:02 +00:00
.irc-monospace,
2017-12-24 08:53:05 +00:00
pre,
code,
kbd {
2024-08-28 22:02:17 +00:00
color: #f0f0f0;
background-color: #1b1b1b;
border-color: #00ffcc;
box-shadow: none;
text-shadow: none;
2024-08-29 19:15:50 +00:00
font-size: 1rem; /* Match font size with general text */
2017-06-16 08:22:46 +00:00
}
2018-03-03 17:46:56 +00:00
#context-menu,
.textcomplete-menu {
2024-08-28 22:02:17 +00:00
border: 0;
background-color: #1b1b1b;
color: #f0f0f0;
}
.context-menu-item,
2024-08-28 22:02:17 +00:00
.textcomplete-item a {
color: #f0f0f0;
2017-06-16 08:22:46 +00:00
}
2024-08-28 22:02:17 +00:00
/* Sidebar and Navigation */
#sidebar {
background-color: #1b1b1b;
2017-06-16 08:22:46 +00:00
}
2024-08-28 22:02:17 +00:00
#sidebar .network,
#sidebar .network-placeholder {
margin-bottom: 1em;
color: #00ffcc;
2017-06-16 08:22:46 +00:00
}
2024-08-28 22:02:17 +00:00
#sidebar .channel-list-item[data-type="query"]::before,
#sidebar .channel-list-item[data-type="channel"]::before {
content: "";
2017-06-16 08:22:46 +00:00
}
2024-08-28 22:02:17 +00:00
.channel-list-item.active {
background-color: #121212;
2017-06-16 08:22:46 +00:00
}
2024-08-28 22:02:17 +00:00
/* Input, Forms, and Buttons */
2017-06-16 08:22:46 +00:00
#input,
2019-12-10 13:04:19 +00:00
#form .input,
2017-06-16 08:22:46 +00:00
#form,
2018-03-09 07:19:40 +00:00
#chat .userlist .count {
2024-08-28 22:02:17 +00:00
background-color: #1b1b1b;
color: #f0f0f0;
2017-11-26 12:29:53 +00:00
}
2024-08-28 22:02:17 +00:00
#chat .show-more .btn {
background: #1b1b1b;
color: #00ffcc;
border: 2px solid #00ffcc;
border-radius: 0;
text-transform: uppercase;
transition: background 0.3s ease;
2024-08-29 18:36:47 +00:00
font-size: 1rem; /* Match font size with general text */
2019-01-15 16:51:18 +00:00
}
2024-08-28 22:02:17 +00:00
#chat .show-more .btn:hover {
background-color: #00ffcc;
color: #121212;
box-shadow: 0px 0px 20px #00ffcc, 0px 0px 30px #00ffcc, 0px 0px 40px #00ffcc;
2017-06-16 08:22:46 +00:00
}
2024-08-28 22:02:17 +00:00
.btn-reconnect {
2024-08-29 18:36:47 +00:00
background: #1b1b1b; /* Updated to match the rest of the buttons */
color: #00ffcc;
border: 2px solid #00ffcc;
2024-08-28 22:02:17 +00:00
border-radius: 0;
margin: 0;
2024-08-29 18:36:47 +00:00
text-transform: uppercase;
transition: background 0.3s ease;
padding: 10px 30px;
}
.btn-reconnect:hover {
background-color: #00ffcc;
color: #121212;
box-shadow: 0px 0px 20px #00ffcc, 0px 0px 30px #00ffcc, 0px 0px 40px #00ffcc;
}
2024-08-29 19:42:20 +00:00
/* General button styles */
2024-08-29 19:51:03 +00:00
.btn {
2024-08-29 19:59:09 +00:00
background-color: #1b1b1b;
2024-08-29 19:55:53 +00:00
color: #00ffcc;
2024-08-29 19:42:20 +00:00
border: 2px solid #00ffcc;
text-transform: uppercase;
transition: all 0.3s ease;
padding: 10px 30px;
font-size: 1rem; /* Match font size with the rest of the site */
2024-08-29 19:51:03 +00:00
cursor: pointer;
2024-08-29 19:42:20 +00:00
}
2024-08-29 19:51:03 +00:00
.btn:hover {
2024-08-29 19:42:20 +00:00
background-color: #00ffcc;
2024-08-29 19:51:03 +00:00
color: #121212; /* Ensure the text color remains black on hover */
2024-08-29 19:42:20 +00:00
box-shadow: 0px 0px 20px #00ffcc, 0px 0px 30px #00ffcc, 0px 0px 40px #00ffcc;
}
2024-08-28 22:02:17 +00:00
/* Footer */
2017-06-16 08:22:46 +00:00
#footer {
2024-08-28 22:02:17 +00:00
height: 43px;
line-height: 43px;
background-color: #1b1b1b;
border-top: 2px solid #00ffcc;
color: #f0f0f0;
2017-06-16 08:22:46 +00:00
}
2024-08-28 22:02:17 +00:00
/* Chat Window and Messages */
#loading,
#chat .userlist,
.window,
body {
background-color: #121212;
color: #f0f0f0;
2024-08-29 19:15:50 +00:00
font-size: 1rem; /* Match font size with Newnet site */
}
#chat .self {
2024-08-28 22:02:17 +00:00
background: linear-gradient(to right, #1b1b1b 5px, #121212 5px);
2017-06-16 08:22:46 +00:00
}
2017-06-16 08:40:38 +00:00
2024-08-28 22:02:17 +00:00
/* Highlighted Messages */
#chat .chat-view[data-type="channel"] .highlight .toggle-content {
background-color: #1b1b1b;
2017-06-16 08:22:46 +00:00
}
2019-12-15 18:06:20 +00:00
#chat .msg[data-type="motd"] .text,
#chat .toggle-content {
2024-08-28 22:02:17 +00:00
background-color: #1b1b1b;
}
#chat .toggle-content,
#chat .toggle-text .body,
#chat .toggle-type-error {
2024-08-28 22:02:17 +00:00
color: #666666;
}
2024-08-28 22:02:17 +00:00
/* Color Adjustments for IRC Nicks */
.irc-fg2 { color: #00ffcc; }
.irc-fg5 { color: #00ffcc; }
.irc-fg6 { color: #00ffcc; }
.irc-fg12 { color: #00ffcc; }
2017-06-16 08:22:46 +00:00
2024-08-28 22:02:17 +00:00
/* Mobile Adjustments */
2017-06-16 08:22:46 +00:00
@media (max-width: 479px) {
2024-08-28 22:02:17 +00:00
#chat .msg[data-type="message"] .from .user::before {
content: "<";
}
#chat .msg[data-type="message"] .from .user::after {
content: ">";
}
2017-06-16 08:22:46 +00:00
}