git ssb

10+

Matt McKegg / patchwork



Commit ea10d40cf41a37ba0face9ce5d7791cb77e7c811

Move shared css to a mcss mixin.

Gordon Martin committed on 1/2/2018, 4:54:47 PM
Parent: 04ed909259996b33de1dbd7bfdf406cef94b88dd

Files changed

styles/dark/profile-header.mcsschanged
styles/dark/$distance-warning.mcssadded
styles/light/profile-header.mcsschanged
styles/light/$distance-warning.mcssadded
styles/dark/profile-header.mcssView
@@ -46,26 +46,9 @@
4646 }
4747 }
4848 }
4949 -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
6851 }
6952
7053 -blockWarning {
7154 padding: 8px;
styles/dark/$distance-warning.mcssView
@@ -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.mcssView
@@ -49,26 +49,9 @@
4949 padding: 3px;
5050 }
5151 }
5252 -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
7154 }
7255
7356 -blockWarning {
7457 padding: 8px;
styles/light/$distance-warning.mcssView
@@ -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