Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Websites
KDE.org Website
Commits
0d8f628b
Commit
0d8f628b
authored
Mar 22, 2021
by
Phu Nguyen
Browse files
Cleanup CSS
parent
c450d063
Changes
17
Hide whitespace changes
Inline
Side-by-side
assets/sass/
releaseA
nnouncement.scss
→
assets/sass/
a
nnouncement
s
.scss
View file @
0d8f628b
...
...
@@ -74,14 +74,6 @@ p {
}
}
ul
.pagination
{
justify-content
:
center
;
margin
:
30px
;
.
page-item
:
:
before
{
content
:
""
;
}
}
figure
{
text-align
:
center
;
figcaption
{
...
...
@@ -101,72 +93,3 @@ figure {
padding
:
10px
0px
20px
;
margin
:
10px
0px
;
}
.kSocialLinks
{
line-height
:
50px
;
}
.kSocialLinks
a
{
display
:
inline-block
;
color
:
#fafafa
;
background
:
#27AE60
;
position
:
relative
;
text-indent
:
-9999px
;
width
:
24px
;
line-height
:
30px
;
padding
:
0px
17px
;
border-radius
:
3px
;
transition
:
all
.2s
;
}
.kSocialLinks
a
:after
{
content
:
"@"
;
font-family
:
'glyph'
;
font-size
:
24px
;
text-indent
:
0px
;
color
:
#fafafa
;
position
:
absolute
;
top
:
0px
;
left
:
0px
;
right
:
0px
;
text-align
:
center
;
}
.kSocialLinks
a
.shareFacebook
{
background-color
:
#2980b9
;
}
.kSocialLinks
a
.shareGoogle
{
background-color
:
#d35400
;
}
.kSocialLinks
a
.shareTwitter
{
background-color
:
#3daefd
;
}
.kSocialLinks
a
.shareForum
{
background-color
:
#0068c6
;
}
.kSocialLinks
a
.shareTelegram
{
background-color
:
#2ca5e0
;
}
.kSocialLinks
a
.shareReddit
{
background-color
:
#fe4500
;
}
.kSocialLinks
a
.shareDiaspora
{
background-color
:
#313131
;
}
.kSocialLinks
a
.shareYouTube
{
background-color
:
#f60000
;
}
.kSocialLinks
a
.shareMastodon
{
background-color
:
#2a8cd2
;
}
.kSocialLinks
a
.shareLinkedIn
{
background-color
:
#0077af
;
}
.kSocialLinks
a
.sharePeerTube
{
background-color
:
#aaaaaa
;
}
.kSocialLinks
a
.shareInstagram
{
background-color
:
#ff7777
;
}
.kSocialLinks
a
.shareFacebook
:hover
{
background-color
:
#3498db
;
}
.kSocialLinks
a
.shareGoogle
:hover
{
background-color
:
#f67400
;
}
.kSocialLinks
a
.shareTwitter
:hover
{
background-color
:
#70c3fe
;
}
.kSocialLinks
a
.shareForum
:hover
{
background-color
:
#1078d6
;
}
.kSocialLinks
a
.shareTelegram
:hover
{
background-color
:
#2ca5e0
;
}
.kSocialLinks
a
.shareReddit
:hover
{
background-color
:
#ff6432
;
}
.kSocialLinks
a
.shareDiaspora
:hover
{
background-color
:
#464646
;
}
.kSocialLinks
a
.shareYouTube
:hover
{
background-color
:
#f66565
;
}
.kSocialLinks
a
.shareMastodon
:hover
{
background-color
:
#2f9fee
;
}
.kSocialLinks
a
.shareLinkedIn
:hover
{
background-color
:
#008dce
;
}
.kSocialLinks
a
.sharePeerTube
:hover
{
background-color
:
#cccccc
;
}
.kSocialLinks
a
.shareInstagram
:hover
{
background-color
:
#ffa6a6
;
}
.kSocialLinks
a
.shareFacebook
:after
{
content
:
"F"
;
}
.kSocialLinks
a
.shareGoogle
:after
{
content
:
"G"
;
}
.kSocialLinks
a
.shareTwitter
:after
{
content
:
"T"
;
}
.kSocialLinks
a
.shareForum
:after
{
content
:
"K"
;
}
.kSocialLinks
a
.shareTelegram
:after
{
content
:
"C"
;
}
.kSocialLinks
a
.shareReddit
:after
{
content
:
"R"
;
}
.kSocialLinks
a
.shareDiaspora
:after
{
content
:
"*"
;
}
.kSocialLinks
a
.shareYouTube
:after
{
content
:
"V"
;
}
.kSocialLinks
a
.shareMastodon
:after
{
content
:
"m"
;
}
.kSocialLinks
a
.shareLinkedIn
:after
{
content
:
""
;
}
.kSocialLinks
a
.sharePeerTube
:after
{
content
:
"J"
;
}
.kSocialLinks
a
.shareInstagram
:after
{
content
:
"B"
;
}
assets/sass/applications.scss
deleted
100644 → 0
View file @
c450d063
/*
* SPDX-FileCopyrightText: 2020 (c) Carl Schwan <carl@carlschwan.eu>
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
/**
* Used for kde.org/applications
*/
/* Application pages */
@import
"../../node_modules/swiper/css/swiper.css"
;
h1
a
:after
{
margin
:
0px
5px
;
color
:
#6F8181
;
content
:
">"
;
font-family
:
"glyph"
;
font-size
:
60%
;
vertical-align
:
middle
;
}
.app-icon
{
float
:
left
;
}
.app-screenshot
{
clear
:
left
;
text-align
:
center
;
}
.infobox
:not
(
:first-child
)
{
padding-top
:
15px
;
}
#infobox-return
img
,
.header-image
{
margin
:
0
5px
0
0
!
important
;
padding
:
0
!
important
;
border
:
0
!
important
;
background-image
:
none
!
important
;
}
.app-category
,
.international-site
{
display
:
table-cell
;
float
:
left
;
max-width
:
240px
;
width
:
240px
;
height
:
60px
;
max-height
:
60px
!
important
;
text-align
:
left
;
}
.app-category
img
,
.international-site
img
{
margin
:
0
10px
0
0
!
important
;
float
:
left
;
}
.app-category
a
,
.international-site
a
{
font-size
:
12pt
;
font-weight
:
700
;
text-decoration
:
none
;
}
.app-screenshot
{
max-width
:
100%
;
}
.international-site
{
height
:
auto
!
important
;
}
.sidebar
{
color
:
#444
;
float
:
right
;
min-height
:
200px
;
padding
:
15px
;
border-left
:
1px
solid
#CCC
;
font-size
:
10pt
;
text-align
:
left
;
margin-top
:
-10px
;
}
.application-header
{
background-color
:
rgba
(
61
,
174
,
233
,
0
.1
);
}
.application-header
h1
{
margin-top
:
5px
;
}
.border-top
{
border-top
:
1px
solid
#CCC
;
padding-top
:
10px
;
}
@media
(
max-width
:
768px
)
{
.sidebar
{
border-left
:
0
solid
black
;
border-top
:
1px
solid
#CCC
;
}
}
\ No newline at end of file
assets/sass/clipart.scss
View file @
0d8f628b
...
...
@@ -125,7 +125,6 @@ figure {
#logos-current
{
img
{
width
:
128px
;
height
:
128px
;
}
}
assets/sass/frameworks.scss
deleted
100644 → 0
View file @
c450d063
/**
* SPDX-FileCopyrightText: 2019 (c) Carl Schwan <carl@carlschwan.eu>
* SPDX-FileCopyrightText: 2017 (c) Ken Vermette <vermette@gmail.com>
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
main
.container
{
section
{
&
>
article
{
min-height
:
250px
;
}
}
}
.section-responsive
{
background-color
:
#1e4b6b
;
p
{
max-width
:
1200px
;
}
}
.section-links
{
display
:
flex
;
flex-direction
:
column
;
text-align
:
center
;
.section-links-content
{
display
:
flex
;
flex-wrap
:
wrap
;
div
{
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-between
;
flex-basis
:
33
.33%
;
@media
(
max-width
:
992px
)
{
flex-basis
:
50%
;
}
&
:nth-child
(
2
),
&
:nth-child
(
5
)
{
border-left
:
solid
1px
rgba
(
0
,
0
,
0
,
0
.1
);
border-right
:
solid
1px
rgba
(
0
,
0
,
0
,
0
.1
);
@media
(
max-width
:
992px
)
{
border
:
none
;
}
}
&
:nth-child
(
odd
)
{
@media
(
max-width
:
992px
)
{
border-right
:
solid
1px
rgba
(
0
,
0
,
0
,
0
.1
);
}
}
p
{
max-width
:
90%
;
margin-bottom
:
3em
;
}
}
a
{
width
:
80%
;
}
}
}
.section-examples
{
background-color
:
lightgrey
;
img
{
width
:
90%
;
height
:
auto
;
}
}
.splashLogo
{
.image
{
img
{
max-width
:
90%
;
height
:
auto
;
}
}
}
assets/sass/index.scss
View file @
0d8f628b
...
...
@@ -25,6 +25,10 @@ main {
}
}
.header-plasma20
*
{
color
:
white
!
important
;
}
.container-application
{
max-width
:
1200px
;
margin-left
:
auto
;
...
...
assets/sass/kirigami.scss
deleted
100644 → 0
View file @
c450d063
/**
* SPDX-FileCopyrightText: 2019 (c) Carl Schwan <carl@carlschwan.eu>
* SPDX-FileCopyrightText: 2017 (c) Ken Vermette <vermette@gmail.com>
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
main
.container
{
section
{
padding
:
0px
;
&
>
article
{
min-height
:
600px
;
@media
(
max-width
:
1200px
)
{
min-height
:
500px
;
}
@media
(
max-width
:
992px
)
{
min-height
:
400px
;
}
@media
(
max-width
:
768px
)
{
min-height
:
300px
;
}
}
}
}
.splashLogo
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
flex-direction
:
column
;
background-image
:
url(../../assets/kirigami/kirigami-splash.jpg)
;
background-size
:
cover
;
background-position
:
left
center
;
border-top-left-radius
:
2px
;
border-top-right-radius
:
2px
;
h1
{
color
:
#fafafa
!
important
;
font-size
:
32px
!
important
;
line-height
:
120%
;
background-image
:
none
!
important
;
}
p
{
color
:
#fcfcfc
!
important
;
line-height
:
120%
!
important
;
}
}
.section-convergent
{
.image
{
background-image
:
url(../../assets/kirigami/kirigami-devices.png)
;
background-size
:
auto
100%
;
background-position
:
center
right
;
width
:
60%
;
padding-bottom
:
0px
;
@media
(
max-width
:
768px
)
{
height
:
300px
;
width
:
100%
!
important
;
}
}
}
.section-responsive
{
background-color
:
#28618c
;
}
.section-links
{
flex-direction
:
row
;
text-align
:
center
;
min-height
:
auto
!
important
;
.section-links-content
div
{
width
:
50%
;
}
.section-links-content
div
+
div
{
border-left
:
solid
1px
rgba
(
0
,
0
,
0
,
0
.1
);
}
h1
{
border-bottom
:
solid
1px
rgba
(
0
,
0
,
0
,
0
.1
);
padding-bottom
:
20px
;
}
}
.section-open
{
background-image
:
url(../../assets/kirigami/community.jpg)
;
background-size
:
cover
;
background-repeat
:
no-repeat
;
background-position
:
center
center
;
*
{
color
:
#FFF
!
important
;
background
:
none
!
important
;
text-shadow
:
0px
0px
5px
rgba
(
0
,
0
,
0
,.
5
)
!
important
;
}
}
assets/sass/previousdonations.scss
0 → 100644
View file @
0d8f628b
/**
* SPDX-FileCopyrightText: 2021 Nguyen Hung Phu <phuhnguyen@disroot.org>
* SPDX-License-Identifier: LGPL-3.0-or-later
*/
table
,
th
,
td
{
border
:
1px
solid
black
;
}
td
,
th
{
padding
:
0
5px
;
}
.donation-year
{
width
:
900px
;
margin-left
:
auto
;
margin-right
:
auto
;
}
.first-cols
{
width
:
15%
;
}
.last-col
{
width
:
70%
;
}
.amount-col
{
text-align
:
right
;
}
@media
screen
and
(
max-width
:
900px
)
{
.donation-year
{
width
:
100%
;
}
}
assets/sass/products.scss
View file @
0d8f628b
...
...
@@ -5,162 +5,32 @@
* SPDX-License-Identifier: GPL-3.0-or-later
*/
/**
* Used for kde.org/products
*/
#productsRow
article
{
position
:
relative
;
padding-bottom
:
50px
;
&
>
a
.learn-more
{
position
:
absolute
;
bottom
:
0px
;
left
:
15px
;
right
:
15px
;
}
}
/**
* Used for kde.org/products/kirigami
* Used for kde.org/products/frameworks
*/
main
{
article
{
padding
:
20px
;
text-align
:
center
;
&
+
article
{
border-top
:
solid
2px
rgba
(
0
,
0
,
0
,
0
.1
);
}
}
&
.container
section
{
padding
:
0px
;
}
.image
{
background-origin
:
content-box
;
padding
:
20px
;
background-repeat
:
no-repeat
;
}
}
.columns
{
padding
:
0px
!
important
;
display
:
flex
;
justify-content
:
center
;
flex-direction
:
row
;
min-height
:
100%
;
align-items
:
stretch
;
@media
(
max-width
:
768px
)
{
flex-direction
:
column
;
}
&
>
div
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
flex-direction
:
column
;
padding
:
20px
;
@media
(
max-width
:
768px
)
{
border
:
none
!
important
;
width
:
100%
!
important
;
}
}
}
.section-responsive
{
background-image
:
linear-gradient
(
#4080b0
1px
,
transparent
1px
)
,
linear-gradient
(
90deg
,
#4080b0
1px
,
transparent
1px
)
,
linear-gradient
(
#34719e
1px
,
transparent
1px
)
,
linear-gradient
(
90deg
,
#34719e
1px
,
transparent
1px
);
background-size
:
100px
100px
,
100px
100px
,
20px
20px
,
20px
20px
;
background-position
:
center
center
;
align-items
:
stretch
;
min-height
:
0px
!
important
;
color
:
#fff
!
important
;
h1
{
padding-top
:
20px
;
background
:
none
!
important
;
color
:
#fff
!
important
;
}
p
{
padding
:
0px
20px
20px
!
important
;
color
:
#fff
!
important
;
}
.image
{
background-image
:
url(../../assets/kirigami/kirigami-adapt.png)
;
background-size
:
contain
;
background-position
:
center
center
;
width
:
100%
;
background-repeat
:
no-repeat
;
flex
:
1
;
height
:
400px
;
@media
(
max-width
:
768px
)
{
height
:
300px
;
}
}
.grid
{
display
:
grid
;
grid-template-columns
:
repeat
(
2
,
1fr
);
grid-gap
:
1rem
;
grid-auto-rows
:
1fr
;
}
.section-links
{
h1
{
border-bottom
:
solid
1px
rgba
(
0
,
0
,
0
,
0
.1
);
padding-bottom
:
20px
;
}
.bg-red
{
background-image
:
linear-gradient
(
-135deg
,
rgba
(
218
,
68
,
83
,
0
.2
)
,
rgba
(
231
,
76
,
60
,
0
.2
));
}
.section-links-content
{
a
{
display
:
inline-block
;
color
:
#feefe2
!
important
;
background-color
:
#e4720c
;
border-radius
:
2px
;
padding
:
10px
20px
;
&
:hover
{
background-color
:
#f37a0d
;
}
}
}
.section-elegant
{
flex-direction
:
row-reverse
;
.image
{
width
:
60%
;
background-image
:
url(../../assets/kirigami/subsurface.png)
;
background-size
:
contain
;
background-repeat
:
no-repeat
;
background-position
:
center
center
;
}
.bg-blue
{
background-image
:
linear-gradient
(
-135deg
,
rgba
(
61
,
174
,
233
,
0
.2
)
,
rgba
(
29
,
153
,
243
,
0
.2
));
}
main
.container
>
article
{
min-height
:
600px
;
.bg-green
{
background-image
:
linear-gradient
(
-135deg
,
rgba
(
39
,
174
,
96
,
0
.2
)
,
rgba
(
46
,
204
,
113
,
0
.2
))
;
}
@media
(
max-width
:
1200px
)
{
main
.container
>
article
{
min-height
:
500px
;
}
.bg-yellow
{
background-image
:
linear-gradient
(
-135deg
,
rgba
(
253
,
188
,
75
,
0
.2
)
,
rgba
(
246
,
116
,
0
,
0
.2
));
}
@media
(
max-width
:
992px
)
{
main
.container
>
article
{
min-height
:
400px
;
}
.bg-orange
{
background-color
:
rgba
(
246
,
116
,
0
,.
05
)
}
@media
(
max-width
:
768px
)
{
main
.container
>
article
{
min-height
:
300px
;
}
.bg-purple
{
background-image
:
linear-gradient
(
-135deg
,
#9b59b6
11
,
#8e44ad
11
);
}
content/_index.md
View file @
0d8f628b
---
images
:
-
/thumbnail.png
sassFiles
:
-
sass/index.scss
---
content/community/donations/previousdonations.md
View file @
0d8f628b
---
title
:
"
Paypal
Donations"
include_html
:
/community/donations/previousdonations.php
sassFiles
:
-
sass/previousdonations.scss
---