Commit ea10d40cf41a37ba0face9ce5d7791cb77e7c811
Move shared css to a mcss mixin.
Gordon Martin committed on 1/2/2018, 4:54:47 PMParent: 04ed909259996b33de1dbd7bfdf406cef94b88dd
Files changed
styles/dark/profile-header.mcss | changed |
styles/dark/$distance-warning.mcss | added |
styles/light/profile-header.mcss | changed |
styles/light/$distance-warning.mcss | added |
styles/dark/profile-header.mcss | ||
---|---|---|
@@ -46,26 +46,9 @@ | ||
46 | 46 | } |
47 | 47 | } |
48 | 48 | } |
49 | 49 | -distanceWarning { |
50 | - padding: 8px; | |
51 | - border: 1px solid #ffba4e; | |
52 | - background: #5f410b; | |
53 | - margin: 5px 0; | |
54 | - color: #ffdda7; | |
55 | - font-size: 110% | |
56 | - | |
57 | - h1 { | |
58 | - font-size: 120% | |
59 | - font-weight: bold | |
60 | - margin: 0 | |
61 | - color: white | |
62 | - } | |
63 | - | |
64 | - p { | |
65 | - margin: 0 | |
66 | - margin-top: 8px | |
67 | - } | |
50 | + $distanceWarning | |
68 | 51 | } |
69 | 52 | |
70 | 53 | -blockWarning { |
71 | 54 | padding: 8px; |
styles/dark/$distance-warning.mcss | ||
---|---|---|
@@ -1,0 +1,20 @@ | ||
1 | +$distanceWarning { | |
2 | + padding: 8px; | |
3 | + border: 1px solid #ffba4e; | |
4 | + background: #5f410b; | |
5 | + margin: 5px 0; | |
6 | + color: #ffdda7; | |
7 | + font-size: 110% | |
8 | + | |
9 | + h1 { | |
10 | + font-size: 120% | |
11 | + font-weight: bold | |
12 | + margin: 0 | |
13 | + color: white | |
14 | + } | |
15 | + | |
16 | + p { | |
17 | + margin: 0 | |
18 | + margin-top: 8px | |
19 | + } | |
20 | +} |
styles/light/profile-header.mcss | ||
---|---|---|
@@ -49,26 +49,9 @@ | ||
49 | 49 | padding: 3px; |
50 | 50 | } |
51 | 51 | } |
52 | 52 | -distanceWarning { |
53 | - padding: 8px; | |
54 | - border: 1px solid #ffc965; | |
55 | - background: #ffebcc; | |
56 | - margin: 5px 0; | |
57 | - color: #8a6800; | |
58 | - font-size: 110% | |
59 | - | |
60 | - h1 { | |
61 | - font-size: 120% | |
62 | - font-weight: bold | |
63 | - margin: 0 | |
64 | - color: #583805 | |
65 | - } | |
66 | - | |
67 | - p { | |
68 | - margin: 0 | |
69 | - margin-top: 8px | |
70 | - } | |
53 | + $distanceWarning | |
71 | 54 | } |
72 | 55 | |
73 | 56 | -blockWarning { |
74 | 57 | padding: 8px; |
styles/light/$distance-warning.mcss | ||
---|---|---|
@@ -1,0 +1,20 @@ | ||
1 | +$distanceWarning { | |
2 | + padding: 8px; | |
3 | + border: 1px solid #ffc965; | |
4 | + background: #ffebcc; | |
5 | + margin: 5px 0; | |
6 | + color: #8a6800; | |
7 | + font-size: 110% | |
8 | + | |
9 | + h1 { | |
10 | + font-size: 120% | |
11 | + font-weight: bold | |
12 | + margin: 0 | |
13 | + color: #583805 | |
14 | + } | |
15 | + | |
16 | + p { | |
17 | + margin: 0 | |
18 | + margin-top: 8px | |
19 | + } | |
20 | +} |
Built with git-ssb-web