aboutsummaryrefslogtreecommitdiff
path: root/src/scss/style.scss
blob: d45ad56e2cb7562392032f435001e4f09fba7d54 (plain)
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
167
168
@use "abstracts/colors";
@use "abstracts/fonts";

@import "../../node_modules/bootstrap/scss/functions";
@import "../../node_modules/bootstrap/scss/variables";
@import "../../node_modules/bootstrap/scss/mixins";

$theme-colors: (
  "primary":    colors.$primary,
  "secondary":  colors.$secondary,
  "success":    colors.$success,
  "info":       $info,
  "warning":    $warning,
  "danger":     colors.$danger,
  "light":      $light,
  "dark":       $dark
);

$font-size-base: 0.75rem;

$h1-font-size:                $font-size-base * 2.5;
$h2-font-size:                $font-size-base * 2;
$h3-font-size:                $font-size-base * 1.75;
$h4-font-size:                $font-size-base * 1.4;
$h5-font-size:                $font-size-base * 1.125;
$h6-font-size:                $font-size-base;

$font-sizes: (
  1: $h1-font-size,
  2: $h2-font-size,
  3: $h3-font-size,
  4: $h4-font-size,
  5: $h5-font-size,
  6: $h6-font-size
);

$navbar-nav-link-padding-x: 0.5rem;

@import "../../node_modules/bootstrap/scss/utilities";
@import "../../node_modules/bootstrap/scss/utilities/api";
@import "../../node_modules/bootstrap/scss/nav";
@import "../../node_modules/bootstrap/scss/navbar";

$table-cell-padding-x: 1rem;
$table-cell-padding-y: 0.2rem;

$table-variants: (
  "primary":    shift-color($primary, $table-bg-scale),
  "secondary":  shift-color($secondary, $table-bg-scale),
  "success":    shift-color($success, $table-bg-scale),
  "info":       shift-color($info, $table-bg-scale),
  "warning":    shift-color($warning, $table-bg-scale),
  "danger":     shift-color($danger, $table-bg-scale),
  "light":      $light,
  "dark":       colors.$background,
);

@import "../../node_modules/bootstrap/scss/tables";

@import "../../node_modules/bootstrap/scss/containers";
@import "../../node_modules/bootstrap/scss/grid";

body {
	background-color: colors.$background;
	color: colors.$text;
	font-family: fonts.$primary;
}

ul {
    list-style-type: none;
	padding: 0;
}

li {
	margin-bottom: 25px;
	div {
		h2 {
			margin: 0px;
		}
	}
}

p {
	margin: 0px;
}

#title {
	font-family: fonts.$title;
	font-weight: 300;
	line-height: 0.6;
}

#about {
	font-weight: 300;
	padding-left: 1px;
}

#projects-search {
	align-items: center;
	form {
		display: flex;
		align-items: center;
		height: 35px;
		input[type=search] {
			margin-right: 15px;
		}
	}
}

#repos {
	margin-top: 25px;
}

.repo-last-updated {
	display: block;
	font-weight: 300;
	font-style: italic;
}

input[type=submit] {
	background-color: colors.$primary;
	color: colors.$text;
	font-size: 1rem;
	border: 0px;
	border-radius: 7px;
	padding: 8px 15px 8px 15px;
}

a {
	color: colors.$text;
	text-decoration: none;
	&:hover {
		color: colors.$primary-light;
	}
}

#back:hover {
	fill: colors.$primary-light;
}

#navbar {
	line-height: 0;
}

th {
	text-align: start;
}

@include media-breakpoint-down(sm) {
	.table > :not(caption) > * > * {
		padding: 0.5rem;
	}
}

@media (max-width: 1200px) {
	.fs-1 {
		font-size: calc(1.375rem + 0.667vw) !important;
	}
	.fs-2 {
		font-size: calc(1.325rem + 1.584vw) !important;
	}
	.fs-3 {
		font-size: calc(1.3rem + 0.017vw) !important;
	}
	.fs-4 {
		font-size: calc(0.75rem + 0.4vw) !important;
	}
}