summaryrefslogtreecommitdiffstats
path: root/app/stylesheets/web
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2021-07-05 14:24:03 +0200
committerAhmed Abdelhalim <[email protected]>2021-07-05 14:24:03 +0200
commit13f6a6fac32aad4bf6d3e2a18fb1615d6c41dab5 (patch)
treedc74b0e26ac9a655274d58b98427141f41b53cc2 /app/stylesheets/web
parent79c1ee1c608ce5761973d3353ad0da802d3f9645 (diff)
Refactor education section to use BEM naming
Diffstat (limited to 'app/stylesheets/web')
-rw-r--r--app/stylesheets/web/education.styl18
1 files changed, 9 insertions, 9 deletions
diff --git a/app/stylesheets/web/education.styl b/app/stylesheets/web/education.styl
index d6ea3a6..cf54f19 100644
--- a/app/stylesheets/web/education.styl
+++ b/app/stylesheets/web/education.styl
@@ -12,32 +12,32 @@
}
}
-.education__details__degree {
+.education__degree {
min-width: 100%
align-self: center
font-size: 1.1em
margin-bottom: 0
}
-.education__details__university
-.education__details__gpa
-.education__details__duration
-.education__details__location {
+.education__university
+.education__gpa
+.education__duration
+.education__location {
min-width: 50%
margin: 0
}
-.education__details__university {
+.education__university {
}
-.education__details__gpa {
+.education__gpa {
order: 3
@media screen and (max-width: 780px) {
order: 2
}
}
-.education__details__duration {
+.education__duration {
order: 2
text-align: right
align-self: flex-end
@@ -47,7 +47,7 @@
}
}
-.education__details__location {
+.education__location {
order: 4
text-align: right
align-self: flex-end