-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomp.sass
166 lines (150 loc) · 2.85 KB
/
comp.sass
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
$orange: #f2994a
$blue: #2d9cdb
html, body, main
width: 100%
height: 100%
margin: 0
position: absolute
top: 0
font-family: 'Rubik'
.grid
padding: 20px
display: grid
grid-template-areas: 320px 180px
grid-template-columns: repeat(auto-fit, 320px)
grid-gap: 20px
justify-content: center
background-color: #efefef
.projects, .services
display: grid
grid-gap: 20px
justify-content: center
.services
grid-template-rows: 320px
grid-template-columns: repeat(auto-fit, 320px)
overflow-x: scroll
header
height: 45%
color: white
margin: 0
text-align: center
background: url('/assets/desktop.svg'), linear-gradient(rgba($blue, 0.75), rgba($orange, 0.75))
background-size: contain
background-repeat: no-repeat
background-position: center
// background-image: url("https://images.unsplash.com/photo-1484557052118-f32bd25b45b5"), url("https://images.unsplash.com/photo-1483058712412-4245e9b90334") center
header>div
&>h1, &>h2
text-align: center
&>a
color: white
text-decoration: none
.card
background-color: white
border-radius: 2px
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4)
height: 180px
width: 320px
margin: 0
display: block
position: relative
background-size: cover
color: black
.cardSquare
height: 320px
.cardTitle
margin: 0
font-family: 'Rubik'
text-align: center
font-size: 25px
.cardText
font-family: 'Rubik'
text-align: center
position: absolute
bottom: 0
width: 100%
.textIcon
height: 1em;
width: 1em;
top: .0625em;
position: relative;
.cardIcon > svg
width: 25px
height: 25px
.buttonIcon
height: 15px
width: 15px
fill: currentColor
display: inline-block
.buttons
top: 60%
position: relative
margin: 20px
display: grid
grid-template-columns: repeat(2, 150px)
grid-gap: 20px
justify-content: center
.button
height: 15px
background-color: white
vertical-align: middle
text-decoration: none
padding: 15px
border-radius: 2px
.nav
font-family: 'Rubik'
font-weight: bold
font-size: 25px
padding: 10px
text-transform: lowercase
overflow: auto
a
color: $orange
text-decoration: none
.navLogo
padding: 10px
float: left
span
color: $blue
.links
float: right
margin: 10px
a:nth-child(even)
color: $blue
.toggleMenu
margin: 10px
background-color: rgba(0,0,0,0)
border: 0
color: white
font-size: inherit
display: none
padding: 0
@media screen and (max-width: 786px)
.nav
height: 100%
padding: 0
.toggleMenu
display: inline-block
float: right
svg
display: inline-block
.links
top: 50px
padding: 25px 0
clear: both
float: none
display: grid
grid-template-rows: repeat(auto-fill,50px)
grid-template-columns: 100%
justify-content: center
background-color: white
margin: 0
position: absolute
min-height: calc(100% - 100px)
width: 100%
z-index: 2
overflow-x: hidden
a
display: block
padding: 7.5px
width: 100%