Skip to content

Commit

Permalink
Redo winter logo cause I didn't like how I added the dropshadow on th…
Browse files Browse the repository at this point in the history
…e text
  • Loading branch information
SamuelmdLow committed Dec 10, 2024
1 parent 387f082 commit 651e999
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 5 deletions.
17 changes: 15 additions & 2 deletions navigation/templates/navigation/headers/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,21 @@
<div class="u-container u-container--mid">
<div class="branding row">
<div class="middle">
<img class="top-logo light-logo" src="{% static 'ubyssey/images/logos/ubyssey-winter-2024-light.svg' %}" alt="The Ubyssey logo"/>
<img class="top-logo dark-logo" src="{% static 'ubyssey/images/logos/ubyssey-winter-2024-dark.svg' %}" alt="The Ubyssey logo"/>
<img src="{% static 'ubyssey/images/logos/winter-dingbat-2024.png' %}">
<svg class="top-logo" viewBox="0 0 8979 2202" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<path d="M2998.63 1031.16C2986.38 978.06 2972.09 944.377 2953.7 925.988C2936.35 907.599 2909.81 901.461 2850.59 901.461H2803.63V1384.42C2803.63 1471.2 2813.84 1477.34 2903.7 1484.49V1520.23H2570.81V1484.49C2656.57 1477.34 2666.78 1471.23 2666.78 1384.42V901.461H2632.07C2548.35 901.461 2529.96 912.706 2514.64 929.031C2498.32 946.388 2485.03 981.102 2471.75 1032.17H2435C2439.07 957.633 2445.21 883.098 2447.25 831H2471.75C2488.1 854.496 2501.36 856.533 2529.96 856.533H2940.45C2968.02 856.533 2982.31 850.421 2999.66 831H3024.16C3025.2 873.89 3030.3 963.745 3035.41 1029.1L2998.63 1031.16Z"/>
<path d="M3822.64 892.281C3743 899.425 3736.86 905.537 3736.86 992.35V1385.45C3736.86 1471.23 3745.04 1477.37 3822.64 1484.49V1520.23H3511.22V1484.49C3592.9 1477.34 3600.04 1470.2 3600.04 1384.42V1194.5H3321.3V1384.42C3321.3 1471.21 3329.45 1477.34 3405.01 1484.49V1520.23H3100.73V1484.49C3175.27 1477.34 3184.48 1471.23 3184.48 1384.42V992.35C3184.48 905.564 3175.29 899.425 3096.66 892.281V856.535H3402.97V892.281C3329.45 899.425 3321.3 905.537 3321.3 992.35V1142.45H3600.04V992.35C3600.04 905.564 3591.87 899.425 3516.3 892.281V856.535H3822.62L3822.64 892.281Z"/>
<path d="M4443.46 1350.76C4437.34 1396.7 4415.89 1489.62 4407.71 1520.26H3886.97V1484.52C3973.75 1477.37 3983.99 1471.26 3983.99 1384.45V992.35C3983.99 903.526 3973.78 898.42 3901.28 892.281V856.535H4382.2C4383.24 874.898 4388.34 946.39 4392.42 1009.71L4355.67 1014.81C4345.45 979.067 4332.17 945.385 4313.78 926.996C4296.42 908.607 4268.85 901.463 4211.67 901.463H4162.67C4124.89 901.463 4120.81 903.5 4120.81 937.209V1153.7H4189.21C4274.96 1153.7 4288.25 1148.59 4302.56 1077.1H4339.31V1283.35H4302.56C4288.25 1209.84 4276.02 1205.74 4189.21 1205.74H4120.81V1382.38C4120.81 1430.35 4124.89 1455.89 4145.32 1466.13C4163.68 1474.3 4198.39 1476.34 4237.21 1476.34C4289.28 1476.34 4326.03 1469.2 4350.53 1443.66C4369.93 1421.2 4388.32 1388.52 4407.71 1343.59L4443.46 1350.76Z"/>
<path d="M5414.51 892.281C5358.34 895.351 5332.83 916.783 5327.72 952.529C5322.62 984.174 5318.51 1021.96 5318.51 1094.46V1205.77C5318.51 1314.01 5302.19 1399.79 5245.01 1461.02C5198.05 1510.05 5128.62 1535.55 5056.12 1535.55C4988.73 1535.55 4924.41 1521.27 4875.38 1482.45C4817.17 1437.52 4790.63 1361.96 4790.63 1242.52V1002.56C4790.63 906.596 4780.42 899.425 4704.88 892.281V856.535H5012.22V892.281C4937.69 899.425 4927.48 906.596 4927.48 1002.56V1224.13C4927.48 1377.3 4982.62 1466.13 5092.87 1466.13C5214.37 1466.13 5267.47 1374.23 5267.47 1203.7V1094.46C5267.47 1021.96 5262.37 983.168 5257.26 952.529C5252.15 916.783 5227.65 896.356 5158.2 892.281V856.535H5414.51V892.281Z"/>
<path d="M5829.08 1163.86C5947.53 1178.15 6026.14 1226.14 6026.14 1323.14C6026.14 1391.54 5988.36 1444.64 5930.18 1476.31C5878.08 1505.92 5799.47 1520.23 5714.72 1520.23H5455.37V1484.49C5534 1477.34 5543.18 1470.2 5543.18 1383.41V993.355C5543.18 906.569 5534 899.425 5461.51 892.281V856.535H5759.67C5838.31 856.535 5889.32 866.748 5928.14 892.281C5965.92 916.783 5988.39 957.635 5988.39 1008.67C5988.39 1105.67 5902.6 1145.49 5829.1 1159.78L5829.08 1163.86ZM5701.46 1149.57C5799.49 1149.57 5843.39 1110.78 5843.39 1026.03C5843.39 934.14 5788.27 899.425 5733.11 899.425C5710.64 899.425 5693.29 905.537 5687.17 911.676C5680.03 918.82 5677.99 934.14 5677.99 955.572V1149.57H5701.46ZM5677.97 1381.35C5677.97 1456.92 5698.39 1478.35 5752.5 1477.34C5809.68 1476.31 5874.03 1434.43 5874.03 1334.39C5874.03 1239.42 5814.79 1190.42 5698.39 1190.42H5677.97V1381.35Z"/>
<path d="M6729.68 892.308C6664.32 899.452 6643.9 917.814 6607.15 978.088C6569.39 1038.34 6542.82 1082.26 6492.79 1178.2C6478.5 1205.77 6474.4 1217.01 6474.4 1248.66V1379.34C6474.4 1471.23 6482.6 1477.37 6573.46 1485.52V1520.23H6241.61V1485.52C6328.4 1478.38 6337.58 1471.23 6337.58 1379.34V1265.99C6337.58 1240.46 6333.48 1230.24 6324.32 1210.85C6296.75 1154.7 6258.97 1086.28 6197.72 979.067C6159.93 911.676 6142.58 900.431 6086.4 892.281V856.535H6378.46V892.281C6311.07 901.463 6312.07 914.745 6330.46 951.497C6366.18 1021.96 6407.04 1097.52 6446.86 1173.07C6476.46 1114.86 6528.54 1018.89 6553.04 956.603C6569.39 915.777 6568.36 902.495 6492.82 892.281V856.535H6729.7L6729.68 892.308Z"/>
<path d="M7123.8 1022.98C7102.35 958.66 7064.59 883.093 6980.85 883.093C6923.67 883.093 6881.81 925.983 6881.81 984.166C6881.81 1040.34 6918.59 1072.99 7008.44 1117.94C7115.65 1170.02 7189.18 1227.19 7189.18 1328.27C7189.18 1444.66 7090.12 1535.55 6941.08 1535.55C6904.3 1535.55 6868.58 1530.44 6837.94 1521.26C6809.34 1513.08 6789.94 1504.91 6775.66 1498.8C6766.45 1473.26 6753.19 1387.48 6746.05 1325.2L6781.79 1313.98C6802.22 1379.33 6862.47 1493.69 6960.47 1493.69C7022.76 1493.69 7062.58 1450.8 7062.58 1386.48C7062.58 1326.23 7017.65 1288.45 6941.08 1247.62C6835.9 1194.52 6763.4 1139.38 6763.4 1041.37C6763.4 929.052 6852.23 841.234 6997.22 841.234C7062.58 841.234 7120.76 861.661 7139.15 868.805C7143.23 906.588 7150.37 951.516 7158.54 1014.83L7123.8 1022.98Z"/>
<path d="M7639.47 1022.98C7618.04 958.66 7580.26 883.093 7496.54 883.093C7439.36 883.093 7397.48 925.983 7397.48 984.166C7397.48 1040.34 7434.26 1072.99 7524.08 1117.94C7631.3 1170.02 7704.83 1227.19 7704.83 1328.27C7704.83 1444.66 7605.79 1535.55 7456.72 1535.55C7419.94 1535.55 7384.22 1530.44 7353.58 1521.26C7324.98 1513.08 7305.61 1504.91 7291.3 1498.8C7282.12 1473.26 7268.81 1387.48 7261.69 1325.2L7297.41 1313.98C7317.84 1379.33 7378.08 1493.69 7476.09 1493.69C7538.37 1493.69 7578.19 1450.8 7578.19 1386.48C7578.19 1326.23 7533.27 1288.45 7456.69 1247.62C7351.49 1194.52 7279.02 1139.38 7279.02 1041.37C7279.02 929.052 7367.84 841.234 7512.84 841.234C7578.17 841.234 7636.4 861.661 7654.77 868.805C7658.84 906.588 7665.98 951.516 7674.16 1014.83L7639.47 1022.98Z"/>
<path d="M8308.29 1350.76C8302.15 1396.7 8280.72 1489.62 8272.55 1520.26H7751.81V1484.52C7838.59 1477.37 7848.8 1471.26 7848.8 1384.45V992.35C7848.8 903.526 7838.59 898.42 7766.12 892.281V856.535H8247.04C8248.04 874.898 8253.15 946.39 8257.25 1009.71L8220.5 1014.81C8210.29 979.067 8197.01 945.385 8178.62 926.996C8161.26 908.607 8133.69 901.463 8076.51 901.463H8027.51C7989.72 901.463 7985.65 903.5 7985.65 937.209V1153.7H8054.05C8139.8 1153.7 8153.11 1148.59 8167.37 1077.1H8204.12V1283.35H8167.37C8153.08 1209.84 8140.83 1205.74 8054.05 1205.74H7985.65V1382.38C7985.65 1430.35 7989.73 1455.89 8010.15 1466.13C8028.54 1474.3 8063.26 1476.34 8102.07 1476.34C8154.14 1476.34 8190.89 1469.2 8215.39 1443.66C8234.79 1421.2 8253.18 1388.52 8272.57 1343.59L8308.29 1350.76Z"/>
<path d="M8978.14 892.308C8912.78 899.452 8892.38 917.814 8855.6 978.088C8817.82 1038.34 8791.28 1082.26 8741.25 1178.2C8726.96 1205.77 8722.86 1217.01 8722.86 1248.66V1379.34C8722.86 1471.23 8731.03 1477.37 8821.92 1485.52V1520.23H8490.07V1485.52C8576.88 1478.38 8586.06 1471.23 8586.06 1379.34V1265.99C8586.06 1240.46 8581.99 1230.24 8572.78 1210.85C8545.21 1154.7 8507.43 1086.28 8446.18 979.067C8408.39 911.676 8391.03 900.431 8334.86 892.281V856.535H8626.89V892.281C8559.5 901.463 8560.51 914.745 8578.89 951.497C8614.64 1021.96 8655.49 1097.52 8695.29 1173.07C8724.9 1114.86 8776.97 1018.89 8801.49 956.603C8817.85 915.777 8816.81 902.495 8741.25 892.281V856.535H8978.14V892.308Z"/>
</svg>


</div>
<div class="right">
<p class="since-line">
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 14 additions & 3 deletions ubyssey/static_src/src/styles/modules/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@ header.main{
//margin-left: 2em;
max-width: 520px;
width: 100%;
.light-logo {
filter: drop-shadow(0 0 5px #1A6996);
img {
width: 125px;
position: absolute;
margin: 1em 1em 0 1em;
}
}
.right {
Expand Down Expand Up @@ -118,7 +120,7 @@ header.main{
margin: 0;
line-height: 60px;
}
img.top-logo {
img.top-logo, svg.top-logo {
width: 100%;
vertical-align: middle;
}
Expand Down Expand Up @@ -594,11 +596,20 @@ a.store-link {
.dark-logo {
display: none !important;
}
.main .middle img {
filter: drop-shadow(0 0 5px #1A6996);
}
.main .middle .top-logo {
fill: black;
}
}

[color-css-theme="dark"] {

.light-logo {
display: none !important;
}
.main .middle .top-logo {
fill: white;
}
}

0 comments on commit 651e999

Please sign in to comment.