-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
99 lines (95 loc) · 1.71 KB
/
style.css
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
90
91
92
93
94
95
96
97
98
99
/*
Theme Name: My Portfolio
Author: Matt Wiebe
Author URI: http://somadesign.ca/
Description: Display a Responsive Portfolio inside Twenty Eleven
License: license.txt (GPL v2)
Template: twentyeleven
*/
@import url(../twentyeleven/style.css);
p, dd {
-webkit-hyphens:auto;
-moz-hyphens:auto;
hyphens:auto;
}
.image-block {
max-width:1000px;
}
.single-sd_portfolio .hentry {
padding-top:0;
}
.portfolio-title {
font-weight: normal;
letter-spacing: .05em;
margin: 0 .5em;
text-transform: uppercase;
}
.portfolio-img {
max-width:100%;
height:auto;
display:block;
}
.portfolio-meta {
overflow:hidden;
padding:1em 0 0;
background-color:#111;
color:#ddd;
line-height:1.4;
}
.portfolio-meta dl {
float:left;
width:26.9%;
margin:0 3%;
}
.portfolio-meta dt {
border-bottom:1px solid #444;
margin-bottom:.333em;
}
.client-quote dd > p:first-child {
text-indent:-.333em;
}
/* Portfolio Archive */
.post-type-archive-sd_portfolio .hentry {
border-bottom:0 none;
}
.post-type-archive-sd_portfolio #main {
padding-bottom:1.625em;
}
.post-type-archive-sd_portfolio .flexslider h1 {
background-color:rgba(0,0,0,.5);
color:#eee;
position:absolute;
bottom:0;
left:0;
padding:0;
margin:0;
text-indent:1em;
width:100%;
}
/* Respond! */
/* iPad Portrait-ish (slightly beforehand) */
@media only screen and (max-width: 800px) {
.portfolio-meta dl {
width:43.9%;
}
.portfolio-meta .client-quote {
float:none;
width:auto;
}
.single-sd_portfolio .entry-content {
width:auto;
margin:0 2em;
}
}
/* iPhone Portrait and smaller */
@media only screen and (max-width:480px) {
.portfolio-meta dl {
float:none;
width:auto;
margin:0 1em;
}
.single-sd_portfolio .entry-content {
width:auto;
margin:0 1em;
}
}