@@ -239,10 +239,12 @@ html[data-mode='dark'] #sidebar {
239239 overflow-x : hidden;
240240}
241241
242- /* evita qualquer scroll horizontal residual (sintoma: footer "cortado"); clip não vira scroll-container -> não quebra o position:sticky do menu/topbar */
243- html {
244- overflow-x : clip;
245- }
242+ /* reserva a calha da barra de rolagem -> evita o "pulo" de ~6px que deixava o footer levemente cortado */
243+ html { scrollbar-gutter : stable; }
244+
245+ /* tabelas largas (markdown e código) NÃO podem estourar a página (era o que cortava o footer) -> rolam internamente */
246+ .content table : not (.rouge-table ) { display : block; max-width : 100% ; overflow-x : auto; }
247+ .content .highlight { max-width : 100% ; }
246248
247249html [data-mode = 'dark' ] # topbar-wrapper {
248250 border-bottom : 2px solid rgba (115 , 255 , 232 , 0.3 );
@@ -1069,23 +1071,28 @@ html.page-projetos #search-result-wrapper {
10691071html .page-projetos # topbar search ,
10701072html .page-projetos # search-trigger ,
10711073html .page-projetos # search-cancel { display : none !important ; }
1072- /* "Projetos" centralizado no mobile (theme-toggle à esquerda; sem search-trigger à direita ) */
1074+ /* "Projetos" centralizado no mobile (sem itens nas pontas do topbar nessa página ) */
10731075@media (max-width : 849px ) {
10741076 html .page-projetos # topbar-title { position : absolute; left : 50% ; transform : translateX (-50% ); width : auto; }
10751077}
1076- /* botão de tema no topbar SÓ na /projetos (substitui o sidebar-trigger escondido; mantém "Projetos" centralizado no mobile) */
1077- # projetos-mode-toggle { display : none; }
1078- html .page-projetos # projetos-mode-toggle { display : inline-flex; align-items : center; }
10791078
1080- /* filtro de projetos (na página; funciona desktop + mobile) */
1081- .projetos-filter { position : relative; max-width : 420px ; margin-top : 1rem ; }
1079+ /* barra da página: filtro (cresce) + botão de tema na OUTRA PONTA, mesma linha */
1080+ .projetos-toolbar { display : flex; align-items : center; gap : 0.75rem ; margin-top : 1rem ; }
1081+ .projetos-filter { position : relative; flex : 1 1 auto; max-width : 520px ; }
10821082.projetos-filter i { position : absolute; left : 0.9rem ; top : 50% ; transform : translateY (-50% ); color : var (--text-muted-color ); font-size : 0.9rem ; pointer-events : none; }
10831083.projetos-filter input {
10841084 width : 100% ; padding : 0.5rem 0.9rem 0.5rem 2.3rem ; border-radius : 10px ;
10851085 border : 1px solid rgba (115 , 255 , 232 , 0.25 ); background : rgba (115 , 255 , 232 , 0.05 ); color : var (--text-color );
10861086}
10871087.projetos-filter input ::placeholder { color : var (--text-muted-color ); }
10881088.projetos-filter input : focus { outline : none; border-color : rgba (115 , 255 , 232 , 0.6 ); }
1089+ # projetos-mode-toggle {
1090+ flex : 0 0 auto; margin-left : auto;
1091+ width : 2.4rem ; height : 2.4rem ; border-radius : 10px ; cursor : pointer; text-decoration : none;
1092+ background : rgba (115 , 255 , 232 , 0.06 ); border : 1px solid rgba (115 , 255 , 232 , 0.25 ); color : # 73ffe8 ;
1093+ display : inline-flex; align-items : center; justify-content : center;
1094+ }
1095+ # projetos-mode-toggle : hover { background : rgba (115 , 255 , 232 , 0.14 ); text-decoration : none; }
10891096
10901097.projetos-head { margin-bottom : 1.4rem ; }
10911098.projetos-head .projetos-title { margin-bottom : 0.2rem ; }
@@ -1096,9 +1103,17 @@ html.page-projetos #projetos-mode-toggle { display: inline-flex; align-items: ce
10961103}
10971104.projetos-donate h2 { font-size : 1.3rem ; margin-bottom : 0.3rem ; }
10981105
1099- /* cards de projeto: como os posts (capa na lateral), borda ciano sutil (não a branca padrão), info + tags */
1100- # projetos-list .proj-card { border : 1px solid rgba (115 , 255 , 232 , 0.16 ); }
1106+ /* cards de projeto: capa na lateral; SEM contorno branco; card um pouco mais escuro que o fundo; imagem preenche o card */
1107+ # projetos-list .proj-card {
1108+ border : none;
1109+ background : rgba (0 , 0 , 0 , 0.22 );
1110+ border-radius : 10px ;
1111+ overflow : hidden;
1112+ }
1113+ html [data-mode = 'light' ] # projetos-list .proj-card { background : rgba (0 , 0 , 0 , 0.05 ); }
1114+ # projetos-list .proj-card .post-preview img { width : 100% ; height : 100% ; object-fit : cover; }
11011115# projetos-list .card-title { font-size : 1.2rem ; display : flex; align-items : center; gap : 0.4rem ; }
1116+ html [data-mode = 'light' ] # projetos-list .card-title { color : # 0c7d6e ; } /* legível no modo claro */
11021117# projetos-list .card-title .proj-pin { font-size : 0.8rem ; color : # 73ffe8 ; }
11031118# projetos-list .card-text .content { display : block; }
11041119# projetos-list .card-text .content p { color : var (--text-muted-color ); margin : 0 ; }
0 commit comments