-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcontainer.php
134 lines (109 loc) · 2.36 KB
/
container.php
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<html>
<head>
<link rel="stylesheet" type="text/css" href="reset.css">
<script src="jquery.js"></script>
<script src="vertical-text-align.js"></script>
<style>
body {
background-color: #F5F6F7;
padding: 30px;
}
.container {
width: 350px;
margin-top: 30px;
position: relative;
}
h1 {
font-weight: bold;
}
.rounded {
border-radius: 4px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-o-border-radius: 4px;
-khtml-border-radius: 4px;
border-top-left-radius: 4px 4px;
border-top-right-radius: 4px 4px;
border-bottom-right-radius: 4px 4px;
border-bottom-left-radius: 4px 4px;
border: 1px solid;
-webkit-box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px;
-moz-box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px;
box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px;
border-color: #E5E5E5 #DBDBDB #D2D2D2;
background-color: white;
padding: 10px;
}
.vertical {
color: #555;
text-shadow: 1px 1px 1px #CCC;
text-transform: uppercase;
margin-bottom: -4px;
}
.vertical-container {
writing-mode:tb-rl;
filter: flipv fliph;
-webkit-transform:rotate(-90deg);
-moz-transform:rotate(-90deg);
-o-transform: rotate(-90deg);
white-space:nowrap;
display:block;
float: left;
-webkit-transform-origin-x: 0px;
-webkit-transform-origin-y: 100%;
-moz-transform-origin:0px 100%;
position: relative;
left: 1px;
border-bottom: 3px solid #555;
}
.rounded {
float: right;
}
.clearfix:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}
.clearfix {
display: inline-block;
}
html[xmlns] .clearfix {
display: block;
}
* html .clearfix {
height: 1%;
}
</style>
</head>
<div class="container clearfix">
<div class="vertical-container">
<h1 class="vertical">Something Longer</h1>
</div>
<div class="rounded">
<div class="content-container">
<h2>@DukeChronicle:</h2>
<p>
RT @fhi_duke: "Why Tell Stories?" Edwidge Danticat on power of testimony
in face of catastrophe http://bit.ly/gu4K8h Thanks @DukeChronicle!
</p>
</div>
</div>
</div>
<div class="container clearfix">
<div class="vertical-container">
<h1 class="vertical">News</h1>
</div>
<div class="rounded">
<div class="content-container">
<h2>@DukeChronicle:</h2>
<p>
RT @fhi_duke: "Why Tell Stories?" Edwidge Danticat on power of testimony
in face of catastrophe http://bit.ly/gu4K8h Thanks @DukeChronicle!
</p>
</div>
</div>
</div>
</html>