Content deleted Content added
Polygnotus (talk | contribs) ←Created page with '(function() { 'use strict'; class WikipediaClaudeProofreader { constructor() { this.apiKey = localStorage.getItem('claude_api_key'); this.sidebarWidth = localStorage.getItem('claude_sidebar_width') || '350px'; this.isVisible = localStorage.getItem('claude_sidebar_visible') !== 'false'; this.currentResults = localStorage.getItem('claude_current_results') || ''; this.init(); }...' |
Polygnotus (talk | contribs) No edit summary |
||
Line 190:
}
/* Universal theme compatibility -
body.claude-sidebar-visible {
margin-right: ${this.sidebarWidth} !important;
max-width: calc(100% - ${this.sidebarWidth}) !important;▼
}
/* Target
body.claude-sidebar-visible .mw-page-container,
body.claude-sidebar-visible
body.claude-sidebar-visible #mw-head-base,▼
body.claude-sidebar-visible #content,▼
margin-right: ${this.sidebarWidth} !important;▼
}
/*
body.claude-sidebar-visible .vector-header
body.claude-sidebar-visible .vector-sticky-header,
body.claude-sidebar-visible
right: ${this.sidebarWidth} !important;
width: calc(100% - ${this.sidebarWidth}) !important;
Line 251 ⟶ 227:
}
/* Reset
body:not(.claude-sidebar-visible) {
margin-right: 0 !important;
}
body:not(.claude-sidebar-visible) .mw-page-container,
body:not(.claude-sidebar-visible)
margin-right: 0 !important;
}
body:not(.claude-sidebar-visible) .vector-sticky-header,
body:not(.claude-sidebar-visible)
right: 0 !important;
width: 100% !important;
Line 380 ⟶ 336:
body.claude-sidebar-visible {
margin-right: ${this.sidebarWidth} !important;
}
body.claude-sidebar-visible .mw-page-container,
body.claude-sidebar-visible
}
body.claude-sidebar-visible .vector-sticky-header,
body.claude-sidebar-visible
right: ${this.sidebarWidth} !important;
width: calc(100% - ${this.sidebarWidth}) !important;
|