Skip to content

Commit 2d5d227

Browse files
author
Fabian Morón Zirfas
committed
feature: Adds more style to the site
1 parent a99f28b commit 2d5d227

File tree

4 files changed

+80
-26
lines changed

4 files changed

+80
-26
lines changed

_source/_sass/_changelog.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
pre.changelog{
2+
font-family: 'Times New Roman', Times, serif;
3+
background-color: #fff !important;
4+
overflow-wrap: break-word;
5+
white-space: pre-wrap; /* css-3 */
6+
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
7+
white-space: -pre-wrap; /* Opera 4-6 */
8+
white-space: -o-pre-wrap; /* Opera 7 */
9+
word-wrap: break-word; /* Internet Explorer 5.5+ */
10+
line-height: 1.5em;
11+
12+
}

_source/_sass/_reference.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ $solidline: 1px solid $guidecolor;
1212
}
1313

1414
.reference-category {
15-
font-size: 1.3em !important;
15+
// font-size: 1.3em !important;
1616
}
1717

1818
.reference-subcategory {
19-
font-size: 1.1em !important;
19+
// font-size: 1.1em !important;
2020
margin-left: 0.6em;
2121
}
2222

@@ -25,7 +25,7 @@ $solidline: 1px solid $guidecolor;
2525
}
2626

2727
h1#new-cat-index {
28-
padding-top: 0.37em;
28+
// padding-top: 0.37em;
2929
}
3030

3131
.sub-category {
@@ -95,13 +95,13 @@ h1#new-cat-index {
9595
// min-height: 4.5em;
9696
// height: 4.5em;
9797
margin-top: 0.2em;
98-
font-size: 1.1em;
98+
// font-size: 1.1em;
9999
margin-bottom: 0;
100-
line-height: 1.25em;
100+
// line-height: 1.25em;
101101
code {
102102
padding: 0;
103103
vertical-align: bottom;
104-
font-size: 0.9em;
104+
// font-size: 0.9em;
105105
}
106106
}
107107

_source/_sass/_typescale.scss

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,32 @@
1-
2-
html {font-size: 1em;}
1+
html {font-size: 17px;}
32

43
body {
4+
background-color: white;
5+
font-weight: 400;
56
line-height: 1.45;
67
color: #333;
78
}
89

9-
p {margin-bottom: 1.3em;}
10+
p {margin-bottom: 1.25em;}
1011

11-
h1, h2, h3, h4 {
12-
margin: 1.414em 0 0.5em;
13-
font-weight: inherit;
14-
line-height: 1.2;
12+
h1, h2, h3, h4, h5 {
13+
margin: 2.75rem 0 1rem;
14+
font-weight: 700;
15+
line-height: 1.15;
1516
}
1617

1718
h1 {
1819
margin-top: 0;
19-
font-size: 3.157em;
20+
font-size: 1.802em;
2021
}
2122

22-
h2 {font-size: 2.369em;}
23+
h2 {font-size: 1.602em;}
24+
25+
h3 {font-size: 1.424em;}
26+
27+
h4 {font-size: 1.266em;}
2328

24-
h3 {font-size: 1.777em;}
29+
h5 {font-size: 1.125em;}
2530

26-
h4 {font-size: 1.333em;}
2731

28-
small, .font_small {font-size: 0.75em;}
32+
small, .text_small {font-size: 0.8em;}

_source/assets/css/styles.scss

Lines changed: 46 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $guideTwoColor: #FF4EFF;
2323
$phone: 750px;
2424

2525
body {
26-
font-size: 14px;
26+
// font-size: 14px;
2727
margin: 0 auto;
2828

2929
// font-size: 1.1em
@@ -32,6 +32,7 @@ body {
3232
background-image: url("/assets/images/stripe_c40ccfac0db9e43c48e95a530d787366.png");
3333
}
3434

35+
3536
.wrapper {
3637
position: relative;
3738
-webkit-box-sizing: border-box;
@@ -69,7 +70,7 @@ body {
6970

7071
.main-menu {
7172
li {
72-
margin-bottom: 10px;
73+
margin-bottom: 0.75em;
7374
height: 40px;
7475

7576
&.active {
@@ -112,6 +113,7 @@ body {
112113
}
113114

114115
.main {
116+
padding-top: 25px;
115117
width: 75%;
116118
float: left;
117119

@@ -139,11 +141,22 @@ body {
139141
margin: 0 auto 50px;
140142
}
141143

144+
#gallery-overview{
145+
display: flex;
146+
flex-wrap: wrap;
147+
align-content: flex-start;
148+
}
149+
.gallery-overview-item{
150+
max-width: 350px;
151+
margin-right: 1em;
152+
// flex-basis: 100px;
153+
flex-shrink: 0;
142154

143-
h1 {
144-
// &:first-child
145-
// display: none
146-
155+
}
156+
@include media($phone) {
157+
.gallery-overview-item{
158+
max-width: 100%;
159+
}
147160
}
148161

149162
h3 {
@@ -183,6 +196,7 @@ p {
183196
}
184197

185198
.fhnw-logo {
199+
padding-left: 25px;
186200
a {
187201
img {
188202
width: 125px;
@@ -473,13 +487,24 @@ $right-lines: 3;
473487
// Edits fabianmoronzirfas twitterlink
474488
// @Son Please merge this so we don't have
475489
// double definitions
476-
.tweet {}
490+
.tweet {
491+
.message, .tweettime{
492+
font-size: 14px;
493+
padding-left: 25px;
494+
495+
}
496+
.message, .tweettime, .twitter-link{
497+
margin-bottom: 0.75em;
498+
}
499+
500+
}
477501

478502
a.textgrow {
479503
padding-left: 25px;
480504
border: none;
481505
height: auto;
482506
display: inline-block;
507+
font-weight: 700;
483508

484509
span {
485510
position: relative;
@@ -489,7 +514,20 @@ a.textgrow {
489514
}
490515
}
491516

492-
@import "reference";
517+
.textshrink {
518+
text-decoration: none;
519+
border: none;
520+
height: auto;
521+
display: inline-block;
522+
font-weight: 700;
523+
span{
524+
// position: relative;
525+
// padding: 0px 4px;
526+
border-bottom: 1px solid $textColor;
527+
}
528+
}
529+
530+
@import "reference", "changelog";
493531

494532
// ------------------------
495533
// old basil css. Overwrite new settings

0 commit comments

Comments
 (0)