diff --git a/app/assets/stylesheets/theme-selector.scss b/app/assets/stylesheets/theme-selector.scss index 6f99eb5b4..f39b1d288 100644 --- a/app/assets/stylesheets/theme-selector.scss +++ b/app/assets/stylesheets/theme-selector.scss @@ -137,6 +137,22 @@ .rich-selector--experience { cursor: pointer; position: relative; + .level_tag { + font-size: 1em; + text-align: center; + } + + @media screen and (max-width: 1100px) { + .level_tag { + font-size: 0.8em; + } + } + + @media screen and (max-width: 900px) { + .level_tag { + font-size: 0.5em; + } + } } .rich-selector-radio { diff --git a/app/helpers/settings_helper.rb b/app/helpers/settings_helper.rb new file mode 100644 index 000000000..38ec193fa --- /dev/null +++ b/app/helpers/settings_helper.rb @@ -0,0 +1,9 @@ +module SettingsHelper + def user_experience_labels + %w[Novice Beginner Mid-level Advanced Expert] + end + + def user_experience_levels + %w[1 3 5 8 10] + end +end diff --git a/app/views/users/_experience_selector.html.erb b/app/views/users/_experience_selector.html.erb index f1e9dae15..dc59ad154 100644 --- a/app/views/users/_experience_selector.html.erb +++ b/app/views/users/_experience_selector.html.erb @@ -1,4 +1,7 @@ diff --git a/app/views/users/_ux.html.erb b/app/views/users/_ux.html.erb index 975d4a6ad..ddced6d00 100644 --- a/app/views/users/_ux.html.erb +++ b/app/views/users/_ux.html.erb @@ -47,8 +47,8 @@
This will not be displayed on your profile or anywhere publicly. It helps gently determine what content you are shown along with tags you follow etc.