Skip to content

Commit f81d69e

Browse files
committed
Tinker with initial CSS, no more custom font
Signed-off-by: falkTX <falktx@falktx.com>
1 parent abb4932 commit f81d69e

File tree

8 files changed

+143
-149
lines changed

8 files changed

+143
-149
lines changed

css/reset.css

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,25 @@ s, samp, section, small, span, source, strike, strong, sub, sup,
1818
table, tbody, tfoot, thead, th, tr, tdvideo, tt,
1919
u, ul,
2020
var {
21-
background:transparent;
22-
border:0 none;
23-
font-size:100%;
24-
margin:0;
25-
padding:0;
26-
border:0;
27-
outline:0;
28-
vertical-align:top;
21+
background: transparent;
22+
font-size: 100%;
23+
border: none;
24+
margin: 0;
25+
outline: 0;
26+
padding: 0;
27+
vertical-align: top;
2928
}
3029
ol, ul {
31-
list-style:none;
30+
list-style: none;
3231
}
3332
blockquote, q {
34-
quotes:none;
33+
quotes: none;
3534
}
3635
table, table td {
37-
padding:0;
38-
border:none;
39-
border-collapse:collapse;
36+
border: none;
37+
border-collapse: collapse;
38+
padding: 0;
4039
}
41-
img {
42-
vertical-align:top;
43-
}
44-
embed {
45-
vertical-align:top;
40+
img, embed {
41+
vertical-align: top;
4642
}

css/style-mini-news.css

Lines changed: 0 additions & 36 deletions
This file was deleted.

css/style-news-full.css

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
.news li {
2+
overflow: hidden;
3+
position: relative;
4+
padding: 0 0 10px 84px;
5+
}
6+
.news li:last-child {
7+
padding-bottom: 0;
8+
}
9+
.news li figure {
10+
font-weight: 300;
11+
width: 65px;
12+
height: 65px;
13+
position: absolute;
14+
left: 0;
15+
top: 0;
16+
text-align: center;
17+
color: #818181;
18+
text-transform: uppercase;
19+
}
20+
.news li figure strong {
21+
display: inline;
22+
font-size: 17px;
23+
line-height: 2.0em;
24+
margin-bottom: -7px;
25+
padding-top: 4px;
26+
}
27+
.news li figure p {
28+
display: inline;
29+
font-size: 17px;
30+
line-height: 0.1em;
31+
color: #f9f9f9/* XX-WHITE #272727 */;
32+
float: right;
33+
margin-right: 3px;
34+
}

css/style-news-mini.css

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
.news li {
2+
overflow: hidden;
3+
position: relative;
4+
padding: 0 0 5px 84px;
5+
}
6+
.news li figure {
7+
color: #818181;
8+
font-weight: 300;
9+
width: 65px;
10+
height: 65px;
11+
position: absolute;
12+
left: 0;
13+
top: 0;
14+
text-align: center;
15+
text-transform: uppercase;
16+
}
17+
.news li figure p {
18+
color: #f9f9f9; /* WHITE color:#272727; */
19+
display: inline;
20+
float: right;
21+
font-weight: bold;
22+
/* font-size: 1.1rem; */
23+
line-height: 1em;
24+
margin-right: 7px;
25+
}
26+
.news li figure strong {
27+
display: inline;
28+
/* font-size: 1.1rem; */
29+
line-height: 1.6em;
30+
}
31+
.news li p {
32+
font-size: 0.92rem;
33+
}

css/style.css

Lines changed: 48 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,51 @@
11
/* Getting the new tags to behave */
2-
article, aside, audio, canvas, command, datalist, details, embed, figcaption, figure, footer, header, hgroup, keygen, meter, nav, output, progress, section, source, video{ display: block; }
3-
mark, rp, rt, ruby, summary, time { display:inline; }
2+
article, aside, audio, canvas, command, datalist, details, embed, figcaption, figure, footer, header, hgroup,
3+
keygen, meter, nav, output, progress, section, source, video {
4+
display: block;
5+
}
6+
mark, rp, rt, ruby, summary, time {
7+
display:inline;
8+
}
49

510
/* Global properties ======================================================== */
611
body {
7-
background:#F4F4F4;
8-
font-family: 'Raleway', sans-serif;
9-
font-weight: 200;
10-
font-size:100%;
11-
line-height:1.125em;
12-
color:#BABABA; /* XX-WHITE #272727 | #7A7A7A */;
13-
display:flex;
14-
flex-direction:column;
12+
color: #BABABA; /* XX-WHITE #272727 | #7A7A7A */;
13+
display: flex;
14+
flex-direction: column;
15+
font-family: sans-serif;
16+
font-weight: normal;
17+
font-size: 20px;
18+
line-height: 1.125em;
19+
}
20+
html {
21+
/* FIXME */
22+
min-width: 750px;
23+
}
24+
html, body {
25+
height: 100%;
26+
/*background-color: #1E1F1F;*/
27+
background-color: #F4F4F4;
28+
}
29+
hr {
30+
color: #191A1A4D/* XX-WHITE #D6D6D64D */;
31+
background-color: transparent;
1532
}
16-
html { min-width:750px;}
17-
html, body { height:100%;background-color:#1E1F1F; }
18-
hr { color:#191A1A4D/* XX-WHITE #D6D6D64D */; background-color:transparent; }
1933

34+
/*===== footer =====*/
35+
footer {
36+
color: #fff;
37+
background-color: #1E1F1F;
38+
border-top: 5px solid #1A1A1A /* XX-WHITE #D6D6D6 */;
39+
font-size: 0.9rem;
40+
padding: 18px 0 18px 0;
41+
text-align: center;
42+
}
43+
footer a {
44+
color: #A3B6B6;
45+
}
46+
footer a:hover {
47+
color: #ffffff;
48+
}
2049

2150
/* Global Structure ============================================================= */
2251
.container {
@@ -92,10 +121,6 @@ hr { color:#191A1A4D/* XX-WHITE #D6D6D64D */; background-color:transparent; }
92121
margin:0px 52px 0 0;
93122
}
94123
/* Footer */
95-
footer{
96-
padding:18px 0 18px 0;
97-
border-top: 5px solid #1A1A1A /* XX-WHITE #D6D6D6 */;
98-
}
99124

100125

101126

@@ -123,7 +148,7 @@ hr { color:#191A1A4D/* XX-WHITE #D6D6D64D */; background-color:transparent; }
123148

124149
/*----- form defaults -----*/
125150
input, select, textarea {
126-
font-family: 'Raleway', sans-serif;
151+
font-family: sans-serif;
127152
font-size:1em;
128153
vertical-align:middle;
129154
font-weight:normal;
@@ -201,7 +226,7 @@ h1 {
201226
text-decoration:none;
202227
}
203228
h2.pointer a{
204-
font-family: 'Raleway', sans-serif;
229+
font-family: sans-serif;
205230
font-size:30px;
206231
line-height:1.2em;
207232
font-weight:200;
@@ -212,7 +237,7 @@ h2.pointer a:hover{
212237
color:#8a8a8a;
213238
}
214239
h2 {
215-
font-family: 'Raleway', sans-serif;
240+
font-family: sans-serif;
216241
font-size:30px;
217242
line-height:1.2em;
218243
font-weight:200;
@@ -228,7 +253,7 @@ h2 {
228253
color:#8a8a8a;
229254
}
230255
h3 {
231-
font-family: 'Raleway', sans-serif;
256+
font-family: sans-serif;
232257
font-weight: 300;
233258
font-size:120%;
234259
margin-bottom:6px;
@@ -292,7 +317,7 @@ header nav {
292317
float:left;
293318
}
294319
header nav ul li a {
295-
font-family:'Raleway', sans-serif;
320+
font-family:sans-serif;
296321
font-weight: 300;
297322
font-size:22px;
298323
color:#fff/* XX-WHITE #ddd */;
@@ -393,45 +418,6 @@ header nav {
393418
}
394419

395420

396-
/*--- news list styles ---*/
397-
.news li {
398-
overflow:hidden;
399-
position:relative;
400-
padding:0 0 10px 84px;
401-
}
402-
.news li:last-child {
403-
padding-bottom:0;
404-
}
405-
406-
.news li figure {
407-
font-family: 'Raleway', sans-serif;
408-
font-weight: 300;
409-
width:65px;
410-
height:65px;
411-
background:url(../images/date-none.gif) no-repeat 0 0;
412-
position:absolute;
413-
left:0;
414-
top:0;
415-
text-align:center;
416-
color:#818181;
417-
text-transform:uppercase;
418-
}
419-
.news li figure strong {
420-
display:inline;
421-
font-size:17px;
422-
line-height:2.0em;
423-
margin-bottom:-7px;
424-
padding-top:4px;
425-
}
426-
.news li figure p {
427-
display:inline;
428-
font-size:17px;
429-
line-height:0.1em;
430-
color:#f9f9f9/* XX-WHITE #272727 */;
431-
float:right;
432-
margin-right:3px;
433-
}
434-
435421
.team-list li {
436422
width:100%;
437423
overflow:hidden;
@@ -479,21 +465,6 @@ header nav {
479465
/*#imagens { width:295px; height:170px; overflow:hidden; position:relative;}*/
480466

481467

482-
/*===== footer =====*/
483-
footer {
484-
color:#fff;
485-
background-color:#1E1F1F;
486-
}
487-
footer .fleft {
488-
padding-left:40px;
489-
}
490-
footer .fright {
491-
padding-right:0px;
492-
}
493-
footer a{color:#A3B6B6;}
494-
495-
footer a:hover{color:#ffffff;}
496-
497468
/*----- forms -----*/
498469
#contacts-form {
499470
clear:right;
@@ -596,7 +567,7 @@ width:300px;
596567
background-color: #040404/* XX-WHITE #ffffff */;
597568
}
598569
.the_menu li a {
599-
font-family:'Raleway', sans-serif;
570+
font-family:sans-serif;
600571
font-weight: 200;
601572
color:#5D9BAA/* XX-WHITE #2D5B7A */;
602573
text-decoration:none;

images/date-none.gif

-920 Bytes
Binary file not shown.

inc_footer.php

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,15 @@
11
<footer>
2-
<div class="container">
3-
<div class="wrapper">
4-
<p>
5-
&#0169;
6-
2012-2021 DISTRHO
7-
&nbsp; &nbsp;
8-
<span style="float:right;">
9-
Hosted and maintained by
10-
<a href="https://kx.studio/" target="_blank">KXStudio</a>
11-
&nbsp; &nbsp;|&nbsp; &nbsp;
12-
All the plugins and Linux/LV2 ports here are free and open-source, please consider a
13-
<a href="https://kx.studio/Donations" target="_blank">donation</a>
14-
if possible.
15-
</span>
16-
</p>
17-
</div>
18-
</div>
2+
<span>
3+
&#0169; 2012-2021 DISTRHO
4+
</span>
5+
<span>
6+
Hosted and maintained by
7+
<a href="https://kx.studio/" target="_blank">KXStudio</a>
8+
&nbsp; &nbsp;|&nbsp; &nbsp;
9+
All the plugins and Linux/LV2 ports here are free and open-source, please consider a
10+
<a href="https://kx.studio/Donations" target="_blank">donation</a>
11+
if possible.
12+
</span>
1913
</footer>
2014
</body>
2115
</html>

inc_header.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
<link rel="stylesheet" href="<?php echo $ROOT; ?>/css/reset.css" type="text/css" media="all">
2222
<link rel="stylesheet" href="<?php echo $ROOT; ?>/css/style.css" type="text/css" media="all">
2323
<?php if ($CURRENT_PAGE == "index") { ?>
24-
<link rel="stylesheet" href="<?php echo $ROOT; ?>/css/style-mini-news.css" type="text/css" media="all">
24+
<link rel="stylesheet" href="<?php echo $ROOT; ?>/css/style-news-mini.css" type="text/css" media="all">
25+
<?php } else if ($CURRENT_PAGE == "plugins") { ?>
26+
<link rel="stylesheet" href="<?php echo $ROOT; ?>/css/style-news-full.css" type="text/css" media="all">
2527
<?php } ?>
2628
<link rel='stylesheet' href='<?php echo $ROOT; ?>/fonts/fonts.css' type='text/css' media="all">
2729
</head>

0 commit comments

Comments
 (0)