arco 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f309ed261570f257e221b24de154d9c7d9b0f2f443a73a25a88775ab4b83ef27
4
- data.tar.gz: 871b1fcc3c148d04d37ccd2daee45430ec53c169cdf8cd4fcfbfe03e67d5a876
3
+ metadata.gz: 950596d684e0df71c99cf94c3bc3343bcf72253c28bc48a043dcdff28d713e7f
4
+ data.tar.gz: 225370a870a575514cc0030c658b744732637d95757bc3eddd65a47ddec4a13d
5
5
  SHA512:
6
- metadata.gz: 1174e51ab1b86d2c54ce1ca29cf2d2032a5249bcbb5f0bd133f894b1e4eca76b7d21c3df181a170e94773b4552c94ca202c7b8f839991df6c35db6e21803ccd4
7
- data.tar.gz: 6a058386d888ec2ee6bc5f30deda5f863b662e66ab6165348fe03544d9e401c76b9153c41a801288196a432c3fad043b647efa54bd45ba1ee5e21c112516796e
6
+ metadata.gz: e6e2d9b3a5cd08bee1f3bac5c417f4cc423f2f484e65ae27fffcd368c30ab142afc9f54d5fd8029c9d447c9c4d1cd938e31873915d684b07c00673a45b9bb0a2
7
+ data.tar.gz: 76034597dca6c3388b8c316278cb253459a378f0d081e9952675bdc1b4d914cd97fc73d23554df9f81de70ebdbdd71494e6ac1b3a667c7bebb7339f513d86b8d
@@ -4,7 +4,7 @@
4
4
  <h1>{{ site.title }}</a></h1>
5
5
  <h6>{{ site.description }}</h6>
6
6
  </div>
7
- <div id="open-button-container" class="open-button-container">
8
- <a href="/projects/" class="open-button">See my projects</a>
7
+ <div class="open-button-container">
8
+ <a href="/projects/" id="open-button" class="button-dark">See my projects</a>
9
9
  </div>
10
10
  </section>
@@ -84,12 +84,9 @@ blockquote {
84
84
  padding: 0.5em 1em;
85
85
  }
86
86
 
87
- table, th, td {
88
- border: none;
89
- }
90
-
91
87
  .table {
92
88
  display: table;
89
+ border-collapse: collapse;
93
90
  }
94
91
 
95
92
  .table-cell {
@@ -114,14 +111,6 @@ table {
114
111
  > tr:nth-child(odd) {
115
112
  background-color: $table-background-colour;
116
113
  }
117
- > tr > td {
118
- border-radius: 0;
119
- }
120
- }
121
- &.centered {
122
- thead tr th, tbody tr td, tfoot tr td {
123
- text-align: center;
124
- }
125
114
  }
126
115
  }
127
116
 
@@ -130,7 +119,6 @@ td, th {
130
119
  display: table-cell;
131
120
  text-align: left;
132
121
  vertical-align: middle;
133
- border-radius: 2px;
134
122
  }
135
123
 
136
124
  li, ul {
@@ -0,0 +1,47 @@
1
+ @mixin button($background, $highlight) {
2
+ display: inline-block;
3
+ padding: 10px 25px;
4
+ border-radius: 5px;
5
+ transition: all .25s ease;
6
+ justify-content: center;
7
+ text-align: center;
8
+ border: 2px solid $background;
9
+ background-color: $background;
10
+ color: $highlight;
11
+ &:hover, &:focus {
12
+ background-color: $highlight;
13
+ color: $background;
14
+ }
15
+ }
16
+
17
+ .button-dark {
18
+ @include button(white, $sidebar-colour)
19
+ }
20
+
21
+ .button-dark-primary {
22
+ @include button($primary-highlight, $sidebar-colour)
23
+ }
24
+
25
+ .button-dark-secondary {
26
+ @include button($secondary-highlight, $sidebar-colour)
27
+ }
28
+
29
+ .button-dark-tertiary {
30
+ @include button($tertiary-highlight, $sidebar-colour)
31
+ }
32
+
33
+ .button-light {
34
+ @include button($sidebar-colour, white)
35
+ }
36
+
37
+ .button-light-primary {
38
+ @include button($primary-highlight, white)
39
+ }
40
+
41
+ .button-light-secondary {
42
+ @include button($secondary-highlight, white)
43
+ }
44
+
45
+ .button-light-tertiary {
46
+ @include button($tertiary-highlight, white)
47
+ }
@@ -19,22 +19,11 @@
19
19
  }
20
20
  }
21
21
 
22
- .open-button {
23
- height: 50px;
24
- width: 200px;
25
- border: 2px solid white;
26
- border-radius: 5px;
27
- transition: all .25s ease;
22
+ #open-button {
28
23
  display: flex;
29
24
  flex-direction: column;
30
25
  justify-content: center;
31
26
  text-align: center;
32
- background-color: $sidebar-colour;
33
- color: white;
34
- &:hover, &:focus {
35
- background-color: white;
36
- color: $sidebar-colour
37
- }
38
27
  }
39
28
 
40
29
  .open-button-container {
@@ -39,6 +39,7 @@ pre code {
39
39
 
40
40
  .highlight {
41
41
  margin: 0;
42
+ border-radius: 5px;
42
43
  pre {
43
44
  position: relative;
44
45
  }
@@ -9,4 +9,5 @@
9
9
  @import "post-list";
10
10
  @import "post";
11
11
  @import "normalize";
12
- @import "syntax-highlighting";
12
+ @import "syntax-highlighting";
13
+ @import "buttons";
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arco
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - meebuhs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-27 00:00:00.000000000 Z
11
+ date: 2020-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -46,6 +46,7 @@ files:
46
46
  - _layouts/resume.html
47
47
  - _sass/404.scss
48
48
  - _sass/arco.scss
49
+ - _sass/buttons.scss
49
50
  - _sass/constants.scss
50
51
  - _sass/cover.scss
51
52
  - _sass/fonts.scss