Mercurial > hg > nodescore
comparison www/p/css/theme/default.css @ 42:49c94f63b8b0
css for nexus 7 and associated files- archive m.a added - remove later
author | tzara <rc-web@kiben.net> |
---|---|
date | Tue, 04 Sep 2012 07:25:49 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
41:56767c69b7c4 | 42:49c94f63b8b0 |
---|---|
1 /** | |
2 * The default theme for reveal.js presentations. | |
3 * | |
4 * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se | |
5 */ | |
6 | |
7 /********************************************* | |
8 * FONT-FACE DEFINITIONS | |
9 *********************************************/ | |
10 | |
11 @font-face { | |
12 font-family: 'League Gothic'; | |
13 src: url('../../lib/font/league_gothic-webfont.eot'); | |
14 src: url('../../lib/font/league_gothic-webfont.eot?#iefix') format('embedded-opentype'), | |
15 url('../../lib/font/league_gothic-webfont.woff') format('woff'), | |
16 url('../../lib/font/league_gothic-webfont.ttf') format('truetype'), | |
17 url('../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular') format('svg'); | |
18 | |
19 font-weight: normal; | |
20 font-style: normal; | |
21 } | |
22 | |
23 | |
24 /********************************************* | |
25 * GLOBAL STYLES | |
26 *********************************************/ | |
27 | |
28 body { | |
29 font-family: 'Lato', Times, 'Times New Roman', serif; | |
30 font-size: 36px; | |
31 font-weight: 200; | |
32 letter-spacing: -0.02em; | |
33 color: #eee; | |
34 | |
35 background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPHJhZGlhbEdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY3g9IjUwJSIgY3k9IjUwJSIgcj0iNzUlIj4KICAgIDxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiM1NTVhNWYiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjMWMxZTIwIiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L3JhZGlhbEdyYWRpZW50PgogIDxyZWN0IHg9Ii01MCIgeT0iLTUwIiB3aWR0aD0iMTAxIiBoZWlnaHQ9IjEwMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); | |
36 background-color: #2b2b2b; | |
37 background: -moz-radial-gradient(center, ellipse cover, rgba(85,90,95,1) 0%, rgba(28,30,32,1) 100%); | |
38 background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(85,90,95,1)), color-stop(100%,rgba(28,30,32,1))); | |
39 background: -webkit-radial-gradient(center, ellipse cover, rgba(85,90,95,1) 0%,rgba(28,30,32,1) 100%); | |
40 background: -o-radial-gradient(center, ellipse cover, rgba(85,90,95,1) 0%,rgba(28,30,32,1) 100%); | |
41 background: -ms-radial-gradient(center, ellipse cover, rgba(85,90,95,1) 0%,rgba(28,30,32,1) 100%); | |
42 background: radial-gradient(center, ellipse cover, rgba(85,90,95,1) 0%,rgba(28,30,32,1) 100%); | |
43 } | |
44 | |
45 | |
46 /********************************************* | |
47 * HEADERS | |
48 *********************************************/ | |
49 | |
50 .reveal h1, | |
51 .reveal h2, | |
52 .reveal h3, | |
53 .reveal h4, | |
54 .reveal h5, | |
55 .reveal h6 { | |
56 margin: 0 0 20px 0; | |
57 color: #eee; | |
58 font-family: 'League Gothic', Impact, sans-serif; | |
59 line-height: 0.9em; | |
60 letter-spacing: 0.02em; | |
61 | |
62 text-transform: uppercase; | |
63 text-shadow: 0px 0px 6px rgba(0,0,0,0.2); | |
64 } | |
65 | |
66 .reveal h1 { | |
67 text-shadow: 0 1px 0 #ccc, | |
68 0 2px 0 #c9c9c9, | |
69 0 3px 0 #bbb, | |
70 0 4px 0 #b9b9b9, | |
71 0 5px 0 #aaa, | |
72 0 6px 1px rgba(0,0,0,.1), | |
73 0 0 5px rgba(0,0,0,.1), | |
74 0 1px 3px rgba(0,0,0,.3), | |
75 0 3px 5px rgba(0,0,0,.2), | |
76 0 5px 10px rgba(0,0,0,.25), | |
77 0 20px 20px rgba(0,0,0,.15); | |
78 } | |
79 | |
80 | |
81 /********************************************* | |
82 * LINKS | |
83 *********************************************/ | |
84 | |
85 .reveal a:not(.image) { | |
86 color: hsl(185, 85%, 50%); | |
87 text-decoration: none; | |
88 | |
89 -webkit-transition: color .15s ease; | |
90 -moz-transition: color .15s ease; | |
91 -ms-transition: color .15s ease; | |
92 -o-transition: color .15s ease; | |
93 transition: color .15s ease; | |
94 } | |
95 .reveal a:not(.image):hover { | |
96 color: hsl(185, 85%, 70%); | |
97 | |
98 text-shadow: none; | |
99 border: none; | |
100 border-radius: 2px; | |
101 } | |
102 | |
103 .reveal .roll span:after { | |
104 color: #fff; | |
105 background: hsl(185, 60%, 35%); | |
106 } | |
107 | |
108 | |
109 /********************************************* | |
110 * IMAGES | |
111 *********************************************/ | |
112 | |
113 .reveal section img { | |
114 margin: 30px 0 0 0; | |
115 background: rgba(255,255,255,0.12); | |
116 border: 4px solid #eee; | |
117 | |
118 -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); | |
119 -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); | |
120 box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); | |
121 | |
122 -webkit-transition: all .2s linear; | |
123 -moz-transition: all .2s linear; | |
124 -ms-transition: all .2s linear; | |
125 -o-transition: all .2s linear; | |
126 transition: all .2s linear; | |
127 } | |
128 | |
129 .reveal a:hover img { | |
130 background: rgba(255,255,255,0.2); | |
131 border-color: #13DAEC; | |
132 | |
133 -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); | |
134 -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); | |
135 box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); | |
136 } | |
137 | |
138 | |
139 /********************************************* | |
140 * NAVIGATION CONTROLS | |
141 *********************************************/ | |
142 | |
143 .reveal .controls a { | |
144 color: #fff; | |
145 } | |
146 .reveal .controls a.enabled { | |
147 color: hsl(185, 85%, 70%); | |
148 text-shadow: 0px 0px 2px hsla(185, 45%, 70%, 0.3); | |
149 } | |
150 | |
151 | |
152 /********************************************* | |
153 * PROGRESS BAR | |
154 *********************************************/ | |
155 | |
156 .reveal .progress { | |
157 background: rgba(0,0,0,0.2); | |
158 } | |
159 .reveal .progress span { | |
160 background: hsl(185, 85%, 50%); | |
161 | |
162 -webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); | |
163 -moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); | |
164 -ms-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); | |
165 -o-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); | |
166 transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); | |
167 } | |
168 | |
169 |