1+ /* Claude AI Footer Attribution Styles */
2+
3+ /* Container for Claude attribution */
4+ .gdoc-footer__claude {
5+ display : inline-flex;
6+ align-items : center;
7+ gap : 0.5rem ;
8+ margin-left : 0.25rem ; /* Tighter spacing after heart */
9+ }
10+
11+ /* Text before logo */
12+ .gdoc-footer__claude-text {
13+ font-size : inherit;
14+ opacity : 0.8 ;
15+ }
16+
17+ /* Claude logo styles */
18+ .gdoc-footer__claude-logo {
19+ height : 0.9em ; /* Smaller, more discrete size */
20+ width : auto;
21+ display : inline-block;
22+ vertical-align : middle;
23+ opacity : 0.7 ; /* More subtle */
24+ transition : opacity 0.3s ease;
25+ margin-left : 0.25rem ;
26+ }
27+
28+ /* Hover effect */
29+ .gdoc-footer__claude : hover .gdoc-footer__claude-logo {
30+ opacity : 1 ;
31+ }
32+
33+ /* Light/Dark mode logo switching */
34+ /* By default, show light logo (white letters for dark footer) */
35+ .gdoc-footer__claude-logo--dark {
36+ display : none;
37+ }
38+
39+ .gdoc-footer__claude-logo--light {
40+ display : inline-block;
41+ }
42+
43+ /* When footer has light background, show dark logo */
44+ .gdoc-footer--light .gdoc-footer__claude-logo--dark {
45+ display : inline-block;
46+ }
47+
48+ .gdoc-footer--light .gdoc-footer__claude-logo--light {
49+ display : none;
50+ }
51+
52+ /* Dark mode overrides - footer is typically dark in both modes */
53+ @media (prefers-color-scheme : dark) {
54+ .gdoc-footer__claude-logo--dark {
55+ display : none;
56+ }
57+
58+ .gdoc-footer__claude-logo--light {
59+ display : inline-block;
60+ }
61+ }
62+
63+ : root [color-theme = "dark" ] .gdoc-footer__claude-logo--dark {
64+ display : none;
65+ }
66+
67+ : root [color-theme = "dark" ] .gdoc-footer__claude-logo--light {
68+ display : inline-block;
69+ }
70+
71+ /* Mobile adjustments */
72+ @media (max-width : 45rem ) {
73+ .gdoc-footer__claude {
74+ display : block;
75+ margin-left : 0 ;
76+ margin-top : 0.5rem ;
77+ }
78+
79+ .gdoc-footer__claude-text {
80+ font-size : 0.9em ;
81+ }
82+
83+ .gdoc-footer__claude-logo {
84+ height : 1em ;
85+ }
86+ }
87+
88+ /* Ensure proper spacing in footer items */
89+ .gdoc-footer__item--row + .gdoc-footer__claude {
90+ margin-left : 0.35rem ; /* Reduced for tighter appearance */
91+ }
92+
93+ /* Remove animation for a more professional look */
94+ /* Animation removed - too distracting for a discrete attribution */
0 commit comments