Skip to content

Instantly share code, notes, and snippets.

View rashanoureldin's full-sized avatar

Rasha Noureldin rashanoureldin

  • Egypt
View GitHub Profile
html body * span.clear,html body * div.clear,html body * li.clear,html body * dd.clear{background:none;border:0;clear:both;display:block;float:none;font-size:0;list-style:none;margin:0;padding:0;overflow:hidden;visibility:hidden;width:0;height:0}.clearfix:after{clear:both;content:'.';display:block;visibility:hidden;height:0}.clearfix{display:inline-block}* html .clearfix{height:1%}.clearfix{display:block}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outline:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-col
@rashanoureldin
rashanoureldin / block
Created July 16, 2012 12:12
search result list
<div class="result_list">
<div class="head_list">
<h2 class="list_title"><a href="#">Boston Market - Catering Restaurants</a></h2>
<span class="list_price"><a href="#">Price 100</a></span>
</div>
<div class="clear"></div>
<div class="result_info">
<p>9403 Garland Rd, Dallas, TX 75218 </p>
<p>9403 Garland Rd, Dallas, TX 75218 </p>
<p>9403 Garland Rd, Dallas, TX 75218 </p>
@rashanoureldin
rashanoureldin / function.php
Created July 7, 2012 15:16
portfolio function
<?php
add_action('init', 'project_custom_init');
/*-- Custom Post Init Begin --*/
function project_custom_init()
{
$labels = array(
'name' => _x('Projects', 'post type general name'),
'singular_name' => _x('Project', 'post type singular name'),
'add_new' => _x('Add New', 'project'),
@rashanoureldin
rashanoureldin / portfolio.php
Created July 6, 2012 17:27 — forked from mohammedibrahim/portfolio.php
portfolio-with-wordpress
<?php
/**
* Template Name: PORTFOLIO IDG
*
* …
*
* @package Thematic
* @subpackage Templates
*/
@rashanoureldin
rashanoureldin / portfolio.php
Created July 6, 2012 15:00
portfolio-with-wordpress
<?php
/**
* Template Name: PORTFOLIO IDG
*
* …
*
* @package Thematic
* @subpackage Templates
*/
/*-----------------------------------------------------------------------------------
Custom JS - All front-end jQuery
-----------------------------------------------------------------------------------*/
(function($){
$(document).ready(function() {
function portfolio_quicksand() {
@rashanoureldin
rashanoureldin / jquery.custom.js
Created July 1, 2012 09:21
portfolio-with-wordpress
/*-----------------------------------------------------------------------------------
Custom JS - All front-end jQuery
-----------------------------------------------------------------------------------*/
jQuery(document).ready(function() {
function portfolio_quicksand() {
@rashanoureldin
rashanoureldin / template-page-portfolio.php
Created June 30, 2012 17:35
portfolio-with-wordpress
<?php
/**
* Page Template
*
* …
*
* @package Thematic
* @subpackage Templates
*/
@rashanoureldin
rashanoureldin / function.php
Created June 30, 2012 17:34
portfolio-with-wordpress
<?php
/**
* Custom Child Theme Functions
*
* This file's parent directory can be moved to the wp-content/themes directory
* to allow this Child theme to be activated in the Appearance - Themes section of the WP-Admin.
*
* Included are a set of constants that can be defined to customize aspects of Thematic's
* functionality, as well as a sample function that will add a home link to your menu.
* "Uncomment" or add more to cusomize the functionality of your Child Theme.