forked from apaz-cli/apaz-cli.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
216 lines (209 loc) · 7.56 KB
/
main.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
/*Most easy/basic changes can be done up here in the root area, edit the rest if you know what it does.*/
:root{
--stripebackground:#e2c8d4; /*The color of the small stripe just under the header*/
--windowbackground: #d0a4af; /*The color of the background of the main window main area.*/
--maintextcolor:#000; /*The color of the text in the main area.*/
--headercolor:#fff; /*The color of the text in the header/title.*/
/* --linktextcolor:var(--maintextcolor); /*This line means that the links will have the same color as the normal text in the main area of the window. Change if you want different colors.*/
--backgroundImageUrl:url("resources/images/1.jpg"); /*The URL to the image you want to use as background.*/
--focusImageUrl:url("resources/images/sip.png"); /*The URL to the image you want to use for the foreground.*/
--backgroundBlur:blur(0px); /*Change how blurry the background is. Higher number is more blurry.*/
--backgroundBorder:#000; /*If you have a blurry background, set the color of the border around the image to fit it here.*/
--letterSpace:2px; /*Define how far letters are spaced from each other in pixels.*/
/* The font style doesn't seem to work as variable defined here. If you want to change the font, scroll to the bottom of the document to change the path.*/
/* These are the font sizes for every element with text respectively:*/
--windowtitlefontsize:17px; /*Font size used by the window title and clock*/
--windowsubtitlefontsize:17px; /*Font size used by the subtitle*/
--categorytitlefontsize:25px; /*Font size used by the category titles*/
--categorycontentfontsize:17px; /*Font size used by the category contents*/
/* The following settings are for the pixel overlay effect:*/
--pixeloverlay-exists:visible; /*Activate or deactivate the "pixel effect" overlay. Set to 'visible' to activate, set to 'hidden' to deactivate. When set to 'hidden' the other settings in this category don't matter.*/
--pixeloverlay-itensity:0.1; /*How intense the overlay should be. Float between 0 and 1, but recommended range is more between 0 and 0.3. Higher values makes startpage darker.*/
--pixeloverlay-resolution:1; /*A multiplier for the "pixel effect" size. 1 is default, higher means "bigger" pixels. If you use non whole numbers the probability of moiré patterns forming (and looking badly) increases a lot.*/
/* The following setting are for the vignette overlay effect:*/
--vignetteoverlay-exists:visible; /*Activate or deactivate the "vignette effect" overlay. Set to 'visible' to activate, set to 'hidden' to deactivate. When set to 'hidden' the other settings in this category don't matter.*/
--vignetteoverlay-intensity:0.5; /*How intense the overlay should be. Float between 0 and 1, but recommended range is between 0 and 0.5. Higher values make the vignette much darker. */
--vignetteoverlay-size:50%; /*How big the "radius" of the vignette should be. It is minimal at 0% and as big as the screen (and thus invisible) at 100%. Accepts % values. */
}
:link { color: #0000EE; }
:visited { color: #551A8B; }
@keyframes chbg {
0% {
background:url(resources/images/1.jpg);
background-size:cover
}
20% {
background:url(resources/images/2.jpg);
background-size:cover
}
40% {
background:url(resources/images/3.jpg);
background-size:cover
}
60% {
background:url(resources/images/4.jpg);
background-size:cover
}
80% {
background:url(resources/images/5.jpg);
background-size:cover
}
100% {
background:url(resources/images/6.jpg);
background-size:cover
}
}
.bg-image {
background-image: var(--backgroundImageUrl);
filter: var(--backgroundBlur);
-webkit-filter: var(--backgroundBlur);
height: 100%;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
animation: chbg 180s linear infinite;
}
.window-bg {
background-image: url("resources/images/window.png");
height: 485px;
width: 960px;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
#clock{
text-align: right;
position: relative;
top: 3px;
right: 5px;
}
.centerDivs{
display: table;
top:0px;
left:0px;
height: 100%;
width: 100%;
}
.front-img{
position: inherit;
width: 339px;
height: 446px;
left:5px;
top:34px;
background-image:var(--focusImageUrl);
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
.titlediv{
font-size: var(--windowtitlefontsize);
position: inherit;
width: 949px;
height: 25px;
left:5px;
top:5px;
color: var(--headercolor);
}
#titleb{
position:inherit;
top: 3px;
left:5px;
}
#Subtitle{
font-size: var(--windowsubtitlefontsize);
position: inherit;
top:5px;
margin-left: 10px;
margin-right: 10px;
text-align: left;
width: 100%;
}
.windowbackgroundarea1{
position: inherit;
width: 606px;
height: 26px;
left:349px;
top:34px;
background-color: var(--stripebackground);
}
.windowbackgroundarea2{
position: inherit;
width: 606px;
height: 415px;
left:349px;
top:65px;
background-color:var(--windowbackground);
}
.category{
height:100%;
width: 100%;
display:table-cell;
vertical-align:middle;
position: relative;
top: -20px; /*This is a bit hacky, but since each title has a top margin of 20px, the whole text is misaligned by 20px downwards. This compensates for that.*/
}
.categorytitle{
font-size: var(--categorytitlefontsize);
font-weight: normal;
width:605px;
text-align: center;
position: relative;
margin-top: 20px;
}
.categorycontent{
font-size: var(--categorycontentfontsize);
width:605px;
position:relative;
text-align: center;
font-weight: lighter;
margin-top: 5px;
}
.pixeloverlay{
width: 100%;
height: 100%;
position: fixed;
top: 0px;
left: 0px;
pointer-events: none;
background: repeating-linear-gradient(90deg,rgba(0, 0, 255, var(--pixeloverlay-itensity)),rgba(0, 0, 255, var(--pixeloverlay-itensity)) calc(var(--pixeloverlay-resolution)*1px),rgba(255, 0, 0, var(--pixeloverlay-itensity)) calc(var(--pixeloverlay-resolution)*1px),rgba(255, 0, 0, var(--pixeloverlay-itensity)) calc(var(--pixeloverlay-resolution)*2px),rgba(0, 255, 0, var(--pixeloverlay-itensity)) calc(var(--pixeloverlay-resolution)*2px),rgba(0, 255, 0, var(--pixeloverlay-itensity)) calc(var(--pixeloverlay-resolution)*3px)),
repeating-linear-gradient(0deg,rgba(0, 0, 0, var(--pixeloverlay-itensity)),rgba(0, 0, 0, var(--pixeloverlay-itensity)) calc(var(--pixeloverlay-resolution)*1px), rgba(255, 255, 255, 0) 1px,rgba(255, 255, 255, 0) calc(var(--pixeloverlay-resolution)*3px));
visibility: var(--pixeloverlay-exists);
}
.vignette{
width: 100%;
height: 100%;
position: fixed;
top: 0px;
left: 0px;
pointer-events: none;
visibility: var(--vignetteoverlay-exists);
background: radial-gradient(transparent,transparent var(--vignetteoverlay-size), rgba(0,0,0,var(--vignetteoverlay-intensity)));
}
a{
margin-left: 5px;
margin-right: 5px;
margin-top: 10px;
text-decoration: none;
color:var(--linktextcolor)
}
body, html {
height: 100%;
margin: 0;
font-family: lemon;
color:var(--maintextcolor);
position: center;
letter-spacing:var(--letterSpace);
background: var(--backgroundBorder);
}
@font-face {
font-family: "lemon";
src: url('resources/style/lemon.woff');
}
@font-face {
font-family: "w95";
src: url('resources/style/w95fa.woff');
}