User:Polygnotus/Scripts/Claude4.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 194:
}
/* Vector 2022 theme - reducecomprehensive available width instead of adding marginapproach */
body.claude-sidebar-visible .mw-page-container {
widthmargin-right: calc(100% - ${this.sidebarWidth}) !important;
margin-right: 0 !important;
box-sizing: border-box !important;
}
/* Vector 2022 - letmain innercontent container use full available widthwrapper */
body.claude-sidebar-visible .mw-page-container-inner {
margin-right: 0 !important;
marginpadding-right: 0 !important;
max-width: 100%none !important;
}
/* LegacyVector themes2022 - content area */
body.claude-sidebar-visible #.mw-content,-container {
max-width: none !important;
margin-right: 0 !important;
width: 100% !important;}
/* Vector 2022 - article content */
body.claude-sidebar-visible .mw-body {
margin-right: ${this.sidebarWidth}0 !important;
boxmax-sizingwidth: border-boxnone !important;
}
/* Vector 2022 - main content */
body.claude-sidebar-visible #content {
margin-right: 0 !important;
max-width: none !important;
}
Line 237 ⟶ 254:
/* MonoBook and other legacy themes */
body.claude-sidebar-visible #content {
margin-right: ${this.sidebarWidth}0 !important;
box-sizing: border-box;
}
Line 243 ⟶ 260:
/* Timeless theme */
body.claude-sidebar-visible .mw-body {
margin-right: ${this.sidebarWidth}0 !important;
box-sizing: border-box;
}
Line 265 ⟶ 282:
/* Reset all margins when sidebar is hidden */
body:not(.claude-sidebar-visible) .mw-page-container {
width: 100% !important;
margin-right: 0 !important;
}
body:not(.claude-sidebar-visible) .mw-page-container-inner {
max-width: 960px !important;
width: auto !important;}
body:not(.claude-sidebar-visible) .mw-content-container {
max-width: none !important;
}
body:not(.claude-sidebar-visible) #globalWrapper {
Line 381 ⟶ 399:
style.setAttribute('data-claude-proofreader', 'true');
style.textContent = `
/* Vector 2022 theme - reducecomprehensive available width instead of adding marginapproach */
body.claude-sidebar-visible .mw-page-container {
widthmargin-right: calc(100% - ${this.sidebarWidth}) !important;
margin-right: 0 !important;
box-sizing: border-box !important;
}
/* Vector 2022 - letmain innercontent container use full available widthwrapper */
body.claude-sidebar-visible .mw-page-container-inner {
margin-right: 0 !important;
padding-right: 0 !important;
max-width: none !important;
}
/* Vector 2022 - content area */
body.claude-sidebar-visible .mw-content-container {
max-width: none !important;
margin-right: 0 !important;
width: 100% !important;}
/* Vector 2022 - article content */
body.claude-sidebar-visible .mw-body {
margin-right: 0 !important;
max-width: none !important;
}
/* Vector 2022 - main content */
body.claude-sidebar-visible #content {
margin-right: 0 !important;
max-width: none !important;
}
Line 407 ⟶ 442:
right: ${this.sidebarWidth} !important;
width: calc(100% - ${this.sidebarWidth}) !important;
box-sizing: border-box;
}
/* Legacy themes */
body.claude-sidebar-visible #content,
body.claude-sidebar-visible .mw-body {
margin-right: ${this.sidebarWidth} !important;
box-sizing: border-box;
}