diff --git a/frontpage/css/main.css b/frontpage/css/main.css index af87c85..db1b058 100644 --- a/frontpage/css/main.css +++ b/frontpage/css/main.css @@ -20,4 +20,57 @@ .fullcontainer h3 { margin-bottom: 30px; } +.box2 { + background: #EAEBEC; + position: relative; + width: 100%; } + +.fullc { + background: white; } + +body { + padding-top: 70px; } + +.btn-grey { + background-color: #D8D8D8; + color: #FFF; } + +.rating-block { + background-color: #FAFAFA; + border: 1px solid #EFEFEF; + padding: 15px 15px 20px 15px; + border-radius: 3px; } + +.bold { + font-weight: 700; } + +.padding-bottom-7 { + padding-bottom: 7px; } + +.review-block { + background-color: #FAFAFA; + border: 1px solid #EFEFEF; + padding: 15px; + border-radius: 3px; + margin-bottom: 15px; } + +.review-block-name { + font-size: 12px; + margin: 10px 0; } + +.review-block-date { + font-size: 12px; } + +.review-block-rate { + font-size: 13px; + margin-bottom: 15px; } + +.review-block-title { + font-size: 15px; + font-weight: 700; + margin-bottom: 10px; } + +.review-block-description { + font-size: 13px; } + /*# sourceMappingURL=main.css.map */ diff --git a/frontpage/css/main.css.map b/frontpage/css/main.css.map index 7b1673a..a548d4a 100644 --- a/frontpage/css/main.css.map +++ b/frontpage/css/main.css.map @@ -1,6 +1,6 @@ { "version": 3, -"mappings": "AAAA,IAAI;EACF,QAAQ,EAAE,QAAQ;EAClB,KAAK,EAAE,IAAI;EACX,UAAU,EAAE,0FAA0F;EACtG,KAAK,EAAE,IAAI;EACX,UAAU,EAAE,MAAM;EAClB,aAAa,EAAE,CAAC;EAChB,UAAU,EAAC,MAAM;;AAEnB,cAAe;EACb,OAAO,EAAE,IAAI;EACb,WAAW,EAAE,MAAM;EACnB,MAAM,EAAE,0BAA0B;EAClC,MAAM,EAAE,uBAAuB;EAC/B,MAAM,EAAE,kBAAkB;;AAE5B,iBAAiB;EACf,SAAS,EAAE,IAAI;;AAEjB,iBAAiB;EACf,aAAa,EAAE,IAAI", +"mappings": "AACA,IAAI;EACF,QAAQ,EAAE,QAAQ;EAClB,KAA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file": "main.css" diff --git a/frontpage/css/main.scss b/frontpage/css/main.scss index a186938..c9f83c7 100644 --- a/frontpage/css/main.scss +++ b/frontpage/css/main.scss @@ -1,3 +1,4 @@ +//Homepage .box{ position: relative; width: 100%; @@ -19,4 +20,65 @@ } .fullcontainer h3{ margin-bottom: 30px; +} + + + + +//Course page +.box2 { + background: #EAEBEC; + position: relative; + width: 100%; +} + +.fullc{ + background: white; +} + +body { + padding-top: 70px; +} +.btn-grey{ + background-color:#D8D8D8; + color:#FFF; +} +.rating-block{ + background-color:#FAFAFA; + border:1px solid #EFEFEF; + padding:15px 15px 20px 15px; + border-radius:3px; +} +.bold{ + font-weight:700; +} +.padding-bottom-7{ + padding-bottom:7px; +} + +.review-block{ + background-color:#FAFAFA; + border:1px solid #EFEFEF; + padding:15px; + border-radius:3px; + margin-bottom:15px; +} +.review-block-name{ + font-size:12px; + margin:10px 0; +} +.review-block-date{ + font-size:12px; +} +.review-block-rate{ + font-size:13px; + margin-bottom:15px; +} +.review-block-title{ + font-size:15px; + font-weight:700; + margin-bottom:10px; +} +.review-block-description{ + font-size:13px; } \ No newline at end of file diff --git a/frontpage/index.html b/frontpage/index.html index 2354f63..3b3b033 100644 --- a/frontpage/index.html +++ b/frontpage/index.html @@ -47,7 +47,7 @@ - + red diff --git a/frontpage/index2.html b/frontpage/index2.html new file mode 100644 index 0000000..6071c72 --- /dev/null +++ b/frontpage/index2.html @@ -0,0 +1,271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+

Software engineering and startups

+

Rijksuniversiteit Groningen

+
+
+
+
+
+
+

Average user rating

+

3 / 5

+ + + + + +
+
+
+

Rating breakdown

+
+
+
5
+
+
+
+
+ 80% Complete (danger) +
+
+
+
0
+
+
+
+
4
+
+
+
+
+ 80% Complete (danger) +
+
+
+
1
+
+
+
+
3
+
+
+
+
+ 80% Complete (danger) +
+
+
+
1
+
+
+
+
2
+
+
+
+
+ 80% Complete (danger) +
+
+
+
1
+
+
+
+
1
+
+
+
+
+ 80% Complete (danger) +
+
+
+
0
+
+
+
+ +
+
+
+
+
+
+ + +
January 29, 2016
1 day ago
+
+
+
+
+ + + + + +
+
Course review 3
+
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley
+
+
+
+
+
+ + +
January 29, 2016
1 day ago
+
+
+
+ + + + + +
+
Course review 2
+
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley
+
+
+
+
+
+ + +
January 29, 2016
1 day ago
+
+
+
+ + + + + +
+
Course review 1
+
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley
+
+
+
+
+
+ +
+ + + + + + + + + + + + diff --git a/frontpage/js/main.js b/frontpage/js/main.js index 8b13789..5c6ee9c 100644 --- a/frontpage/js/main.js +++ b/frontpage/js/main.js @@ -1 +1,9 @@ + +/* +$(document).ready(function() { + alert( $(".review-block-rate .glyphicon-star").length ); + alert($(".review-block-rate .btn-grey .glyphicon-star").length); +}); + +*/