Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
suckless web
tantum.
Commits
092833cb
Commit
092833cb
authored
May 10, 2019
by
Barbara T
Browse files
set default download type
parent
f2c052fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
css/_downloads.scss
View file @
092833cb
@mixin
dtype
(
$type
,
$bg
,
$fg
:
$fontcolor
,
$content
:
""
){
@mixin
dtype
(
$type
,
$bg
,
$fg
:
white
,
$content
:
""
){
&
[
data-type
=
"
#{
$type
}
"
]
{
background
:
$bg
;
...
...
@@ -39,10 +39,15 @@
@include
dtype
(
"application/x-rar-compressed"
,
#e0ac00
,
white
,
$fa-var-file-archive
);
//RAR
@include
dtype
(
"application/x-tar"
,
#e0ac00
,
white
,
$fa-var-file-archive
);
//TAR
@include
dtype
(
"application/rtf"
,
#e0ac00
,
white
,
$fa-var-file-word
);
//RTF
@include
dtype
(
"application/vnd.microsoft.portable-executable"
,
black
,
white
,
$fa-var-file-code
);
//.exe
@include
dtype
(
"application/vnd.microsoft.portable-executable"
,
#3b3836
,
white
,
$fa-var-file-code
);
//Microsoft exe
@include
dtype
(
"application/x-dosexec"
,
#3b3836
,
white
,
$fa-var-file-code
);
//exe
@include
dtype
(
"application/msword"
,
#27629d
,
white
,
$fa-var-file-word
);
//Microsoft Word
@include
dtype
(
"application/vnd.openxmlformats-officedocument. wordprocessingml.document"
,
#27629d
,
white
,
$fa-var-file-word
);
//OpenOffice Word
a
{
color
:
white
;
}
&
::after
{
font-family
:
"Font Awesome 5 Free"
,
fantasy
;
display
:
block
;
...
...
@@ -50,6 +55,8 @@
bottom
:
8px
;
font-size
:
4rem
;
right
:
8px
;
content
:
fa-content
(
$fa-var-file-download
);
color
:
white
;
}
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment