There is no such thing as a "shared voltage".
That circuit is called "capacitive voltage divider". The capacitive voltage divider is usually seen dividing AC voltages, but can work as a DC voltage divider, too. When used as a DC voltage divider, it matters not only the capacitance of each capacitor, but the initial charge (voltage), too, leakage currents, etc. That is why a capacitive voltage divider for DC usually will have balancing resistors in parallel with each capacitor.
If no balancing resistors, both capacitors are ideal, and both are discharged initially, then the smaller capacitor will develop a higher voltage, because in series capacitors (no matter each capacitor's capacitance) can only charge with equal electric charges, \$Q_1 = Q_2 = Q\$. This is so because the current in a series circuit is always same \$I_1 = I_2 = I\$, and by definition \$I = \frac{Q}{t}\$, therefore \$Q_1 = I t \ and \ also \ Q_2 = I t\$.
Now to look at the voltages, by definition \[C = \frac{Q}{V}\] therefore \[V_1 = \frac{Q}{C_1},\ \ \ V_2 = \frac{Q}{C_2}\] So, if \$C_1 < C_2\$, then \$V_1 > V_2\$. The smallest capacitor will develop the higher voltage, with the ratio: \[\frac{V_1}{V_2} = \frac{C_2}{C_1}\]