MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary Tag: Reverted |
||
| Line 13: | Line 13: | ||
bottom: 20px; | bottom: 20px; | ||
right: 20px; | right: 20px; | ||
width: 72px; | |||
border-radius: | height: 72px; | ||
border-radius: 50%; | |||
background: #990000; | background: #990000; | ||
color: white; | color: white; | ||
font-size: | font-size: 32px; | ||
border: none; | border: none; | ||
cursor: pointer; | cursor: pointer; | ||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); | box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); | ||
z-index: 9999; | z-index: 9999; | ||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
} | } | ||
#nanofab-chat-btn:hover { background: #b30000; } | #nanofab-chat-btn:hover { background: #b30000; } | ||
| Line 28: | Line 31: | ||
#nanofab-chat-wrap { | #nanofab-chat-wrap { | ||
position: fixed; | position: fixed; | ||
bottom: | bottom: 104px; | ||
right: 20px; | right: 20px; | ||
width: 400px; | width: 400px; | ||
| Line 37: | Line 40: | ||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); | ||
background: white; | background: white; | ||
} | } | ||
| Line 47: | Line 45: | ||
display: none; | display: none; | ||
position: fixed; | position: fixed; | ||
bottom: | bottom: 104px; | ||
right: 20px; | right: 20px; | ||
max-width: 230px; | max-width: 230px; | ||
| Line 59: | Line 57: | ||
z-index: 9999; | z-index: 9999; | ||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
| Line 85: | Line 62: | ||
#nanofab-chat-wrap { | #nanofab-chat-wrap { | ||
width: calc(100vw - 20px); | width: calc(100vw - 20px); | ||
height: calc(100vh - | height: calc(100vh - 124px); | ||
right: 10px; | right: 10px; | ||
bottom: | bottom: 94px; | ||
} | } | ||
} | } | ||
Revision as of 16:19, 18 August 2026
/* CSS placed here will be applied to all skins */
.sticky-header [id],
.sticky-header-multi [id] {
scroll-margin-top: 80px;
vertical-align: top;
}
/*Update by Chandan Ramakrishnaiah Aug 18 2026*/
/* NanoFab Chat Assistant styles */
#nanofab-chat-btn {
position: fixed;
bottom: 20px;
right: 20px;
width: 72px;
height: 72px;
border-radius: 50%;
background: #990000;
color: white;
font-size: 32px;
border: none;
cursor: pointer;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
}
#nanofab-chat-btn:hover { background: #b30000; }
#nanofab-chat-wrap {
position: fixed;
bottom: 104px;
right: 20px;
width: 400px;
height: 600px;
z-index: 9998;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
background: white;
}
#nanofab-chat-greeting {
display: none;
position: fixed;
bottom: 104px;
right: 20px;
max-width: 230px;
background: white;
color: #202122;
font-size: 14px;
line-height: 1.4;
padding: 12px 32px 12px 14px;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
z-index: 9999;
cursor: pointer;
}
@media (max-width: 600px) {
#nanofab-chat-wrap {
width: calc(100vw - 20px);
height: calc(100vh - 124px);
right: 10px;
bottom: 94px;
}
}