Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: skin/firstRun.css

Issue 8403145: First attempt at creating a first-run page (Closed)
Patch Set: Now with downscaling for smaller screens Created Oct. 1, 2012, 5:56 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« firstRun.js ('K') | « skin/facebook.png ('k') | skin/twitter.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skin/firstRun.css
===================================================================
new file mode 100644
--- /dev/null
+++ b/skin/firstRun.css
@@ -0,0 +1,149 @@
+body
+{
+ font-family: Arial, Helvetica, sans-serif;
+ font-size: 20px;
+ background: repeating-linear-gradient(0deg, #F8F6F5, #F6F4F2 50%, #FCFBF9);
+ background: -webkit-repeating-linear-gradient(0deg, #F5F4F3, #FAF9F8 50%, #F5F4F3);
+ background-size: 5px 5px;
+ max-width: 800px;
+ margin: auto;
+ line-height: 1.5;
+}
+
+h1
Felix Dahlke 2012/10/02 12:36:04 It looks a bit funny that the logo is centered but
+{
+ margin-top: 30px;
+ padding-top: 148px;
+ font-size: 250%;
+ font-weight: normal;
+ background-image: url(/icons/abp-128.png);
+ background-position: 50% 0%;
+ background-repeat: no-repeat;
+}
+
+#features > li
+{
+ margin-left: 50px;
+ list-style-image: url(/skin/checkmark.png);
+}
+
+#features
+{
+ margin: 40px 0px;
+}
+
+#share1,
+#share2
+{
+ display: none;
+}
+
+:root[share-variant="1"] #share1
Felix Dahlke 2012/10/02 12:36:04 You could merge this with the following rule.
+{
+ display: block;
+}
+
+:root[share-variant="2"] #share2
+{
+ display: block;
+}
+
+#share-text1
+{
+ margin-left: 200px;
+ fill: #FF0000;
+ font-family: Comic Sans MS;
+ font-weight: bold;
+}
+
+.share-image
+{
+ display: inline-block;
+ width: 64px;
+ height: 64px;
+}
+
+#share-images1 > .share-image
+{
+ position: relative;
+ left: 350px;
+ top: -40px;
+}
+
+#share2
+{
+ text-align: center;
+ font-size: 120%;
+ margin-top: 40px;
+}
+
+#share-images2
+{
+ display: inline-block;
+ box-shadow: 0 0 4px 3px #EEEEEE;
+ border-radius: 5px;
+ background: #FFFFFF;
+ padding: 10px 40px;
+ margin-bottom: 30px;
+}
+
+#share-images2 > *
+{
+ vertical-align: middle;
+}
+
+#share-donate
+{
+ display: inline-block;
+ font-style: italic;
+ font-weight: bold;
+ font-size: 12px;
+ text-decoration: none;
+ color: #003366;
+ border: 1px solid #FF9933;
+ border-radius: 10px;
+ padding: 2px 10px;
+ background-image: linear-gradient(0deg, #FFFDF8, #FEDE9E 60%, #FFAF34 65%, #FFEFD3);
Felix Dahlke 2012/10/02 12:36:04 I don't think this is necessary when the first-run
Wladimir Palant 2012/10/17 10:25:39 The expectation here is that Webkit will eventuall
+ background-image: -webkit-gradient(linear, center top, center bottom,
+ from(#FFFDF8), color-stop(60%, #FEDE9E), color-stop(65%, #FFAF34), to(#FFEFD3));
+}
+
+#share2-connection
+{
+ margin: 0px 20px;
+}
+
+.share-facebook
+{
+ background-image: url(/skin/facebook.png);
+}
+
+.share-twitter
+{
+ background-image: url(/skin/twitter.png);
+}
+
+/* Adjust font size on smaller screens */
+@media (max-height: 800px)
+{
+ body
+ {
+ font-size: 19px;
+ }
+}
+
+@media (max-height: 750px)
+{
+ body
+ {
+ font-size: 17px;
+ }
+}
+
+@media (max-height: 700px)
+{
+ body
+ {
+ font-size: 16px;
+ }
+}
« firstRun.js ('K') | « skin/facebook.png ('k') | skin/twitter.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld