Commit 092833cb authored by Barbara T's avatar Barbara T
Browse files

set default download type

parent f2c052fc
@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;
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment