define(function() {

	// Export
	return function(Prism) {

		Prism.languages.css = {
			'comment': /\/\*[\w\W]*?\*\//g,
			'atrule': /@[\w-]+?(\s+[^;{]+)?(?=\s*{|\s*;)/gi,
			'url': /url\((["']?).*?\1\)/gi,
			'selector': /[^\{\}\s][^\{\}]*(?=\s*\{)/g,
			'property': /(\b|\B)[a-z-]+(?=\s*:)/ig,
			'string': /("|')(\\?.)*?\1/g,
			'important': /\B!important\b/gi,
			'ignore': /&(lt|gt|amp);/gi,
			'punctuation': /[\{\};:]/g
		};

		if (Prism.languages.markup) {
			Prism.languages.insertBefore('markup', 'tag', {
				'style': {
					pattern: /(&lt;|<)style[\w\W]*?(>|&gt;)[\w\W]*?(&lt;|<)\/style(>|&gt;)/ig,
					inside: {
						'tag': {
							pattern: /(&lt;|<)style[\w\W]*?(>|&gt;)|(&lt;|<)\/style(>|&gt;)/ig,
							inside: Prism.languages.markup.tag.inside
						},
						rest: Prism.languages.css
					}
				}
			});
		}

  };

});

define(function() {
  return function(Prism) {
    Prism.languages.css = {
      'comment': /\/\*[\w\W]*?\*\//g,
      'atrule': /@[\w-]+?(\s+[^;{]+)?(?=\s*{|\s*;)/gi,
      'url': /url\((["']?).*?\1\)/gi,
      'selector': /[^\{\}\s][^\{\}]*(?=\s*\{)/g,
      'property': /(\b|\B)[a-z-]+(?=\s*:)/ig,
      'string': /("|')(\\?.)*?\1/g,
      'important': /\B!important\b/gi,
      'ignore': /&(lt|gt|amp);/gi,
      'punctuation': /[\{\};:]/g
    };

    if (Prism.languages.markup) {
      Prism.languages.insertBefore('markup', 'tag', {
        'style': {
          pattern: /(&lt;|<)style[\w\W]*?(>|&gt;)[\w\W]*?(&lt;|<)\/style(>|&gt;)/ig,
          inside: {
            'tag': {
              pattern: /(&lt;|<)style[\w\W]*?(>|&gt;)|(&lt;|<)\/style(>|&gt;)/ig,
              inside: Prism.languages.markup.tag.inside
            },
            rest: Prism.languages.css
          }
        }
      });
    }
  };
});

Fix indentation of the CSS grammar
Fix indentation of the CSS grammar
