Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 6513fa4

Browse files
committed
Moved desktop styles into main scss files
1 parent 38ecb30 commit 6513fa4

9 files changed

+473
-479
lines changed

assets/css/directives/distribution-graph.desktop.scss

Lines changed: 0 additions & 103 deletions
This file was deleted.

assets/css/directives/distribution-graph.scss

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,108 @@
105105
}
106106
}
107107
}
108+
@media (min-width: 768px) {
109+
.graph-viewer {
110+
display: flex;
111+
flex-direction: row;
112+
align-items: flex-start;
113+
114+
.distribution-graph {
115+
116+
display: flex;
117+
flex-direction: row;
118+
justify-content: center;
119+
120+
.axis path,
121+
.axis line {
122+
fill: none;
123+
stroke: none;
124+
shape-rendering: crispEdges;
125+
}
126+
127+
128+
.grid .tick {
129+
stroke: white;
130+
opacity: 0.7;
131+
}
132+
133+
.grid path {
134+
stroke-width: 0;
135+
}
136+
137+
.axis text {
138+
font-family: sans-serif;
139+
font-size: 11px;
140+
}
141+
142+
rect.bar:hover {
143+
//fill: black;
144+
}
145+
146+
line.my-rating {
147+
pointer-effects: none;
148+
}
149+
150+
text.label {
151+
text-anchor: middle;
152+
font-family: sans-serif;
153+
font-size: 12px;
154+
fill: white;
155+
pointer-events: none;
156+
}
157+
158+
text.countryLabel {
159+
text-anchor: middle;
160+
font-family: sans-serif;
161+
font-size: 12px;
162+
fill: black;
163+
pointer-events: none;
164+
}
165+
166+
}
167+
.info-port {
168+
margin-left: 0px;
169+
background: #f6f6f6;
170+
height: 400px;
171+
width: 300px;
172+
.coders, .rating {
173+
width: 130px;
174+
height: 130px;
175+
background: #09affe;
176+
-moz-border-radius: 65px;
177+
-webkit-border-radius: 65px;
178+
border-radius: 65px;
179+
display: flex;
180+
flex-direction: column;
181+
justify-content: center;
182+
align-items: center;
183+
184+
.num {
185+
color: white;
186+
font-family: 'Sofia Pro';
187+
font-size: 35px;
188+
font-weight: bold;
189+
margin-bottom: 2px;
190+
}
191+
.label {
192+
font-family: 'Sofia Pro';
193+
font-size: 14px;
194+
font-weight: 200;
195+
color: white;
196+
}
197+
margin-bottom: 20px;
198+
}
199+
200+
.compare {
201+
color: #00aeff;
202+
background: #f6f6f6;
203+
border: 1px solid #00aeff;
204+
border-radius: 5px;
205+
font-family: 'Sofia Pro';
206+
font-size: 20px;
207+
line-height: 24px;
208+
padding: 8px;
209+
}
210+
}
211+
}
212+
}

assets/css/directives/history-graph.desktop.scss

Lines changed: 0 additions & 1 deletion
This file was deleted.

assets/css/directives/profile-widget.desktop.scss

Lines changed: 0 additions & 62 deletions
This file was deleted.

assets/css/directives/profile-widget.scss

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,65 @@
107107

108108
}
109109
}
110+
@media (min-width: 768px) {
111+
112+
.profile-widget-directive {
113+
flex-direction: row;
114+
justify-content: space-between;
115+
align-items: flex-start;
116+
padding-top: 30px;
117+
img.profile-circle {
118+
margin-top: 10px;
119+
width: 180px;
120+
height: 180px;
121+
}
122+
.info {
123+
margin-left: 15px;
124+
display: flex;
125+
flex-direction: column;
126+
flex-grow: 2;
127+
128+
h1.handle {
129+
margin: 0;
130+
font-size: 46px;
131+
line-height: 56px;
132+
}
133+
134+
h3.tenure {
135+
margin-top: 3px;
136+
}
137+
138+
h3.location-challenges {
139+
margin-top: 36px;
140+
}
141+
142+
p.description {
143+
margin-top: 12px;
144+
width: 361px;
145+
text-align: left;
146+
}
147+
148+
}
149+
.tracks-links {
150+
margin-top: -2.1px;
151+
.tracks {
152+
.track {
153+
img {
154+
height: 44px;
155+
}
156+
.text {
157+
margin-top: 8px;
158+
}
159+
}
160+
}
161+
hr {
162+
margin-bottom: 0;
163+
}
164+
165+
.links {
166+
margin-top: 20px;
167+
}
168+
}
169+
}
170+
171+
}

0 commit comments

Comments
 (0)