Skip to content

Commit

Permalink
add awesome
Browse files Browse the repository at this point in the history
  • Loading branch information
ximumukang committed Jul 21, 2017
1 parent 7e5a978 commit cd0f554
Show file tree
Hide file tree
Showing 205 changed files with 25,576 additions and 288 deletions.
388 changes: 271 additions & 117 deletions .idea/workspace.xml

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,34 +19,34 @@
</script>

<style>
@import './assets/Font-Awesome-3.2.1/css/font-awesome.min.css';
*{
margin: 0;
padding: 0;
font: 16px/1.5em Microsoft YaHei,Tahoma,Helvetica,Arial,\\5B8B\4F53,sans-serif;
color: rgb(85, 85, 85);
}
li{
list-style: none;
}
p{
font-size: 14px;
}
table *{
font-size: 16px;
}
table.calendar *{
font-size: 10px;
}
a{
list-style: none;
color: white;
text-decoration: none;
cursor: pointer;
text-align: center;
}
li{
list-style: none;
}
button{
cursor: pointer;
padding: .25em 1em;
}
button:hover{
background: #ee7419;
Expand Down Expand Up @@ -103,17 +103,19 @@
#container{
width:90%;
min-height: 300px;
margin: 50px auto;
margin: 25px auto;
padding: 1em 1em 2.5em;
border-radius: .2em;
box-shadow: 0 .05em .25em rgba(0,0,0,.5);
font-size: 16px;
background: #fff;
position: relative;
}
@media only screen and(min-width:798px){
/* and 与 ( 间必须要一个空格 */
@media only screen and (min-width:798px){
#container {
width: 75%;
margin: 50px auto;
}
}
Expand All @@ -133,48 +135,46 @@
line-height: 1.5em;
padding-bottom:1.5em ;
}
#question-list .question-option{
#question-list .question{
padding: .5em;
}
#container h1:hover,#question-list .question-option:hover {
#question-list .question h3 {
font-size: 18px;
line-height: 2em;
}
#container h1:hover,
#question-list .question:hover {
background: rgb(254, 241, 232);
}
#question-list .question-option:hover>h3{
font-weight: bold;
#question-list .question:hover>h3{
font-weight: 600;
}
/* i元素会继承text-indent 所以只需要1em */
#question-list p{
text-indent: 2em;
text-indent: 1em;
}
textarea{
margin-left: 2em;
width: 90%;
}
#question-list div p:before{
content: "\E600";
margin-right: 1em;
}
button{
border-radius: .2em;
box-shadow: 0 .05em .25em rgba(0,0,0,.5);
background-color: rgb(255, 255, 255);
}
a.btn {
.btn {
display: inline-block;
color: black;
width: 90px;
height: 34px;
line-height: 34px;
border-radius: 5px;
border: 1px solid gainsboro;
background: white;
overflow: hidden;
}
a.btn:hover {
.btn:hover {
color: white;
background: #ee7419;
}
a.btn {
line-height: 34px;
}
/*清除浮动*/
.clearfix:after {
content: '';
Expand Down
30 changes: 30 additions & 0 deletions src/assets/Font-Awesome-3.2.1/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
*.pyc
*.egg-info
*.db
*.db.old
*.swp
*.db-journal

.coverage
.DS_Store
.installed.cfg
_gh_pages/*

.idea/*
.svn/*
src/website/static/*
src/website/media/*

bin
cfcache
develop-eggs
dist
downloads
eggs
parts
tmp
.sass-cache
node_modules

src/website/settingslocal.py
stunnel.log
1 change: 1 addition & 0 deletions src/assets/Font-Awesome-3.2.1/.ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.9.3-p392
75 changes: 75 additions & 0 deletions src/assets/Font-Awesome-3.2.1/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Contributing to Font Awesome

Looking to contribute something to Font Awesome? **Here's how you can help.**



## Reporting issues

We only accept issues that are icon requests, bug reports, or feature requests. Bugs must be isolated and reproducible problems that we can fix within the Font Awesome core. Please read the following guidelines to ensure you are the paragon of bug reporting.

1. **Search for existing issues.** We get a lot of duplicate issues, and you'd help us out a lot by first checking if someone else has reported the same issue. Moreover, the issue may have already been resolved with a fix available.
2. **Create an isolated and reproducible test case.** Be sure the problem exists in Font Awesome's code with a [reduced test case](http://css-tricks.com/reduced-test-cases/) that should be included in each bug report.
3. **Include a live example.** Make use of jsFiddle, jsBin, or Codepen to share your isolated test cases.
4. **Share as much information as possible.** Include operating system and version, browser and version, version of Font Awesome, etc. where appropriate. Also include steps to reproduce the bug.



## Key branches

- `master` is the latest, deployed version (not to be used for pull requests)
- `gh-pages` is the hosted docs (not to be used for pull requests)
- `*-wip` branches are the official work in progress branches for the next releases. All pull requests should be submitted against the appropriate branch



## Notes on the repo

As of v3.2.0, Font Awesome's CSS, LESS, SCSS, and documentation are all powered by Jekyll templates and built before each commit and release.
- `_config.yml` - much of the site is driven off variables from this file, including Font Awesome and Bootstrap versions
- `src/` - All edits to documentation, LESS, SCSS, and CSS should be made to files and templates in this directory
- `src/icons.yml` - all LESS, SCSS, and CSS icon definitions are driven off this single file



## Pull requests

- Submit all pull requests against the appropriate `*-wip` branch for easier merging
- Any changes to the docs must be made to the Liquid templates in the `src` directory
- CSS changes must be done in .less and .scss files first, never the compiled files
- If modifying the .less and .scss files, always recompile and commit the compiled files
- Try not to pollute your pull request with unintended changes--keep them simple and small
- Try to share which browsers your code has been tested in before submitting a pull request



## Coding standards: HTML

- Two spaces for indentation, never tabs
- Double quotes only, never single quotes
- Always use proper indentation
- Use tags and elements appropriate for an HTML5 doctype (e.g., self-closing tags)



## Coding standards: CSS

- Adhere to the [Recess CSS property order](http://markdotto.com/2011/11/29/css-property-order/)
- Multiple-line approach (one property and value per line)
- Always a space after a property's colon (.e.g, `display: block;` and not `display:block;`)
- End all lines with a semi-colon
- For multiple, comma-separated selectors, place each selector on it's own line
- Attribute selectors, like `input[type="text"]` should always wrap the attribute's value in double quotes, for consistency and safety (see this [blog post on unquoted attribute values](http://mathiasbynens.be/notes/unquoted-attribute-values) that can lead to XSS attacks)



## License

By contributing your code, you agree to license your contribution under the terms of the MIT License:
- http://opensource.org/licenses/mit-license.html



## Thanks

Thanks to Bootstrap for their wonderful CONTRIBUTING.MD doc. It was modified to create this one.
4 changes: 4 additions & 0 deletions src/assets/Font-Awesome-3.2.1/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source 'https://rubygems.org'

gem 'jekyll', '~> 1.0'
gem 'debugger'
46 changes: 46 additions & 0 deletions src/assets/Font-Awesome-3.2.1/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
GEM
remote: https://rubygems.org/
specs:
classifier (1.3.3)
fast-stemmer (>= 1.0.0)
colorator (0.1)
columnize (0.3.6)
commander (4.1.3)
highline (~> 1.6.11)
debugger (1.6.0)
columnize (>= 0.3.1)
debugger-linecache (~> 1.2.0)
debugger-ruby_core_source (~> 1.2.1)
debugger-linecache (1.2.0)
debugger-ruby_core_source (1.2.2)
directory_watcher (1.4.1)
fast-stemmer (1.0.2)
highline (1.6.19)
jekyll (1.0.0)
classifier (~> 1.3)
colorator (~> 0.1)
commander (~> 4.1.3)
directory_watcher (~> 1.4.1)
kramdown (~> 0.14)
liquid (~> 2.3)
maruku (~> 0.5)
pygments.rb (~> 0.4.2)
safe_yaml (~> 0.7.0)
kramdown (0.14.2)
liquid (2.5.0)
maruku (0.6.1)
syntax (>= 1.0.0)
posix-spawn (0.3.6)
pygments.rb (0.4.2)
posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.1.0)
safe_yaml (0.7.1)
syntax (1.0.0)
yajl-ruby (1.1.0)

PLATFORMS
ruby

DEPENDENCIES
debugger
jekyll (= 1.0)
62 changes: 62 additions & 0 deletions src/assets/Font-Awesome-3.2.1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
#[Font Awesome v3.2.1](http://fontawesome.io)
###the iconic font designed for Bootstrap

Font Awesome is a full suite of 361 pictographic icons for easy scalable vector graphics on websites, created and
maintained by [Dave Gandy](http://twitter.com/byscuits). Stay up to date [@fontawesome](http://twitter.com/fontawesome).

Get started at http://fontawesome.io!

##License
- The Font Awesome font is licensed under the SIL OFL 1.1:
- http://scripts.sil.org/OFL
- Font Awesome CSS, LESS, and SASS files are licensed under the MIT License:
- http://opensource.org/licenses/mit-license.html
- The Font Awesome documentation is licensed under the CC BY 3.0 License:
- http://creativecommons.org/licenses/by/3.0/
- Attribution is no longer required as of Font Awesome 3.0, but much appreciated:
- `Font Awesome by Dave Gandy - http://fontawesome.io`
- Full details: http://fontawesome.io/license

##Changelog
- v3.0.0 - all icons redesigned from scratch, optimized for Bootstrap's 14px default
- v3.0.1 - much improved rendering in webkit, various bug fixes
- v3.0.2 - much improved rendering and alignment in IE7
- v3.1.0 - Added 54 icons, icon stacking styles, flipping and rotating icons, removed SASS support
- [v3.1.1 GitHub milestones](https://github.com/FortAwesome/Font-Awesome/issues?milestone=4&page=1&state=closed)
- [v3.2.0 GitHub milestones](https://github.com/FortAwesome/Font-Awesome/issues?milestone=3&page=1&state=closed)
- [v3.2.1 GitHub milestones](https://github.com/FortAwesome/Font-Awesome/issues?milestone=5&page=1&state=closed)

##Versioning

Font Awesome will be maintained under the Semantic Versioning guidelines as much as possible. Releases will be numbered with the following format:

`<major>.<minor>.<patch>`

And constructed with the following guidelines:

* Breaking backward compatibility bumps the major (and resets the minor and patch)
* New additions, including new icons, without breaking backward compatibility bumps the minor (and resets the patch)
* Bug fixes and misc changes bumps the patch

For more information on SemVer, please visit http://semver.org.

##Author
- Email: dave@fontawesome.io
- Twitter: http://twitter.com/byscuits
- GitHub: https://github.com/davegandy
- Work: Lead Product Designer @ http://kyru.us

## Hacking on Font Awesome

From the root of the repository, install the tools used to develop.

$ bundle install
$ npm install

Build the project and documentation:

$ bundle exec jekyll build

Or serve it on a local server on http://localhost:7998/Font-Awesome/:

$ bundle exec jekyll serve
Loading

0 comments on commit cd0f554

Please sign in to comment.