-
Notifications
You must be signed in to change notification settings - Fork 6
/
userContent.css
80 lines (73 loc) · 2.6 KB
/
userContent.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/*************************************************** Home_screen_wallpaper ***************************************************/
@-moz-document url("about:newtab"), url("about:home") {
body {
overflow: hidden !important;
}
#root {
background-image: url("my_wallpaper.jpg") !important;
background-size: cover !important;
}
/* Hide the ugly logo & wordmark sorry Mozilla */
.logo-and-wordmark {
visibility: hidden !important;
}
/* Make the search bar rounded */
#newtab-search-text,
#searchSubmit {
border-radius: 50px !important;
}
.search-wrapper .search-inner-wrapper {
margin: 10px !important; }
.search-wrapper{ padding-top: 9px !important}
}
/*********************************************** TOP_sites_settings **************************************************/
@-moz-document url-prefix(about:newtab){
.top-site-outer .title {
/*color: black !important;*/ /*change color of the texts of the "top_sites"*/
}
.top-site-outer .title {
font-size: 100px;
}
.top-site-outer .title {
font-weight: bold;
}
.top-site-outer .top-site-inner {
width: 50px !important;
height: 50px !important;
}
.top-site-outer .tile {
width: 40px !important;
height: 40px !important;
}
}
.top-site-outer:is(.active, :focus, :hover) { /*Remove dark-gray mouse hover box*/
box-shadow: none !important;
background:transparent !important;
}
@-moz-document url("about:home"), url("about:newtab"){
.tile > .icon-wrapper{
width: 100% !important;
height: 100% !important;
}
.icon-pin-small{ display: none !important; }
}
/*********************************************** Dark_mode_pdf **************************************************/
@-moz-document regexp(".+\.pdf$"){
.pdfViewer .page{ background: #38383D !important }
.loadingIcon+.canvasWrapper{ visibility: hidden }
}
@-moz-document regexp("^(?!.*\\.pdf\\?n).*") {
#sidebarContainer > #sidebarContent > #thumbnailView {
--sidebaritem-bg-color: #38383D;
}
#viewerContainer > #viewer .page > .canvasWrapper > canvas {
filter: grayscale(10%) invert(90%);
}
#sidebarContainer > #sidebarContent > #thumbnailView .thumbnailImage {
filter: grayscale(10%) invert(90%);
box-shadow: 0 0 0 1px hsla(0, 0%, 100%, 0.5), 0 2px 8px hsla(0, 0%, 100%, 0.3) !important;
}
}
/*********************************************** Thin_scroll_bar *****************************************************/
:root{ scrollbar-color: rgb(210,210,210) rgb(42,42,46) }
*{ scrollbar-width: thin }