1
+ html {
2
+ --pst-font-size-base : 17px ;
3
+ }
4
+
5
+
6
+ /* SCORE specfic colors
7
+ A list of available colro variable names for pyData Sphinx Theme can be found at
8
+ https://pydata-sphinx-theme.readthedocs.io/en/stable/_downloads/565fbb3ecf2b3048f5fb3953890ba176/_color.scss
9
+
10
+ The base color is TEAL */
11
+
12
+
13
+ html [data-theme = "light" ] {
14
+ --pst-color-primary : # 547980 ;
15
+ --pst-color-secondary : # 45ADA8 ;
16
+ --pst-color-accent : # 9DE0AD ;
17
+ --pst-color-target : # E5FCC2 ;
18
+ --pst-color-on-surface : # 594F4F ;
19
+ --pst-color-on-background : var (--pst-color-secondary );
20
+ --pst-color-text-muted : # FFFFFF ;
21
+ }
22
+
23
+ html [data-theme = "dark" ] {
24
+ --pst-color-primary : # 45ADA8 ;
25
+ --pst-color-secondary : # 547980 ;
26
+ --pst-color-accent : # 9DE0AD ;
27
+ --pst-color-target : # E5FCC2 ;
28
+ --pst-color-on-surface : # 594F4F ;
29
+ --pst-color-on-background : var (--pst-color-secondary );
30
+ --pst-color-text-muted : # FFFFFF ;
31
+ }
32
+
33
+ .search-button-field {
34
+ color : var (--pst-color-primary );
35
+ }
36
+ html .pst-navbar-icon : hover {
37
+ border-bottom : max (3px , .1875rem , .12em ) solid var (--pst-color-primary ) !important ;
38
+ color : var (--pst-color-primary ) !important ;
39
+ }
40
+
41
+ .bd-header ul .navbar-nav > li .nav-item .current > .nav-link {
42
+ color : var (--pst-color-text-muted ) !important ;
43
+ font-weight : 900 !important ;
44
+ }
45
+
46
+ .bd-header ul .navbar-nav > li .nav-item > .nav-link : hover {
47
+ color : var (--pst-color-primary );
48
+ }
49
+
50
+ .bd-search input .form-control ::placeholder ,
51
+ .bd-search input .form-control {
52
+ color : var (--pst-color-primary ) !important ;
53
+ }
54
+
55
+ /* SCORE Background video
56
+ Source: https://www.imi21.com/background-video-full-screen.php */
57
+
58
+ div .score_banner {
59
+ background-color : var (--pst-color-on-surface );
60
+ }
61
+ # videowrapper {
62
+ position : relative;
63
+ overflow : hidden;
64
+ }
65
+
66
+ # fullScreenDiv {
67
+ height : 300px ;
68
+ width : 100% ;
69
+ padding : 0 ;
70
+ margin : 0 ;
71
+ /* background-color: gray;
72
+ position: relative; */
73
+ container-type : inline-size;
74
+ }
75
+
76
+ # video {
77
+ width : 100% ;
78
+ /* height: auto;
79
+ margin: auto;
80
+ display: block; */
81
+ }
82
+ @media (min-aspect-ratio : 16 / 9 ) {
83
+ # video {
84
+ width : 100% ;
85
+ height : auto;
86
+ }
87
+ }
88
+
89
+ # score-title {
90
+ width : 100% ;
91
+ height : 100% ;
92
+ position : absolute;
93
+ top : 0 ;
94
+ left : 0 ;
95
+ display : flex;
96
+ justify-content : center;
97
+ align-items : center;
98
+ flex-direction : column;
99
+ color : # ffffff ;
100
+ /* font-size: 4.5em; */
101
+ font-size : 8.0cqw ;
102
+ font-weight : 900 ;
103
+ animation : fadeIn 3s ;
104
+ }
105
+
106
+ html [data-theme = "light" ] # score-title {
107
+ background-color : rgba (0 , 0 , 0 , 0.3 );
108
+ }
109
+
110
+ html [data-theme = "dark" ] # score-title {
111
+ background-color : rgba (0 , 0 , 0 , 0.5 );
112
+ }
113
+
114
+ # score-subtitle {
115
+ font-size : 0.4em ;
116
+ }
117
+
118
+ # score-phrase {
119
+ font-size : 0.3em ;
120
+ font-weight : 400 ;
121
+ }
122
+
123
+ @keyframes fadeIn {
124
+ 0% { opacity : 0 ; }
125
+ 100% { opacity : 1 ; }
126
+ }
0 commit comments