Add .gitignore, basic main project Gruntfile (including basic compilation), package.json with dependencies, initial index
This commit is contained in:
parent
dd7676ebb1
commit
2fad0482cd
10 changed files with 134 additions and 24 deletions
7
.gitignore
vendored
Normal file
7
.gitignore
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
/node_modules
|
||||
*~
|
||||
*.diff
|
||||
*.patch
|
||||
.DS_Store
|
||||
.project
|
||||
.settings
|
28
Gruntfile.js
Normal file
28
Gruntfile.js
Normal file
|
@ -0,0 +1,28 @@
|
|||
|
||||
module.exports = function(grunt) {
|
||||
|
||||
"use strict";
|
||||
|
||||
var fs = require('fs'), pkginfo = grunt.file.readJSON("package.json");
|
||||
|
||||
grunt.initConfig({
|
||||
|
||||
pkg: pkginfo,
|
||||
|
||||
copy: {
|
||||
uikit: {
|
||||
files: [{ expand: true, cwd: "uikit/dist/css", src: ["uikit.multimc.min.css"], dest: "dist/assets/" },
|
||||
{ expand: true, cwd: "uikit/dist/js", src: ["uikit.min.js"], dest: "dist/assets/" },
|
||||
{ expand: true, cwd: "src", src: ["*.html"], dest: "dist" }]
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
// Load grunt tasks from NPM packages
|
||||
grunt.loadNpmTasks("grunt-contrib-copy");
|
||||
|
||||
// Register grunt tasks
|
||||
grunt.registerTask("default", ["copy"]);
|
||||
|
||||
};
|
11
README.md
11
README.md
|
@ -0,0 +1,11 @@
|
|||
# MultiMC website
|
||||
|
||||
Uses Grunt to compile UIkit/the website assets. The content generator itself is still undecided.
|
||||
|
||||
Run Grunt in the uikit folder and then in the main folder to compile what currently exists (or use "grunt watch" to automatically compile on changes).
|
||||
|
||||
UIkit tests are available for the theme in uikit/tests.
|
||||
|
||||
TODO:
|
||||
* Content
|
||||
* Static content generator
|
3
dist/assets/uikit.min.js
vendored
Normal file
3
dist/assets/uikit.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
3
dist/assets/uikit.multimc.min.css
vendored
Normal file
3
dist/assets/uikit.multimc.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
11
dist/index.html
vendored
Normal file
11
dist/index.html
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
<link rel="stylesheet" href="assets/uikit.multimc.min.css" />
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
|
||||
<script src="assets/uikit.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
28
package.json
Normal file
28
package.json
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"name": "multimc-website",
|
||||
"title": "MultiMC-Website",
|
||||
"description": "Website for the MultiMC project.",
|
||||
"version": "0.0.1",
|
||||
"homepage": "http://www.multimc.org",
|
||||
"author": {
|
||||
"name": "MultiMC Contributors",
|
||||
"url": "http://www.multimc.org"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/multimc/multimc-website"
|
||||
},
|
||||
"licenses": [
|
||||
{
|
||||
"type": "BSD 3-clause",
|
||||
"url": "https://github.com/multimc/multimc-website/master/LICENSE.md"
|
||||
}
|
||||
],
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"grunt-contrib-copy": "0.4.0",
|
||||
"grunt": "~0.4.0"
|
||||
},
|
||||
"keywords": [],
|
||||
"private": true
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
<link rel="stylesheet" href="assets/uikit.multimc.min.css" />
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
|
||||
<script src="assets/uikit.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
54
uikit/dist/css/uikit.multimc.css
vendored
54
uikit/dist/css/uikit.multimc.css
vendored
|
@ -1402,7 +1402,7 @@ iframe {
|
|||
background: #fafafa;
|
||||
color: #444444;
|
||||
border: 1px solid #dddddd;
|
||||
border-radius: 4px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.uk-panel-box .uk-panel-title {
|
||||
color: #444444;
|
||||
|
@ -1576,7 +1576,7 @@ iframe {
|
|||
margin-bottom: 15px;
|
||||
padding: 10px;
|
||||
border: 1px solid #dddddd;
|
||||
border-radius: 4px;
|
||||
border-radius: 3px;
|
||||
background: #fafafa;
|
||||
}
|
||||
/*
|
||||
|
@ -2332,7 +2332,7 @@ html:not(.uk-touch) .uk-nav-offcanvas ul a:hover {
|
|||
.uk-subnav-pill > li > span {
|
||||
padding: 3px 9px;
|
||||
text-decoration: none;
|
||||
border-radius: 4px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
/*
|
||||
* Hover
|
||||
|
@ -2493,7 +2493,7 @@ html:not(.uk-touch) .uk-nav-offcanvas ul a:hover {
|
|||
text-align: center;
|
||||
/* 2 */
|
||||
|
||||
border-radius: 4px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
/*
|
||||
* Links
|
||||
|
@ -2616,7 +2616,7 @@ html:not(.uk-touch) .uk-nav-offcanvas ul a:hover {
|
|||
border-bottom-width: 0;
|
||||
color: #0077dd;
|
||||
text-decoration: none;
|
||||
border-radius: 4px 4px 0 0;
|
||||
border-radius: 3px 3px 0 0;
|
||||
text-shadow: 0 1px 0 #ffffff;
|
||||
}
|
||||
.uk-tab > li:nth-child(n+2) > a {
|
||||
|
@ -3103,7 +3103,7 @@ html:not(.uk-touch) .uk-nav-offcanvas ul a:hover {
|
|||
color: #444444;
|
||||
-webkit-transition: all linear 0.2s;
|
||||
transition: all linear 0.2s;
|
||||
border-radius: 4px;
|
||||
border-radius: 3px;
|
||||
/* Focus state */
|
||||
|
||||
/* Disabled state */
|
||||
|
@ -3406,7 +3406,7 @@ select.uk-form-width-mini {
|
|||
/* 5 */
|
||||
|
||||
border: 1px solid rgba(0, 0, 0, 0.06);
|
||||
border-radius: 4px;
|
||||
border-radius: 3px;
|
||||
text-shadow: 0 1px 0 #ffffff;
|
||||
}
|
||||
/* Required for `a` elements */
|
||||
|
@ -3560,7 +3560,7 @@ a.uk-button {
|
|||
padding: 0 15px;
|
||||
line-height: 38px;
|
||||
font-size: 16px;
|
||||
border-radius: 5px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
/*
|
||||
* Behave like a block element and take the full width
|
||||
|
@ -5010,7 +5010,7 @@ a.uk-close:hover {
|
|||
background: #ebf7fd;
|
||||
color: #2d7091;
|
||||
border: 1px solid rgba(45, 112, 145, 0.3);
|
||||
border-radius: 4px;
|
||||
border-radius: 3px;
|
||||
text-shadow: 0 1px 0 #ffffff;
|
||||
}
|
||||
/*
|
||||
|
@ -5117,7 +5117,7 @@ a.uk-close:hover {
|
|||
padding: 4px;
|
||||
border: 1px solid #dddddd;
|
||||
background: #ffffff;
|
||||
border-radius: 4px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
/*
|
||||
* Hover state for `a` elements
|
||||
|
@ -5320,7 +5320,7 @@ a.uk-thumbnail:focus {
|
|||
/* 2 */
|
||||
|
||||
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
|
||||
border-radius: 4px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
/*
|
||||
* Add margin if adjacent element
|
||||
|
@ -5979,7 +5979,7 @@ input.uk-search-field {
|
|||
|
||||
letter-spacing: normal;
|
||||
border: 1px solid #dddddd;
|
||||
border-radius: 4px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
/*
|
||||
* 1. Show dropdown
|
||||
|
@ -6119,7 +6119,7 @@ input.uk-search-field {
|
|||
color: #444444;
|
||||
left: -1px;
|
||||
border: 1px solid #dddddd;
|
||||
border-radius: 4px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.uk-open > .uk-dropdown-navbar {
|
||||
-webkit-animation: uk-slide-top-fixed 0.2s ease-in-out;
|
||||
|
@ -6240,7 +6240,7 @@ input.uk-search-field {
|
|||
/* 4 */
|
||||
|
||||
background: #ffffff;
|
||||
border-radius: 4px;
|
||||
border-radius: 3px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
/* Only phones */
|
||||
|
@ -7225,7 +7225,15 @@ input.uk-search-field {
|
|||
/*
|
||||
* Tooltip
|
||||
*/
|
||||
/* Defaults */
|
||||
/*
|
||||
* Breakpoints
|
||||
|
||||
|
||||
@breakpoint-small: 0;
|
||||
@breakpoint-medium: 0;
|
||||
@breakpoint-large: 0;
|
||||
@breakpoint-xlarge: 960;
|
||||
*//* Defaults */
|
||||
/*
|
||||
* Base component
|
||||
*
|
||||
|
@ -7381,7 +7389,7 @@ input.uk-search-field {
|
|||
/* Component
|
||||
========================================================================== */
|
||||
.uk-navbar:not(.uk-navbar-attached) {
|
||||
border-radius: 4px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
/* Sub-object: `uk-navbar-nav`
|
||||
========================================================================== */
|
||||
|
@ -7394,8 +7402,8 @@ input.uk-search-field {
|
|||
* Apply same `border-radius` as `uk-navbar`
|
||||
*/
|
||||
.uk-navbar:not(.uk-navbar-attached) .uk-navbar-nav:first-child > li:first-child > a {
|
||||
border-top-left-radius: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
border-top-left-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
}
|
||||
/*
|
||||
* Sub-modifier `uk-navbar-flip`
|
||||
|
@ -7411,8 +7419,8 @@ input.uk-search-field {
|
|||
border-bottom-left-radius: 0;
|
||||
}
|
||||
.uk-navbar:not(.uk-navbar-attached) .uk-navbar-flip .uk-navbar-nav:last-child > li:last-child > a {
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
border-top-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
/*
|
||||
* Needed for hover
|
||||
|
@ -7470,7 +7478,7 @@ input.uk-search-field {
|
|||
/* Modifier: `uk-tab-bottom'
|
||||
========================================================================== */
|
||||
.uk-tab-bottom > li > a {
|
||||
border-radius: 0 0 4px 4px;
|
||||
border-radius: 0 0 3px 3px;
|
||||
}
|
||||
/* Modifier: `uk-tab-left', `uk-tab-right'
|
||||
========================================================================== */
|
||||
|
@ -7480,13 +7488,13 @@ input.uk-search-field {
|
|||
* Modifier: `uk-tab-left'
|
||||
*/
|
||||
.uk-tab-left > li > a {
|
||||
border-radius: 4px 0 0 4px;
|
||||
border-radius: 3px 0 0 3px;
|
||||
}
|
||||
/*
|
||||
* Modifier: `uk-tab-right'
|
||||
*/
|
||||
.uk-tab-right > li > a {
|
||||
border-radius: 0 4px 4px 0;
|
||||
border-radius: 0 3px 3px 0;
|
||||
}
|
||||
}
|
||||
/* Elements */
|
||||
|
|
2
uikit/dist/css/uikit.multimc.min.css
vendored
2
uikit/dist/css/uikit.multimc.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue