Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(544)

Side by Side Diff: src/site/scss/_tutorial.scss

Issue 19238002: mockup for tute front page refresh. With tabs. Huzzah (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: merge with master + optipng images Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* tutorial styles */ 1 /* tutorial styles */
2 2
3 #tutorial-side { 3 #tutorial-side {
4 width: 200px; 4 width: 200px;
5 position: fixed; 5 position: fixed;
6 top: 85px; 6 top: 129px;
7 } 7 }
8 8
9 /* Large desktop */ 9 /* Large desktop */
10 @media (min-width: 1200px) { 10 @media (min-width: 1200px) {
11 #tutorial-side { 11 #tutorial-side {
12 width: 258px; 12 width: 258px;
13 } 13 }
14 } 14 }
15 15
16 /* Portrait tablet to landscape and desktop */ 16 /* Portrait tablet to landscape and desktop */
17 @media (min-width: 768px) and (max-width: 979px) { 17 @media (min-width: 768px) and (max-width: 979px) {
18 #tutorial-side { 18 #tutorial-side {
19 width: 158px; 19 width: 158px;
20 } 20 }
21 } 21 }
22 22
23 /* Landscape phone to portrait tablet */ 23 /* Landscape phone to portrait tablet */
24 @media (max-width: 767px) { #tutorial-side {position: static; width:100%;} } 24 @media (max-width: 767px) { #tutorial-side {position: static; width:100%;} }
25 25
26 /* Landscape phones and down */ 26 /* Landscape phones and down */
27 @media (max-width: 480px) { #tutorial-side {position: static; width:100%;} } 27 @media (max-width: 480px) { #tutorial-side {position: static; width:100%;} }
28 28
29 29
30 30
31 /* DELETE ME: I think this isn't used anymore */
31 #tutorial-toc { 32 #tutorial-toc {
32 list-style-type: square; 33 list-style-type: square;
33 font-size: 9pt; 34 font-size: 9pt;
34 35
35 padding: 10px; 36 padding: 10px;
36 background-color: #DDFFDD; 37 background-color: #e6E6FA;
37 border-radius: 10px; 38 border-radius: 10px;
38 39
39 margin: 0px 0px 15px 0px; 40 margin: 0px 0px 15px 0px;
40 41
41 ul { 42 ul {
42 margin: 0px 0px 0px 15px; 43 margin: 0px 0px 0px 15px;
43 } 44 }
44 45
45 li { 46 li {
46 line-height: 120%; 47 line-height: 120%;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 /*$green-dark: #00D2B8;*/ 82 /*$green-dark: #00D2B8;*/
82 /*$green-light: #55DDCA;*/ 83 /*$green-light: #55DDCA;*/
83 84
84 } 85 }
85 86
86 #code-links { 87 #code-links {
87 list-style-type: square; 88 list-style-type: square;
88 font-size: 9pt; 89 font-size: 9pt;
89 90
90 padding: 10px; 91 padding: 10px;
91 background-color: #FFE4E1; 92 background-color: #DDFFDD;
92 border-radius: 10px; 93 border-radius: 10px;
93 line-height: 120%; 94 line-height: 120%;
94 95
95 margin: 10px 0px 15px 0px; 96 margin: 10px 0px 15px 0px;
96 97
97 p { 98 p {
98 font-size: 9pt; 99 font-size: 9pt;
99 line-height: 120%; 100 line-height: 120%;
100 } 101 }
101 102
(...skipping 28 matching lines...) Expand all
130 h3 { 131 h3 {
131 font-weight: bold; 132 font-weight: bold;
132 font-size: 16pt; 133 font-size: 16pt;
133 } 134 }
134 135
135 .icon-wrench { 136 .icon-wrench {
136 font-size: 24pt; 137 font-size: 24pt;
137 } 138 }
138 } 139 }
139 140
141 /* DELETE ME: this was used on front page to group Web UI targets */
140 #target-group { 142 #target-group {
141 background-color: #F5E2FF; 143 background-color: #F5E2FF;
142 border-radius: 10px; 144 border-radius: 10px;
143 border-width: 1px; 145 border-width: 1px;
144 margin: 15px 10px 15px 10px; 146 margin: 15px 10px 15px 10px;
145 padding: 10px; 147 padding: 10px;
146 148
147 h3 { 149 h3 {
148 font-weight: bold; 150 font-weight: bold;
149 font-size: 16pt; 151 font-size: 16pt;
150 } 152 }
151 153
152 .icon-wrench { 154 .icon-wrench {
153 font-size: 24pt; 155 font-size: 24pt;
154 } 156 }
155 } 157 }
156 158
157 .running-app-frame { 159 .running-app-frame {
158 border-style:solid; 160 border-style:solid;
159 border-width:1px; 161 border-width:1px;
160 border-radius:7px; 162 border-radius:7px;
161 background-color:WhiteSmoke; 163 background-color:WhiteSmoke;
162 padding:5px; 164 padding:5px;
163 } 165 }
166
167 .tute-tabs {
168 margin-top: 40px;
169 h4 {
170 margin-top: 20px;
171 }
172 }
173
174 .tute-target-title {
175 padding: 20px;
176 border-radius: 10px;
177 margin-bottom: 30px;
178
179 background-color: #D8ECFD; /* fallback color if gradients are not supported */
180 background-image: -webkit-linear-gradient(right, #D8ECFD, #DDFFDD, #e6E6FA); / * For Chrome and Safari */
181 background-image: -moz-linear-gradient(right, #D8ECFD, #DDFFDD, #e6E6FA); / * For old Fx (3.6 to 15) */
182 background-image: -ms-linear-gradient(right, #D8ECFD, #DDFFDD, #e6E6FA); / * For pre-releases of IE 10*/
183 background-image: -o-linear-gradient(right, #D8ECFD, #DDFFDD, #e6E6FA); / * For old Opera (11.1 to 12.0) */
184 background-image: linear-gradient(to right, #D8ECFD, #DDFFDD, #e6E6FA) ; /* Standard syntax; must be last */
185
186 h1 {
187 font-size: 56px;
188 }
189
190 h3 {
191 padding-top: 15px;
192 font-size: 28px;
193 }
194 }
OLDNEW
« no previous file with comments | « src/site/docs/tutorials/web-ui/index.markdown ('k') | src/tutorials/diagrams/get-started/banner.graffle/data.plist » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698