mirror of https://github.com/MISP/misp-website
Fix css
parent
23f3e978c6
commit
0ccc3249b8
|
@ -1,3 +1,2 @@
|
|||
_site/
|
||||
.sass-cache/
|
||||
assets/css/
|
||||
|
|
|
@ -0,0 +1,41 @@
|
|||
require "rubygems"
|
||||
require "tmpdir"
|
||||
|
||||
require "bundler/setup"
|
||||
require "jekyll"
|
||||
|
||||
|
||||
# Change your GitHub reponame
|
||||
GITHUB_REPONAME = "Rafiot/misp-website"
|
||||
|
||||
|
||||
namespace :site do
|
||||
desc "Generate blog files"
|
||||
task :generate do
|
||||
Jekyll::Site.new(Jekyll.configuration({
|
||||
"source" => ".",
|
||||
"destination" => "_site"
|
||||
})).process
|
||||
end
|
||||
|
||||
|
||||
desc "Generate and publish blog to gh-pages"
|
||||
task :publish => [:generate] do
|
||||
Dir.mktmpdir do |tmp|
|
||||
cp_r "_site/.", tmp
|
||||
|
||||
pwd = Dir.pwd
|
||||
Dir.chdir tmp
|
||||
|
||||
system "git init"
|
||||
system "git add ."
|
||||
message = "Site updated at #{Time.now.utc}"
|
||||
system "git commit -m #{message.inspect}"
|
||||
system "git remote add origin git@github.com:#{GITHUB_REPONAME}.git"
|
||||
system "git push origin master:refs/heads/gh-pages --force"
|
||||
|
||||
Dir.chdir pwd
|
||||
end
|
||||
end
|
||||
end
|
||||
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,67 @@
|
|||
/*
|
||||
Arcana by HTML5 UP
|
||||
html5up.net | @ajlkn
|
||||
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
*/
|
||||
|
||||
/* Form */
|
||||
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
input[type="email"],
|
||||
textarea {
|
||||
position: relative;
|
||||
-ms-behavior: url("assets/js/ie/PIE.htc");
|
||||
}
|
||||
|
||||
/* Image */
|
||||
|
||||
.image {
|
||||
-ms-behavior: url("assets/js/ie/PIE.htc");
|
||||
}
|
||||
|
||||
.image img {
|
||||
position: relative;
|
||||
-ms-behavior: url("assets/js/ie/PIE.htc");
|
||||
}
|
||||
|
||||
/* Icon */
|
||||
|
||||
.icon.major {
|
||||
position: relative;
|
||||
-ms-behavior: url("assets/js/ie/PIE.htc");
|
||||
}
|
||||
|
||||
/* Button */
|
||||
|
||||
input[type="submit"],
|
||||
input[type="reset"],
|
||||
input[type="button"],
|
||||
.button {
|
||||
position: relative;
|
||||
-ms-behavior: url("assets/js/ie/PIE.htc");
|
||||
}
|
||||
|
||||
/* Box */
|
||||
|
||||
.box.post .inner {
|
||||
margin-left: 35%;
|
||||
}
|
||||
|
||||
/* Dropotron */
|
||||
|
||||
.dropotron {
|
||||
-ms-behavior: url("assets/js/ie/PIE.htc");
|
||||
}
|
||||
|
||||
/* Banner */
|
||||
|
||||
#banner {
|
||||
-ms-behavior: url("assets/js/ie/backgroundsize.min.htc");
|
||||
}
|
||||
|
||||
/* Wrapper */
|
||||
|
||||
.wrapper.style2 {
|
||||
background: #fdfdfd url("images/bg01.png");
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
/*
|
||||
Arcana by HTML5 UP
|
||||
html5up.net | @ajlkn
|
||||
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
*/
|
||||
|
||||
/* Header */
|
||||
|
||||
#nav > ul > li.current:before {
|
||||
display: none;
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 4.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
File diff suppressed because it is too large
Load Diff
Binary file not shown.
After Width: | Height: | Size: 124 KiB |
Loading…
Reference in New Issue