-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMyStyle.scss
119 lines (101 loc) · 2.32 KB
/
MyStyle.scss
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
$primary-color: #002b55;
$gradient-start: #87cfea;
$gradient-end: blue;
$text-color: #333;
$font-stack: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
$breakpoint: 768px;
body {
font-family: $font-stack;
color: $text-color;
}
.Profile-photo img{
width: 150px;
height: 150px;
border-radius: 50%;
margin-bottom: 10px;
}
.container {
display: flex;
flex-direction: column;
max-width: 360px;
margin: auto;
border: 1px solid #ddd;
background: #fff;
@media (min-width: $breakpoint) {
flex-direction: row;
max-width: 100%;
}
}
.sidebar {
background-image: linear-gradient(to bottom right, $gradient-start, $gradient-end);
color: #fff;
padding: 20px;
text-align: center;
h1 {
font-size: x-large;
margin: 10px;
}
.contact-info {
table {
width: 100%;
margin: 10px 0;
border-spacing: 0;
tr {
display: flex;
justify-content: space-between;
align-items: center;
margin: 5px 0;
td:first-child {
width: 20%;
text-align: left;
font-size: large;
}
td:last-child {
width: 80%;
text-align: left;
font-size: medium;
}
}
}
}
.skills {
list-style-type: none;
padding: 0;
margin-top: 10px;
li {
font-size: medium;
margin: 5px;
}
}
.links a {
display: inline-block;
color: #fff;
margin: 5px;
}
}
.main-content {
padding: 20px;
.about,
.education {
margin-bottom: 20px;
h2 {
color: $primary-color;
font-size: x-large;
}
}
p,
.education-item {
font-size: small;
line-height: 1.5;
margin-bottom: 15px;
}
.youtube-video {
align-items: center;
text-align: center;
iframe {
margin: auto;
display: block;
max-width: 100%;
}
}
}