Browse Source

clean/min css

windhamdavid 4 years ago
parent
commit
c877e6f78d
10 changed files with 11 additions and 2170 deletions
  1. 0 183
      css/card.css
  2. 0 0
      css/chat.css
  3. 0 1875
      css/style-o.css
  4. 0 16
      css/style-o.min.css
  5. 0 15
      css/style.min.css
  6. 8 8
      functions.php
  7. 1 2
      gruntfile.js
  8. 0 69
      page-card.php
  9. 1 1
      page-chat.php
  10. 1 1
      style.min.css

+ 0 - 183
css/card.css

@@ -1,183 +0,0 @@
-html, body, div, span, object, iframe,
-h1, h2, h3, h4, h5, h6, p, blockquote, pre,
-abbr, address, cite, code,
-del, dfn, em, img, ins, kbd, q, samp,
-small, strong, sub, sup, var,
-b, i,
-dl, dt, dd, ol, ul, li,
-fieldset, form, label, legend,
-table, caption, tbody, tfoot, thead, tr, th, td,
-article, aside, canvas, details, figcaption, figure, 
-footer, header, hgroup, menu, nav, section, summary,
-time, mark, audio, video {
-  margin:0;
-  padding:0;
-  border:0;
-  outline:0;
-  font-size:100%;
-  vertical-align:baseline;
-  background:transparent;
-}
-body {
-    padding: 0;
-    margin: 0;
-	background: rgba(160,160,160,0.73) url(../img/3.png);
-	color: #666;
-	font-size: 12px;
-	line-height: 18px;
-}
-h1, h2, h3, h4, h5, h6 {
-	clear: both;
-	font-weight: normal;
-}
-ol, ul {
-	list-style: none;
-}
-del {
-	text-decoration: line-through;
-}
-
-table {
-	border-collapse: collapse;
-	border-spacing: 0;
-}
-a img {
-	border: none;
-}
-p {
-	font-size: 13px;
-	margin-bottom: 8px;
-}
-h4 {
-	font-size: 13px;
-	margin-bottom: 10px;
-}
-h3 {
-	font-size: 14px;
-	margin-bottom: 0px;
-}
-h2 {
-	font-size: 16px;
-	margin-left: 25px;
-}
-	p.noindent {
-	margin-bottom: 10px;
-	text-indent : 0px;
-}
-a:link {
-	color: #000;
-	text-decoration: none;
-}
-a:visited {
-	color: #000;
-	text-decoration: none;
-}
-a:active,
-a:hover {
-	color: #757576;
-	text-decoration: none;
-}
-.screen-reader-text {
-	position: absolute;
-	left: -9000px;
-}
-.header {
-	margin: 0 0 50px 0;
-}
-#container {
-	margin: 0 auto;
-	text-align: center;
-}
-#content {
-	margin: 150px auto;	
-	width:500px;
-	background: #fff;
-	padding: 20px;
-	border: 1px solid #dadada;
-}
-#content img {
-	float: left;
-	margin: -5px 0 -40px 95px;
-}
-#content .icons img {
-	margin: 3px;
-	float: none;
-}
-.card #content {
-	margin: 150px auto;
-	-webkit-animation-name: none;
-	-webkit-animation-iteration-count: infinite;
-	-webkit-animation-timing-function: linear;
-	-webkit-animation-duration: 400s;
-	z-index:-1;
-	width:450px;
-	border-top: 1px solid #fff;
-    -webkit-box-shadow: 0px 3px 5px #cbcbcb;
-    -moz-box-shadow: 0px 3px 5px #cbcbcb;
-    box-shadow: 0px 3px 5px #cbcbcb;
-    -webkit-border-radius: 4px;
-    -moz-border-radius: 4px;
-    border-radius: 4px;
-}
-.bottom {
-	margin-top: 32px;
-}
-.bottom p {
-	margin: 0;
-}
-.bottom a {
-	color: #666;
-}
-.left-bottom {
-	float: left;
-	display: block;
-	text-align: left;
-	margin: 0px 0 0 50px;
-}
-.left-bottom p {
-	font-size: 9px;
-}
-.right-bottom {
-	margin: 0px 50px 0 0;
-	text-align: right;
-	font-size: 9px;
-}
-.right-bottom p {
-	font-size: 9px;
-}
-.contact {
-	font-size: 12px;
-}
-
-@-webkit-keyframes Rotation {
-from {-webkit-transform: rotate(0deg);}
-to {-webkit-transform: rotate(360deg);}
-}
-
-@media (max-width: 480px) {
-	.card #content {
-		-webkit-animation-name: none;
-		width:550px;
-	}
-	h2 {
-		font-size: 21px;
-	}
-	h3 {
-		font-size: 19px;
-	}
-	h4 {
-		font-size: 17px;
- 	}
-	.header {
-		margin: 0 0 55px 0;
-	}
-	#content img {
-		margin: -5px 0 -40px 80px;
-	}
-	.bottom {
-		margin-top: 50px;
-	}
-	.bottom p {
-		font-size: 9px;
-	}
-}

css/message.css → css/chat.css


File diff suppressed because it is too large
+ 0 - 1875
css/style-o.css


File diff suppressed because it is too large
+ 0 - 16
css/style-o.min.css


File diff suppressed because it is too large
+ 0 - 15
css/style.min.css


+ 8 - 8
functions.php

