File tree Expand file tree Collapse file tree 8 files changed +72
-68
lines changed Expand file tree Collapse file tree 8 files changed +72
-68
lines changed Original file line number Diff line number Diff line change @@ -72,17 +72,16 @@ export default {
72
72
margin : auto ;
73
73
74
74
& __button {
75
- line-height : 48 px ;
75
+ line-height : 4 em ;
76
76
cursor : pointer ;
77
77
display : block ;
78
- width : 100vw ;
79
78
top : 0 ;
80
79
right : 0 ;
81
80
82
81
h2 {
83
82
margin : unset ;
84
83
text-align : right ;
85
- font-size : 108 px !important ;
84
+ font-size : $hacks-hamburger-size !important ;
86
85
}
87
86
}
88
87
@@ -92,14 +91,13 @@ export default {
92
91
list-style-type : none ;
93
92
display : block ;
94
93
margin : 15vh auto ;
95
- font-size : 72 px ;
94
+ font-size : $hacks-mobile-menu-text ;
96
95
}
97
96
98
97
a {
99
98
position : relative ;
100
99
text-decoration : none ;
101
100
font-weight : 900 ;
102
- size : 14px !important ;
103
101
color : $hacks-nav-inactive-color !important ;
104
102
font-size : $hacks-h2 ;
105
103
padding : 0.5em ;
@@ -113,8 +111,7 @@ export default {
113
111
& :not (.router-link-exact-active ) {
114
112
@keyframes focusin {
115
113
from {
116
- text-shadow : 3px 3px rgba ($color : red , $alpha : 0.4 ),
117
- -3px -3px rgba ($color : cyan , $alpha : 0.4 );
114
+ text-shadow : $hacks-three-dee ;
118
115
}
119
116
to {
120
117
text-shadow : unset ;
Original file line number Diff line number Diff line change 1
1
.hacks {
2
2
& -small-caps {
3
- font-size : $hacks-text ;
3
+ font-size : $hacks-small-caps-size ;
4
4
font-weight : $hacks-small-caps-weight ;
5
5
font-variant : small-caps ;
6
6
text-transform : lowercase ;
Original file line number Diff line number Diff line change 1
1
// Text
2
- $hacks-h1 : 48 px ;
3
- $hacks-h2 : 36 px ;
4
- $hacks-text : 24 px ;
2
+ $hacks-h1 : 3.6 em ;
3
+ $hacks-h2 : 2.4 em ;
4
+ $hacks-text : 1.8 em ;
5
5
$hacks-text-spacing : 2em ;
6
+ $hacks-small-caps-size : 2.2em ;
6
7
$hacks-small-caps-weight : 600 ;
8
+ $hacks-hamburger-size : 8em ;
9
+ $hacks-mobile-menu-text : em (72px );
7
10
8
11
$hacks-border : 5px dotted rgba (white , 0.5 );
12
+ $hacks-three-dee : 3px 3px
13
+ rgba (
14
+ $color : red ,
15
+ $alpha : 0.4 ,
16
+ ),
17
+ -3px -3px
18
+ rgba (
19
+ $color : cyan ,
20
+ $alpha : 0.4 ,
21
+ );
22
+ $hacks-title-three-dee : 2px 0px
23
+ rgba (
24
+ $color : red ,
25
+ $alpha : 0.4 ,
26
+ ),
27
+ -2px 0px rgba (
28
+ $color : cyan ,
29
+ $alpha : 0.4 ,
30
+ );
9
31
10
32
// Sizes
11
- $hacks-page-width : 981 px ;
33
+ $hacks-page-width : em ( 981 ) ;
12
34
$hacks-logo-size : 18em ;
13
35
$hacks-speech-size : 10em ;
14
36
Original file line number Diff line number Diff line change 16
16
is. Here are some that we think are memorable:
17
17
</p >
18
18
<ul >
19
- <li >
20
- Hacks is a place where cool people build cool stuff because it's cool
21
- </li >
19
+ <li >Hacks is a place where cool people build cool stuff because it's cool</li >
22
20
<li >Tech tastemakers</li >
23
21
<li >We sit around and watch train videos</li >
24
22
<li >Social club for nerds</li >
29
27
</ul >
30
28
<p >
31
29
If you want to add your own description come to a hacks meeting or email
32
- <a href =" mailto:eboard@nuhacks.io" >eboard@nuhacks.io</a >
30
+ <a
31
+ href =" mailto:eboard@nuhacks.io"
32
+ >eboard@nuhacks.io</a >
33
33
</p >
34
34
</section >
35
35
</template >
36
36
37
37
<script >
38
38
export default {
39
- name: " hacks-about" ,
39
+ name: " hacks-about"
40
40
};
41
41
</script >
42
42
@@ -66,7 +66,6 @@ export default {
66
66
67
67
li :before {
68
68
content : " ⮑" ;
69
- font-size : 18px ;
70
69
vertical-align : top ;
71
70
padding-right : 1em ;
72
71
}
Original file line number Diff line number Diff line change @@ -92,39 +92,39 @@ export default {
92
92
getUrl (key , user ) {
93
93
let url;
94
94
switch (key) {
95
- case " gitHub" :
96
- url = " https://github.com/" + user;
97
- break ;
98
- case " email" :
99
- url = " mailto:" + user;
100
- break ;
101
- case " linkedIn" :
102
- url = " https://linkedin.com/in/" + user;
103
- break ;
104
- default :
105
- url = user;
106
- break ;
95
+ case " gitHub" :
96
+ url = " https://github.com/" + user;
97
+ break ;
98
+ case " email" :
99
+ url = " mailto:" + user;
100
+ break ;
101
+ case " linkedIn" :
102
+ url = " https://linkedin.com/in/" + user;
103
+ break ;
104
+ default :
105
+ url = user;
106
+ break ;
107
107
}
108
108
return url;
109
109
},
110
110
getSrc (key ) {
111
111
let source;
112
112
switch (key) {
113
- case " website" :
114
- source = require (" ../assets/cursor.svg" );
115
- break ;
116
- case " gitHub" :
117
- source = require (" ../assets/GitHub-Mark-64px.png" );
118
- break ;
119
- case " email" :
120
- source = require (" ../assets/microsoft-outlook.svg" );
121
- break ;
122
- case " linkedIn" :
123
- source = require (" ../assets/linkedin.svg" );
124
- break ;
125
- default :
126
- source = null ;
127
- break ;
113
+ case " website" :
114
+ source = require (" ../assets/cursor.svg" );
115
+ break ;
116
+ case " gitHub" :
117
+ source = require (" ../assets/GitHub-Mark-64px.png" );
118
+ break ;
119
+ case " email" :
120
+ source = require (" ../assets/microsoft-outlook.svg" );
121
+ break ;
122
+ case " linkedIn" :
123
+ source = require (" ../assets/linkedin.svg" );
124
+ break ;
125
+ default :
126
+ source = null ;
127
+ break ;
128
128
}
129
129
return source;
130
130
},
@@ -145,7 +145,6 @@ export default {
145
145
146
146
& __position {
147
147
opacity : 0.7 ;
148
- width : 10em ;
149
148
word-wrap : break-word ;
150
149
}
151
150
Original file line number Diff line number Diff line change 17
17
</em >
18
18
</p >
19
19
20
- <div class = " hacks-homepage__email " >
20
+ <div >
21
21
<span class =" hacks-small-caps" >Questions?</span >
22
22
<p >Email us at eboard@nuhacks.io</p >
23
23
</div >
50
50
<hacks-button
51
51
link =" https://nuhacks.us4.list-manage.com/subscribe?u=cbcce83bcf3543d25bd103865&id=6c0da9d34e"
52
52
>
53
- <img src =" ../assets/mail.svg" />
53
+ <img src =" ../assets/mail.svg" />
54
54
<h3 >Mailing List</h3 >
55
55
</hacks-button >
56
56
<hacks-button
57
57
link =" https://join.slack.com/t/nuhacks/shared_invite/zt-fgvmdpo1-KzxoPn2ematExVMDKEK1zQ"
58
58
>
59
- <img src =" ../assets/slack-black.svg" >
59
+ <img src =" ../assets/slack-black.svg" / >
60
60
<h3 >Slack</h3 >
61
61
</hacks-button >
62
62
</div >
@@ -90,25 +90,21 @@ export default {
90
90
& __slogan {
91
91
width : 500px ;
92
92
line-height : $hacks-text-spacing ;
93
+ margin-right : 3em ;
93
94
94
- @media (max-width : 500px ) {
95
- width : 100% ;
95
+ @media (max-width : $hacks-page-width ) {
96
+ line-height : unset ;
97
+ margin : unset ;
96
98
}
97
99
}
98
100
99
- & __email {
100
- padding-left : 3em ;
101
- }
102
-
103
101
& __join {
104
102
font-weight : $hacks-small-caps-weight ;
105
- font-size : 36px !important ;
106
103
padding-left : 0.3em ;
107
104
}
108
105
109
106
& __title {
110
- text-shadow : 2px 0px rgba ($color : red , $alpha : 0.4 ),
111
- -2px 0px rgba ($color : cyan , $alpha : 0.4 );
107
+ text-shadow : $hacks-title-three-dee ;
112
108
color : rgba ($color : white , $alpha : 0.7 );
113
109
}
114
110
Original file line number Diff line number Diff line change @@ -90,14 +90,6 @@ export default {
90
90
flex-flow : row wrap ;
91
91
}
92
92
93
- & __ccs {
94
- display : block ;
95
- margin : auto ;
96
- color : $hacks-background-color ;
97
- font-size : 18px ;
98
- text-transform : uppercase ;
99
- }
100
-
101
93
& __member {
102
94
margin : 1em ;
103
95
margin-left : unset ;
@@ -121,7 +113,6 @@ export default {
121
113
content : " >" ;
122
114
padding-right : 1em ;
123
115
vertical-align : top ;
124
- font-size : 18px ;
125
116
}
126
117
}
127
118
}
You can’t perform that action at this time.
0 commit comments