summaryrefslogtreecommitdiffstats
path: root/sass/parts/_header.scss
blob: 488352527c6d8813776cae4639996c718aa26ed3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
header{
	height: 30px;
	padding: 30px 0;
	border-bottom: 1px solid $border;
	line-height: 30px;
	a{
		color: $font-main;
		@include transition(0.3s);
		&:hover{
			color: $main;
		}
	}
	h1{
		font-weight: 300;
		font-size: 30px;
	}
	nav{
		margin-left: 30px;
		ul{
			list-style: none;
			li{
				float: left;
				margin-left: 50px;
			}
			ul{
				display: none;
			}
		}
	}
	.search{
		input[type="text"]{
			background: #f2f2f2;
			color: #999;
			border: 1px solid $border;
			@include border-radius(15px);
			font: 13px $default;
			padding: 6px 15px;
			@include transition(0.3s);
			&:focus, &:active{
				background: #fff;
				border-top: 1px solid #ccc;
				color: $font-main;
			}
		}
	}
	.social{
		margin-right: 15px;
		a{
			@include border-radius(50%);
			display: inline-block;
			text-indent: -9999px;
			margin-right: 15px;
			opacity: 0.5;
			@include square(28px);
			@include transition(0.3s);
			&:hover{
				opacity: 1;
			}
			&:first-of-type{
				background: image-url('facebook.png') center no-repeat #3B5998;
				border: 1px solid #3B5998;
				&:hover{
					border: 1px solid darken(#3B5998, 10%);
				}
			}
			&:nth-of-type(2){
				background: image-url('google.png') center no-repeat #C83D20;
				border: 1px solid #C83D20;
				&:hover{
					border: 1px solid darken(#C83D20, 10%);
				}
			}
			&:nth-of-type(3){
				background: image-url('twitter.png') center no-repeat #55CFF8;
				border: 1px solid #55CFF8;
				&:hover{
					border: 1px solid darken(#55CFF8, 10%);
				}
			}
			&:last-of-type{
				background: image-url('rss.png') center no-repeat #EF7522;
				border: 1px solid #EF7522;
				&:hover{
					border: 1px solid darken(#EF7522, 10%);
				}
			}
		}
	}
}