@@ -38,18 +38,18 @@ add_action( 'init', 'dw_editor' );
 add_action( 'wp_enqueue_scripts', 'dw_scripts' );
 function dw_scripts() {
 	global $post;
-	wp_enqueue_style( 'style', get_stylesheet_uri() );
-	//wp_enqueue_style( 'style-min', get_template_directory_uri() . '/css/style.min.css');
+	//wp_enqueue_style( 'style', get_stylesheet_uri() );
+	wp_enqueue_style( 'style-min', get_template_directory_uri() . '/style.min.css');
 	//wp_enqueue_style( 'style-o', get_template_directory_uri() . '/css/style-o.css');
 	//wp_enqueue_style( 'style-o-min', get_template_directory_uri() . '/css/style-o.min.css');
-	wp_enqueue_style( 'boots', get_template_directory_uri() . '/css/boot.css');
+	//wp_enqueue_style( 'boots', get_template_directory_uri() . '/css/boot.css');
 	
 	wp_deregister_script('jquery');
 	
 	if ( is_page('about') ) {	
 		//wp_enqueue_style( 'boot', get_template_directory_uri() . '/css/boot.css');
-		wp_enqueue_style( 'cal', get_template_directory_uri() . '/css/fullcalendar.css');
-		wp_enqueue_style( 'ani', get_template_directory_uri() . '/css/animate.css');	
+		//wp_enqueue_style( 'cal', get_template_directory_uri() . '/css/fullcalendar.css');
+		//wp_enqueue_style( 'ani', get_template_directory_uri() . '/css/animate.css');	
 		wp_enqueue_script('jquery', get_template_directory_uri() . '/js/jquery-2.1.1.min.js', array(), false, true);
 		wp_enqueue_script( 'modern', get_template_directory_uri() . '/js/modernizr.js', 'jquery', '', true );
 		wp_enqueue_script( 'boostrap', get_template_directory_uri() . '/js/bootstrap.min.js', 'jquery', '', true );
@@ -65,7 +65,7 @@ function dw_scripts() {
 	}
 	
 	elseif ( is_page('studio') ) {
-		wp_enqueue_style( 'ani', get_template_directory_uri() . '/css/animate.css');
+		//wp_enqueue_style( 'ani', get_template_directory_uri() . '/css/animate.css');
 		wp_enqueue_script('jquery', get_template_directory_uri() . '/js/jquery-2.1.1.min.js', array(), false, true);
 		wp_enqueue_script( 'modern', get_template_directory_uri() . '/js/modernizr.js', 'jquery', '', true );
 		wp_enqueue_script( 'boostrap', get_template_directory_uri() . '/js/bootstrap.min.js', 'jquery', '', true );
@@ -83,7 +83,7 @@ function dw_scripts() {
 	}
 	
 	elseif ( is_page('art') ) {
-		wp_enqueue_style( 'ani', get_template_directory_uri() . '/css/animate.css');
+		//wp_enqueue_style( 'ani', get_template_directory_uri() . '/css/animate.css');
 		wp_enqueue_script('jquery', get_template_directory_uri() . '/js/jquery-2.1.1.min.js', array(), false, true);
 		wp_enqueue_script( 'modern', get_template_directory_uri() . '/js/modernizr.js', 'jquery', '', true );
 		wp_enqueue_script( 'boostrap', get_template_directory_uri() . '/js/bootstrap.min.js', 'jquery', '', true );
@@ -117,7 +117,7 @@ function dw_scripts() {
 	elseif ( is_page('desk') || is_archive() || is_search() ) {	
 		global $wp_rewrite;
 		//wp_enqueue_script( 'jquery', get_template_directory_uri() . '/js/jquery-2.1.1.min.js', array(), false, true); //jquery dependents
-		wp_enqueue_style( 'ani', get_template_directory_uri() . '/css/animate.css');
+		//wp_enqueue_style( 'ani', get_template_directory_uri() . '/css/animate.css');
 		wp_enqueue_script('jquery', get_template_directory_uri() . '/js/jquery-2.1.1.min.js', array(), false, true);
 		wp_enqueue_script( 'modern', get_template_directory_uri() . '/js/modernizr.js', 'jquery', '', true );
 		wp_enqueue_script( 'boostrap', get_template_directory_uri() . '/js/bootstrap.min.js', 'jquery', '', true );

+ 1 - 2
gruntfile.js

@@ -13,8 +13,7 @@ module.exports = function(grunt) {
 		cssmin: {
 		  combine: {
 		    files: {
-		     'style.min.css': ['style.css', 'css/boot.css', 'css/font-awesome.css', 'css/fullcalendar.css', 'css/animate.css'],
-			  'css/style-o.min.css': ['css/style-o.css', 'css/boot.css'],
+		     'style.min.css': ['style.css', 'css/boot.css', 'css/fullcalendar.css', 'css/animate.css'],
 			  'css/front.min.css': ['css/front-page.css']
 		    }
 		  }

File diff suppressed because it is too large
+ 0 - 69
page-card.php


+ 1 - 1
page-chat.php

@@ -12,7 +12,7 @@
 <title>Chat | David A. Windham</title>
 <meta name="description" content="Chat | David A. Windham" />
 <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri();?>/css/front.min.css"/>
-<link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri();?>/css/message.css"/>
+<link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri();?>/css/chat.css"/>
 </head>
 <body>
 <div class="container card">

File diff suppressed because it is too large
+ 1 - 1
style.min.css