tweak some more parameters for new computer

This commit is contained in:
NunoSempere 2025-01-14 12:40:38 +01:00
parent c2a08ece47
commit 9b1b8ca1ed
6 changed files with 56 additions and 14 deletions

View File

@ -2,13 +2,13 @@
#include <gtk/gtk.h>
/* Key user config */
#define HEIGHT 1080
#define FULL_WIDTH 1920
#define HEIGHT 1504
#define FULL_WIDTH 2256
#define WIDTH FULL_WIDTH
#define BAR_WIDTH FULL_WIDTH/2
/* More user config */
#define ZOOM_START_LEVEL 1.8
#define ZOOM_START_LEVEL 1.5
#define ZOOM_STEPSIZE .1
#define MAX_NUM_TABS 8 // 0 or false for unlimited tabs
#define SEARCH "https://search.brave.com/search?q=%s"

View File

@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define STYLE_N 9379 + 1000
#define STYLE_N 9404 + 1000
void read_style_js(char* string)
{

View File

@ -1,5 +1,5 @@
#pragma once
#define STYLE_N 9379 + 1000
#define STYLE_N 9404 + 1000
void read_style_js(char* string);

View File

@ -59,7 +59,8 @@ switch (document.domain) {
case "search.brave.com":
styles = `
.download-button,
a[href^="https://brave.com/download/"], .download-cta
a[href^="https://brave.com/download/"], .download-cta,
.example-searches
{
display: none !important;
}

View File

@ -0,0 +1,41 @@
* {
font-size: 35px;
color: #333;
}
/* Make titlebar pretty gigantic. I'm pretty myopic. */
.titlebar {
padding: 5px;
font-size: 45px;
}
.titlebar * {
padding: 5px;
font-size: 45px;
}
header * {
font-size: 40px;
padding: 5px;
}
tabs {
padding: 7px;
}
tab {
margin: 5px 8px 5px 0px; /* top right bottom left */
padding: 10px;
border-style: solid;
font-size: 40px;
}
entry {
padding-left: 10px;
}
entry:focus {
padding-left: 10px;
}

View File

@ -5,19 +5,19 @@
/* Make titlebar pretty gigantic. I'm pretty myopic. */
.titlebar {
padding: 5px;
padding: 3px;
font-size: 30px;
}
.titlebar * {
padding: 5px;
font-size: 27px;
padding: 3px;
font-size: 30px;
}
header * {
font-size: 20px;
padding: 5px;
font-size: 30px;
padding: 3px;
}
tabs {
@ -25,10 +25,10 @@ tabs {
}
tab {
margin: 2px 5px 4px 0px; /* top right bottom left */
padding: 5px;
margin: 3px 5px 3px 0px; /* top right bottom left */
padding: 10px;
border-style: solid;
font-size: 27px;
font-size: 30px;
}
entry {